20-sim webhelp > Library > Signal > Import Export > Matlab > dofrommatlab


DoFromMatlab

Navigation:  Library > Signal > Import Export > Matlab >

DoFromMatlab

Previous pageReturn to chapter overviewNext page

Library

Signal\Import Export\Matlab

Use

Domains: Continuous, Discrete. Size: 1-D. Allowed in: Block Diagrams.

Description

This submodel sends a command to the Matlab workspace during simulation, and gets the output signal from the Matlab workspace.

Interface

Outputs

Description

output

The variable from the Matlab workspace.

Parameters

 

command

Command string in Matlab format

name

Name of the variable inside the Matlab workspace.

Tip

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.