Block IO Outport Code Generation

6 次查看(过去 30 天)
Anand Rangaramu
Anand Rangaramu 2013-5-3
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 个评论
Anand Rangaramu
Anand Rangaramu 2013-5-7
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 2013-5-7
Yes, that is what I was going to suggest. Could you explain what your ideal solution would be?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by