How to pass structures and strings to Level-2 S-Function?

2 visualizaciones (últimos 30 días)
Ehsan na
Ehsan na el 20 de Nov. de 2014
Hello all,
I am pretty new to SIMULINK. I am trying to convert the code I have in matlab to simulink models. I create one level-2 S-Function for each of my matlab functions. How can I pass structures (which have non-numeric fields, function calls, etc) and strings from one Level-2 s-function to another level-2 s-function?
I tried Data Store Memory, but it seems it only supports numeric data types.
Thanks.

Respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by