Info

この質問は閉じられています。 編集または回答するには再度開いてください。

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

1 回表示 (過去 30 日間)
Jacques
Jacques 2014 年 3 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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.

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by