How to detect Enable/Trigger/Function call subsystem ?
6 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Jan
2013 年 9 月 30 日
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?
採用された回答
Kaustubha Govind
2013 年 9 月 30 日
It should be:
en_ports = find_system(system_name, 'BlockType', 'EnablePort');
trig_ports = find_system(system_name, 'BlockType', 'TriggerPort');
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Subsystems についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!