Main Content
loadVariablesFromMATFile
Load variables from MAT file into Simulink.SimulationInput
object
Syntax
Description
simIn = loadVariablesFromMATFile(
loads variables from the MAT file simIn
,filename
)filename
into the
Variables
property of the Simulink.SimulationInput
simIn
.
simIn = loadVariablesFromMATFile(
loads variables from the MAT file simIn
,filename
,'Append
', 'on')filename
into the
Variables
property of the Simulink.SimulationInput
simIn
, while adding to the existing variables in the
Variables
property instead of replacing them.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017a