what is the difference between parameters and variables when custom a block in simscape

Answers (1)

The difference between parameters and variables in simscape is as follows:
  • Parameters: Set before simulation and moslty remain constant during simulation. They are used to define the properties and configuration of the model.
  • Variables: Change during simulation and represent the system's dynamic response. They are solved by the Simscape solver based on the system's equations and initial conditions.
Thanks,
Ayush

Asked:

on 2 Jan 2024

Answered:

on 2 Jan 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!