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

4 visualizzazioni (ultimi 30 giorni)

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?

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 30 Mag 2025
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.

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Help Center e File Exchange

Prodotti


Release

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by