How to import variable into a MATLAB function in Simulink without explicitly defining them?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Daniel
am 28 Dez. 2013
Beantwortet: Azzi Abdelmalek
am 28 Dez. 2013
I have variable predefined in workspace and my custom MATLAB block needs to
access them. I guess I could pass the variable explicitly, but that is just so ugly.
Any idea how to do this?
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 28 Dez. 2013
Use data store memory block http://www.mathworks.com/help/simulink/ug/using-global-data-with-the-matlab-function-block.html#bsdud7d-1
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!