Automatic generation of S function for a c code
1 回表示 (過去 30 日間)
古いコメントを表示
I have a C code and want generate S function for it using matlab scripting..(Avoid manual steps required for s function generation)..Can any one help me for this
0 件のコメント
採用された回答
Kaustubha Govind
2013 年 7 月 22 日
6 件のコメント
Kaustubha Govind
2013 年 9 月 9 日
Rupesh: Walter's question was about how you might invoke the C code from another C application and supply inputs. It seems to me that you have to rewrite your C code so that the inputs a and b are passed in as function argument and c as a return argument. Once you have done that, you can use the Legacy Code Tool to generate an S-function so that the block inputs are passed in to 'a' and 'b' and 'c' is assigned back to the block output.
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!