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