How do I assign the storage class of a test point with ert.tlc?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Is it possible to modify ert.tlc to allow me to have all model test points get assigned to a storage class?
0 Commenti
Risposta accettata
Debadipto
il 4 Ago 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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!