Simulink - 'MaskPortRotation' is read-only?

조회 수: 19 (최근 30일)
Tommi Meriläinen
Tommi Meriläinen 2023년 1월 24일
답변: Jonathan Agg 2023년 2월 22일
I try create a mask for a subsystem including input and output ports but saving gives an error "SubSystem block (mask) parameter 'MaskPortRotate' is read-only? What does it mean and how to proceed? What should I do to be able to save the mask?
  댓글 수: 2
Jonathan Agg
Jonathan Agg 2023년 2월 20일
Hi Tommi,
Which release do you see this error in?
Jonathan
Fangjun Jiang
Fangjun Jiang 2023년 2월 20일
R2022a. It is noted.

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

답변 (2개)

Fangjun Jiang
Fangjun Jiang 2023년 1월 25일
If it is read-only, then leave it alone. Don't try to set it.
  댓글 수: 2
Tommi Meriläinen
Tommi Meriläinen 2023년 1월 30일
Thanks, but I cannot save the mask I created because of the error. What should I do to be able to save the mask?
Fangjun Jiang
Fangjun Jiang 2023년 1월 30일
편집: Fangjun Jiang 2023년 1월 30일
Can you provide a simplified example model to show the problem?
Or at your Mask Editor dialog, click the "Icon" tab, set "Port Rotation" to "Default".

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


Jonathan Agg
Jonathan Agg 2023년 2월 22일
If it occurs again, as a workaround, can you copy the contents of your subsystem into a new subsystem, make a mask on that subsystem, and then replace the original subsystem with the new one? In 22a, the development team are aware of an issue with making masks on subsystems with flexible port placement (subsystems where you have dragged one of the ports around the subsystem boundary to move them), which has been resolved in later releases.

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by