필터 지우기
필터 지우기

Cannot find unconnected line

조회 수: 45 (최근 30일)
Augusto Dufloth
Augusto Dufloth 2023년 8월 8일
댓글: Augusto Dufloth 2023년 8월 28일
Hi!
I'm getting a warning in my model that says:
Unconnected line found in 'model' (outside of current view)
I've already tried running the command
find_system(gcs,'FindAll','On','LookUnderMasks','All','IncludeCommented', 'on', 'Type', 'line', 'Connected', 'off');
But I get an empty return value.
If I click the link to the warning, it only highlights the top model (subsystem), but when you enter there's no highlight. The "outside of current view" I believe is a clue. But didn't find anything on google.
I searched the block inside out and can't find any unconnected line. Plus, if I just copy this block to a new blank model, I don't get any warnings.
Any help on this?
  댓글 수: 2
Ayush
Ayush 2023년 8월 21일
could you please share your model?
Augusto Dufloth
Augusto Dufloth 2023년 8월 28일
Sorry, I can't...

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

답변 (1개)

Ayush
Ayush 2023년 8월 23일
I understand that you are unable to find the connected block despite Simulink showing errors for the same. Also, you mentioned when the same model is copied to new blank model resolves the issues. This is usually because you essentially recreate the model structure in a clean environment. This process can help resolve the "unconnected block" error if it was caused by hidden issues or corruption within the original model. If the error no longer occurs, it indicates that the issue was likely related to the original model's structure or hidden corruption.
Thanks
Ayush Jaiswal
  댓글 수: 1
Augusto Dufloth
Augusto Dufloth 2023년 8월 28일
Will try this solution. Thanks!

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

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by