Simulink using MATLAB System block: is it possible to pre-process data?

I'm coding a MATLAB System object for implementation in Simulink. The function itsel is a simple datalogger.
For the implementation, I'm using some specific MATLAB code to get the name of the input signals for the System block (gcb, get_param, etc). But, these functions are not available for code generation. As I need this code running just to fill the signals names, I'm willing to know if there is a way for Simulink to 'pre-process' this code, set a property in the System Object, and then I could use this property in the generated code?

回答 (0 件)

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

質問済み:

2018 年 2 月 22 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by