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일

0 개 추천

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개)

질문:

2018년 5월 14일

답변:

2018년 5월 16일

Community Treasure Hunt

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

Start Hunting!