Access Code Generation Report Information Programmatically

8 Ansichten (letzte 30 Tage)
Kevin
Kevin am 5 Feb. 2026 um 19:00
If I run the following code in a MATLAB function. I will get the Code Generation Report Information in the variable 's' in base MATLAB workspace.
cfg = coder.config('lib', 'ecoder', true);
cfg.ReportInfoVarName = 's';
codegen(mfile, '-args', {ones(4,1)}, '-config', cfg, '-launchreport');
Can I get the information in the function workspace?

Antworten (0)

Kategorien

Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2025b

Community Treasure Hunt

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

Start Hunting!

Translated by