what is the difference between parameters and variables when custom a block in simscape
Show older comments
what is the difference between parameters and variables when custom a block in simscape
Answers (1)
Ayush
on 2 Jan 2024
0 votes
Hi @CoderMinga
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
Categories
Find more on Troubleshooting in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!