How to get input and output names of a below subsystem?
11 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Is it possible to get names of inputs and outputs without going inside the subsystem using script?
Here inputs are coming from other subsystem/blocks and outputs are going to other subsystem/blocks.
expected input names : violet,indigo,blue,green
expected output names : yellow,red,white,black
Risposte (1)
Dhanashree Mohite
il 8 Apr 2019
As per my understanding you can use ‘find_system’ command with Blocktype and SearchDepth parameters.
>> find_system('modelName','SearchDepth',2,'BlockType','Inport')
>> find_system('modelName','SearchDepth',2,'BlockType','Outport')
Refer below link for more understanding:
0 Commenti
Vedere anche
Categorie
Scopri di più su Subsystems 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!