Constant values Simulink from M-File?

Hello,
how i can set a constant value in the constant value block in Simulink from the M-File?

 Respuesta aceptada

Eeshan Mitra
Eeshan Mitra el 16 de Mayo de 2018

0 votos

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.

Más respuestas (0)

Etiquetas

Preguntada:

el 14 de Mayo de 2018

Respondida:

el 16 de Mayo de 2018

Community Treasure Hunt

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

Start Hunting!