Block to C-code highlighting in Simulink Embedded coder

조회 수: 3 (최근 30일)
Michael Zauner
Michael Zauner 2021년 4월 15일
Hi, I recently upgraded from Matlab 2020b to 2021a.
I noticed that the block to C-code highlighting stopped working after the upgrade, and I was wondering how I can re-enable this feature as it was quite helpful.
What I mean by 'block to C-code highlighting':
After you build your C-code from a Simulink model (either via the 'Deploy to Hardware' button or via the Embedded coder app) you can click on 'View Code' under the 'C Code' tab in Simulink. This will then open the exported C code on the right side of the Simulink window. If you now click on a block in Simulink, all parts of the code that are a result of this block will be highlighted.
See the attached screenshot for an example (running under Matlab 2020b):
After the upgrade to Matlab 2021a, and without changing any settings, the feature stopped working.
I have checked the relevant options under Settings (although they were not necessary under 2020a to have this feature), see the second screenshot:
Can anyone help me re-enable it?
With best regards, Michael.

답변 (0개)

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by