What is the difference between 'none' and 'off' using find_system with 'LookUnderMasks' (MATLAB 2017b)?

조회 수: 4 (최근 30일)
What is the difference between the two following commands:
find_system(gcs, 'LookUnderMasks', 'none', 'FollowLinks', 'on')
find_system(gcs, 'LookUnderMasks', 'off', 'FollowLinks', 'on')
MATLAB Help says for both values "Search skips masked subsystems". I tried both commands and the behavior is different but I don't understand the difference with respect to the description in the MATLAB Help. The different behavior I see is that with 'none' the function doesn't search inside linked libraries in some cases but with 'off' it does.
Is there a more detailed description of the behavior of these two values? In some cases I see a difference but the MATLAB Help doesn't explain that difference.
I'm using MATLAB 2017b but in e.g. 2022b the description of these two values in the MATLAB Help is the same, too.
Thank you!
  댓글 수: 3
Amadeus Dieter
Amadeus Dieter 2023년 1월 27일
Thank you for your reply.
Yes, I know that "linked libraries" is actually determined by "FollowLinks". In my example above "FollowLinks" should be "on". I'm going to correct my original post.
Anyway, the described behavior is what I see. But maybe the different behavior doesn't originate from linked libraries and appears with normal subsystems, too. I have to test this.
But this will not answer the question of different behavior of "none" and "off".
Fangjun Jiang
Fangjun Jiang 2023년 1월 27일
"The different behavior I see is that with 'none' the function doesn't search inside linked libraries in some cases but with 'off' it does."
Can you provide an example to show the problem? 'none' or 'off' means the same for 'LookUnderMasks'.

댓글을 달려면 로그인하십시오.

답변 (1개)

Suman
Suman 2024년 9월 26일
The 'none' and 'off' are exactly the same for 'LookUnderMasks'. Similarly, 'all' and 'on' are also equivalent. In fact, in the later releases, the 'on' and 'off' have been replaced with 'all' and 'none' as mentioned here.

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by