Matlab Simulink how to select elements by matlab script

조회 수: 1 (최근 30일)
Steve Oswald
Steve Oswald 2021년 11월 24일
Hello,
for code testing, I'd like to select elements of a matlab simulink model by matlab code.
I'd expect to get the (line) handle of the selected simulink item returned AFTER selecting the elements by script.
% * code to select constant1 block *
handle_of_constant1 = find_system(bdroot,'FindAll','on','Selected','on');
Thank you in advance!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Inputs에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by