Filter löschen
Filter löschen

Constant values Simulink from M-File?

3 Ansichten (letzte 30 Tage)
Michael Simonovski
Michael Simonovski am 14 Mai 2018
Beantwortet: Eeshan Mitra am 16 Mai 2018
Hello,
how i can set a constant value in the constant value block in Simulink from the M-File?

Akzeptierte Antwort

Eeshan Mitra
Eeshan Mitra am 16 Mai 2018
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.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!