20-sim webhelp > Library > Signal > Import Export > Matlab > tomatlab-store


ToMatlab-Store

Navigation:  Library > Signal > Import Export > Matlab >

ToMatlab-Store

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 the input signal to the Matlab workspace and stores the input inside the Matlab workspace into a matrix. Each row of the matrix corresponds with a major simulation step, so the input is limited to a scalar or vector. Note: the name is set during the processing phase only.

Interface

Inputs

Description

input

The variable to send to the Matlab workspace.

Outputs

 

Parameters

 

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.