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

1 次查看(过去 30 天)
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?

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2013-12-28

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by