define parameter values for simscape model
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm playing around with the inverted pendulum simscape file that comes with MATLAB, but I notice some issues:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/754149/image.png)
All the parameters are defined symbolically. For example, the dimension of the pendulum is L,L/12,L/12. However, the simulation can run without me specifying the exact values for these parameters. (I'm only showing the screenshot of the plant---there is a PID control loop that wraps around it). Why is this the case? I'm so confused. The variables in my work space are literally cleared and empty
댓글 수: 0
채택된 답변
Sulaymon Eshkabilov
2021년 9월 30일
Note that all parameters of the examples are predefined (e.g. modelling - > model properties as callbacks) and initiated automatically while executing the model.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!