How to detect Enable/Trigger/Function call subsystem ?

5 Ansichten (letzte 30 Tage)
Videet
Videet am 30 Sep. 2013
Kommentiert: Videet am 30 Sep. 2013
I am making small testing tool. In my work I need to detect Enable Port, Trigger Port and function call subsystems.
I tried the sentences like:
en_ports = find_system(system_name, 'BlockType', 'Enable Port');
trig_ports = find_system(system_name, 'BlockType', 'Trigger Port');
But this does not works..
My question is How to detect this kind of ports/subsystems using m script?
  1 Kommentar
Jan
Jan am 30 Sep. 2013
Whenever I read "does not work" in the forum, I need a more detailed explanation of what happens. Do you get an error message or do the results differ from your expectations?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 30 Sep. 2013
It should be:
en_ports = find_system(system_name, 'BlockType', 'EnablePort');
trig_ports = find_system(system_name, 'BlockType', 'TriggerPort');
  1 Kommentar
Videet
Videet am 30 Sep. 2013
Ya its working.. thank you.. Only one space was making it tough for me.. :O
What about function block? Do you have any idea for that ?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by