Karlo
Karlo

Reputation: 1708

Is it possible to use to set a parameter in Simulink without running a Matlab script?

When a Simulink model contains a parameter, its value can be set using a script.

For instance, a constant block could have the value a, and the script would then contain the expression a=2 to set its value.

Is it possible to set the parameter inside the Simulink model, without running a Matlab script?

For instance, the Simulink model could containa drop-down menu that alows you to set the value of the parameter.

Upvotes: 2

Views: 1194

Answers (1)

Karlo
Karlo

Reputation: 1708

Possible solutions include

  • Making your own GUI (see GUIDE)
  • Using masked subsystems
  • Using Simulink Dashboard blocks

Upvotes: 2

Related Questions