Why can't I see the "Trace Code" button in a MATLAB Coder code report?

조회 수: 5 (최근 30일)

I am using MATLAB Coder and would like to do interactive code tracing, so that I can see the generated C/C++ code next to the original MATLAB code.
I have selected the options "MATLAB source code as comments" and "MATLAB source code comment line numbers" when generating the code report. Still, I am not able to see the "Trace Code" button that I am expecting which would open a screen to compare codes side by side.
Why can't I see this "Trace Code" button?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2025년 5월 30일
The "Trace Code" button is a feature offered from the Embedded Coder toolbox. Without a license for Embedded Coder, it is expected behavior that this "Trace Code" button would be missing when using MATLAB Coder. The report generation options for "MATLAB source code as comments" and "MATLAB source code comment line numbers" are not coupled to the "Trace Code" button, and will work as expected with just a MATLAB Coder license.
For more information on interactive code tracing with the "Trace Code" button, refer to the MathWorks documentation on interactive tracing.  
For more information on Embedded Coder and the full list of features that it comes with, refer to the MathWorks product page on Embedded Coder.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by