MATLAB Answers

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

1 view (last 30 days)
Abdelhedi Riadh
Abdelhedi Riadh on 19 Jul 2017
Commented: Abdelhedi Riadh on 19 Jul 2017
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 Comment
Abdelhedi Riadh
Abdelhedi Riadh on 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')

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!