Project

General

Profile

Actions

Support Request #231

closed

Passing a string as a command line argument

Added by hidden about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Customer:
BOSCH
Department:
ENTWICKLUNG
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Windows 7 64bit
Topic:
MLSLBlockset::MAT2DAT
FAQ Links:

Description

Request

Use-Case: I want to send a string (path of a file) as a command line parameter for batch processing of some files in ADTF Environment.
  • In the ADTF Environment I am reading some .MAT files and process them.
  • String parameters allow me to send the path and name of the files that are needed to be read and processed (for batch processing).

Solution

To process .mat MATLAB files in ADTF you need to install the MLSLBlockset Toolbox and convert .MAT to .DAT files.
There is an example included which will help you: examples/MAT2DAT/Example_MAT2DAT.m
(MLSLBlockset Doc: 6.4 Creation of an ADTF DAT File and its related DDL file from MATLAB data)

It is not possible to extend the options which used for e.g. CMD: adtf_devenv.exe -YOUR_OPTION.

Actions

Also available in: Atom PDF