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

4 次查看(过去 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
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