Info

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

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

5 vues (au cours des 30 derniers jours)
Ricardo Borges
Ricardo Borges le 22 Fév 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
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?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by