getInputString
Create comma-separated list of variables to map
Syntax
Description
creates
an input character vector using the supplied mapping externalInputString
= getInputString(inputmap
,'base')inputmap
and
the variables loaded in the base workspace ('base'
).
This function generates a comma-separated list of variables (input character vector) to be mapped. You can then use this list:
As input to the
sim
command. Load the variables in the base workspace first.As input for the Configuration Parameters > Data Import/Export > Input parameter. Copy the contents of the input character vector into the text field.
This function is most useful if you have created a custom mapping.
creates
an input character vector using the supplied mapping externalInputString
= getInputString(inputmap
,filename
)inputmap
and
the variables defined in filename
.
creates
an input character vector using the signals from the most recently
created mapping.externalInputString
= getInputString(inputmap
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2013a