Data from Matlab function in Simulink

Hi,
How can I send data from a Matlab function to a Simulink-Block ? I try this with "From Workspace"-Block and a global variable. However, the values are unfortunately not accepted. I have here perhaps a mistake?
Here I've put a picture of the relevant point "http://dl.dropbox.com/u/50805556/Unbenannt.bmp".
The screen will show the correct starting value(An array of 10 each). Then it is no longer updated.
Thank you for your help

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 21 de Jun. de 2012

2 votos

I think a better option would be to directly call your MATLAB function from the Simulink model. Use one of the three MATLAB Function blocks available.

La pregunta está cerrada.

Productos

Preguntada:

el 21 de Jun. de 2012

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by