![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194652/image.png)
How to set blocks' variables and parameters on a script and make them run in Simulink?
조회 수: 1 (최근 30일)
이전 댓글 표시
For example, I'm using the Simscape library; I have a thermal mass and I want its properties "mass" and "specific heat" to be called "m" and "sh", and set this values into a script. How can I do this?
댓글 수: 0
답변 (1개)
Arunkumar M
2018년 11월 10일
Define m and sh in workspace with defined values. Use m in mass field and sh in specific heat field.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194652/image.png)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 General Applications에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!