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

3 views (last 30 days)
what is the difference between parameters and variables when custom a block in simscape

Answers (1)

Ayush
Ayush on 2 Jan 2024
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

Community Treasure Hunt

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

Start Hunting!