[Simulink] Input value to update everywhere. How to?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, I am designing a system where I will give an input as a constant. That input is then used in many calculations. I want to have a system which I can design as such like when I change the value of constant box it should update everywhere I am using it.
Is there any way?
댓글 수: 0
채택된 답변
Ilham Hardy
2015년 4월 9일
Use variable names instead of constant value for your constant/input block, then assign a value to the variable from matlab editor/m.file.
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!