simulink.compiler.modifyParameters
Description
simulink.compiler.modifyParameters(
tunes block parameters specified by an array of
modelName
,Vars
)Simulink.Simulation.Variables
objects Vars
at
simulation runtime via workspace variables. You can use
simulink.compiler.modifyParameters
to modify variables only during a
running simulation.
You can use simulink.compiler.modifyParameters
to tune any variables
that are returned by the simulink.compiler.getTunableVariables
function.
simulink.compiler.modifyParameters
is supported only for rapid
accelerator and deployment workflows.
You can use simulink.compiler.modifyParameters
only at simulation
runtime with one of the Simulink®
Compiler™ callback functions, simulink.compiler.setPostStepFcn
,
simulink.compiler.setExternalInputsFcn
or
simulink.compiler.setExternalOutputsFcn
.
Examples
Input Arguments
Version History
Introduced in R2021b