Replace terminator blocks with outports on a simulink model at all levels(recursive)

8 Ansichten (letzte 30 Tage)
Can someone help me writting a script in Matlab to replace terminator blocks with outports on a simulink model at all levels(recursive) ?
What i did until now:
fisiere = dir('*.mdl')
load_system(fisiere.name);
find_system(bdroot, 'BlockType', 'Terminator')
replBlks = replace_block(bdroot,'Terminator','Outport')

Antworten (1)

Abraham
Abraham am 22 Nov. 2017
up

Kategorien

Mehr zu Event Functions 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!

Translated by