Constant values Simulink from M-File?

조회 수: 2 (최근 30일)
Michael Simonovski
Michael Simonovski 2018년 5월 14일
답변: Eeshan Mitra 2018년 5월 16일
Hello,
how i can set a constant value in the constant value block in Simulink from the M-File?

채택된 답변

Eeshan Mitra
Eeshan Mitra 2018년 5월 16일
Hi Michael
You can use "set_param" to set the value of a constant block programmatically. You can check out this linked example from the documentation to see the implementation.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!