Borrar filtros
Borrar filtros

How can I make a Simulink block dialog box parameter change dynamically during simulation?

20 visualizaciones (últimos 30 días)
There are a couple of different Simulink blocks where this would be handy, but as a simple example take the Saturation block. Say I have the upper and lower saturation limits set to +/- some constant K in the block's dialog box. I would like to be able to dynamically change K elsewhere in the model. I want the system to behave as if K were a dynamically changing signal input to the Saturation block.
I realize that the Saturation block has very simple logic and that I could fairly easily create the behavior I want with my own subsystem or s-function, but for other applications it is not so simple. For instance, I would also like to have an RMS block (Simscape) which has a dynamically varying fundamental frequency parameter.

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 6 de Mayo de 2014

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by