Borrar filtros
Borrar filtros

How to set parameters in Simulink outside of the Mask Initailize

2 visualizaciones (últimos 30 días)
Hans
Hans el 21 de Sept. de 2017
Respondida: Sebastian Castro el 22 de Sept. de 2017
I am trying to figure out a way to move my parameter constants into the Simulink Model space with appropriate blocks. Currently, the parameters are initialized in the Mask of the overall block. The function blocks that use specific parameters in their functions have them specified in the ports manager for each individual block.
Any ideas would be greatly appreciated!

Respuestas (1)

Sebastian Castro
Sebastian Castro el 22 de Sept. de 2017
How about the Model preload callback? The images in this blog are old, but things still work this way:
- Sebastian

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by