Code Pane in Simulink Window post-Codegen

조회 수: 2 (최근 30일)
Jason Muller
Jason Muller 2021년 8월 20일
댓글: Jason Muller 2021년 8월 24일
I have a Simulink model that is set up to build executable binaries for running an external target. After recently upgrading from MATLAB 2016a to 2020b, every time I build, a new pane appears to the right of the Simulink window. This new pane is labeled "Code" and shows the auto-generated C-code.
Can anyone help figure out how to disable this pane from appearing? The pane takes a LONG time to populate; I can't use Simulink while it's populating; and it doesn't even begin appearing until after the codegen process has completed fully (aka after the cross-compilation is finished, after the target executable is made, and after the Simulink window returns to showing "Ready" at the bottom).
See image:

답변 (1개)

Rishik Ramena
Rishik Ramena 2021년 8월 24일
That code pane is a part of the Embedded Coder app. You can hide it by clicking the small cross icon on the top right of the pane. Although it does not affect the performance of Simulink or MATLAB, the unusability of Simulink during the code generation is the intended behaviour of the App.
  댓글 수: 1
Jason Muller
Jason Muller 2021년 8월 24일
Thank you Rishik, I appreciate you taking the time to respond, however my question is how to prevent this pane from appearing in the first place? Closing the pane with the cross icon makes it go away, but it comes right back the next time a build is initiated. Can it be prevented from appearing by changing some setting?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by