S-Function Builder - Problems in the compilation of routines in C.
6 ビュー (過去 30 日間)
古いコメントを表示
I am working on a simulation in Simulink using the S-Function Builder Block. I complete the programming, it compiles, and then Simulink automatically deletes the ______wrapper.c file.
In the Build Log, it informs me the following: Expression 'TMG100_Simulink_wrapper.c PSS2A_ini_function_sim main_TMG100_sim TMG100_2nd_order_signals_filter_sim TMG-100_First_order_signals_filter_sim TMG-100_Frequency_sim TMG100_TrueRMS_sim TMG-100_PSS2A_sim' for parameter 'SFunctionModules' in 'PSS_fmed_60Hz_3840Hz_C/TMS320F28335' cannot be evaluated.
In the folder where the routines included in the S-Function Builder block are located, I see, while Simulink is compiling, that it creates a .c file and the wrapper.c file and then deletes them.
What do I need to configure to fix this error?
Thank´s
0 件のコメント
回答 (1 件)
Saurabh
2024 年 12 月 16 日
To ensure the "S-function" block can locate the "_wrapper.c" file, you must specify it in the "S-function modules" field of the block.
For more details on the "S-function modules" field, please refer to the documentation link below.
参考
カテゴリ
Help Center および File Exchange で Block and Blockset Authoring についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!