Block IO Outport Code Generation

6 Ansichten (letzte 30 Tage)
Anand Rangaramu
Anand Rangaramu am 3 Mai 2013
I have a s function with output port. The output of the port is stored as Block Signals (auto storage) and its defined by function \rtw\c\tlc\mw\commonhdr_blkiolib.tlc
How to change the output port character not to generate this temporary variable?
  3 Kommentare
Anand Rangaramu
Anand Rangaramu am 7 Mai 2013
I could change the behavior by adding below functions. Not the best solution but improved memory by lot
ssSetOutputPortReusable(S, 0, 1)
ssSetInputPortOverWritable(S, 0, 1);
Kaustubha Govind
Kaustubha Govind am 7 Mai 2013
Yes, that is what I was going to suggest. Could you explain what your ideal solution would be?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by