Access Lookup Table Data from MATLAB command line
Ältere Kommentare anzeigen
Hello,
I am trying to build a script to extract data from a model. In this case I need to extract data from Lookup tables.
Using find_system with 'BlockDialogParams' I can find all the referenced variables inside blocks, but I cannot know which ones they are. Namely in lookup tables, I would like to know which variable is X, Y, table, etc.
Is there a way to extract this information from the block via command?

Thanks in advance.
Akzeptierte Antwort
Weitere Antworten (1)
Fangjun Jiang
am 7 Mai 2019
1 Stimme
For example, set_param(FullBlockPath, 'Table','rand(5,5)');
web(fullfile(docroot, 'simulink/slref/block-specific-parameters.html#mw_bcbf0db9-99c3-49db-b165-cbaa8e19fa2d'))
3 Kommentare
João Araújo
am 8 Mai 2019
Fangjun Jiang
am 8 Mai 2019
get_param(FullBlockPath, 'Table')
João Araújo
am 10 Mai 2019
Kategorien
Mehr zu Lookup Tables finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!