How to import variable into a MATLAB function in Simulink without explicitly defining them?

11 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 28 Dez. 2013

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by