Filter löschen
Filter löschen

initializing simulink parameters from simulink

1 Ansicht (letzte 30 Tage)
mado
mado am 20 Apr. 2013
i have simulink model and it has different know parameters which i should load it every time to workspace from matlab , is there any way to load those parameters file from simulink ?
  2 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 20 Apr. 2013
What do you mean?
mado
mado am 20 Apr. 2013
i have simulink model and it has parameters like coil and capacitor i want to load their values when i start simulink without need to go to load the file into workspace for example instal a button in simulink to push it to load them

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 20 Apr. 2013
You can use annotations
  2 Kommentare
mado
mado am 20 Apr. 2013
where to find annotation in simulink , i didn't get it yet
Azzi Abdelmalek
Azzi Abdelmalek am 20 Apr. 2013
In your simulink model, point your mouse on unoccupied area then write a text (for example data). Select this text then right click and choose annotations properties

Melden Sie sich an, um zu kommentieren.


Kaustubha Govind
Kaustubha Govind am 22 Apr. 2013
This is typically done in the PostLoadFcn callback of the model as described on this blog post.

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by