hi, i i wana to control simulink and using update with set_param with low-pass filter

1 Ansicht (letzte 30 Tage)
i have this error:
A change in parameters 'Numerator' and 'Denominator' for the transfer function block 'Maquette4FreinModifii/FILTRE_passe_haut' causes a structural change in the time domain realization of the transfer function. This is not allowed when the simulation is running.
Caused by: A change in the order of the denominator results in a change in the number of states in the time domain realization of the transfer function.
  1 Kommentar
Abdelhedi Riadh
Abdelhedi Riadh am 19 Jul. 2017
this command line work only for Gain variable from workspace and not variable low-pass filter from workspace. set_param('Maquette4FreinModifii','SimulationCommand','update')

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Block Libraries finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by