How do I assign the storage class of a test point with ert.tlc?
1 次查看(过去 30 天)
显示 更早的评论
采纳的回答
Debadipto
2023-8-4
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
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!