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

6 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 28 de Dic. de 2013

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by