How do I assign the storage class of a test point with ert.tlc?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Taylor
am 13 Jul. 2023
Kommentiert: Taylor
am 23 Aug. 2023
Is it possible to modify ert.tlc to allow me to have all model test points get assigned to a storage class?
0 Kommentare
Akzeptierte Antwort
Debadipto
am 4 Aug. 2023
Hi Taylor,
You can check the following code snippet in order to assign all model test points to a storage class:
testPoints = find_system(model, 'BlockType', 'TestPoint');
% Assign storage class to each test point
storageClass = 'ExportedGlobal';
for i = 1:numel(testPoints)
set_param(testPoints{i}, 'StorageClass', storageClass);
end
Thanks & Regards,
Debadipto Biswas
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Embedded Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!