Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How can I get information about a simulink model from a C program

1 vue (au cours des 30 derniers jours)
Jacques
Jacques le 13 Mar 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hello, I would like to know how to get some information about a simulink model from a C program, like the block types and their connections to each other. Right now, I am using the Matlab functions find_system() and get_param(), and then using the matlab engine to get matlab variables to my C program.
But this approach is quite painful. for every bit of information I want, the approach is not exactly the same ,and there are many matlab data structures to take into consideration: mxArray, mxChar, cells, structs, etc... I need to figure out hpw to get every parameter's structure...
I would really appreciate if there would be an easiest way to get information about simulink objects.
Thanks.

Réponses (0)

Cette question est clôturée.

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by