Signal\Import Export\Matlab
Domains: Continuous, Discrete. Size: 1-D. Allowed in: Block Diagrams.
This submodel sends the input signal to the Matlab workspace, sends the command to the workspace, and gets the output variable back. This is done during the 20-sim simulation.
Inputs |
Description |
input |
The variable for the Matlab workspace. |
Outputs |
|
output |
The variable from the Matlab workspace |
Parameters |
|
command |
Command string in Matlab format |
nameInput |
Name of the input variable in the Matlab workspace. |
nameOutput |
Name of the output variable in the Matlab workspace. |
20-sim uses a single quote ' for strings. If you wish to include a single quote inside the command string for Matlab, use 2 single quotes '' in the command string instead.