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 #1

Updated by hidden about 7 years ago

  • Project changed from Public Support to 5
  • Status changed from New to Customer Feedback Required

Hello Venkata Rama Prasad,

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.

You can use those .DAT files to create a DAT Playlist (ADTF Manual: 1.11 DAT Playlist) and process this list via CMD e.g.:

adtf_devenv.exe -project="c:\test.prj" -playlist="c:\example.datpls" 
-active="active_configuration" -run

Do have any further questions about this topic?

Actions #2

Updated by hidden about 7 years ago

  • Topic set to MLSLBlockset::MAT2DAT
Actions #3

Updated by hidden about 7 years ago

Support:

Please give us your feedback about this issue, otherwise we will close this ticket tomorrow (28.02.2017).

Actions #4

Updated by hidden about 7 years ago

  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Resolution set to Solved Issue

No Feedback, ticket can be closed.

@Florian, Ticket kann geschlossen werden.

Actions #5

Updated by hidden about 7 years ago

  • Status changed from To Be Closed to Closed
Actions #6

Updated by hidden over 6 years ago

  • Project changed from 5 to Public Support
  • Private changed from Yes to No
Actions

Also available in: Atom PDF