Borrar filtros
Borrar filtros

Simulink - 'MaskPortRotation' is read-only?

18 visualizaciones (últimos 30 días)
Tommi Meriläinen
Tommi Meriläinen el 24 de En. de 2023
Respondida: Jonathan Agg el 22 de Feb. de 2023
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 comentarios
Jonathan Agg
Jonathan Agg el 20 de Feb. de 2023
Hi Tommi,
Which release do you see this error in?
Jonathan
Fangjun Jiang
Fangjun Jiang el 20 de Feb. de 2023
R2022a. It is noted.

Iniciar sesión para comentar.

Respuestas (2)

Fangjun Jiang
Fangjun Jiang el 25 de En. de 2023
If it is read-only, then leave it alone. Don't try to set it.
  2 comentarios
Tommi Meriläinen
Tommi Meriläinen el 30 de En. de 2023
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 el 30 de En. de 2023
Editada: Fangjun Jiang el 30 de En. de 2023
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".

Iniciar sesión para comentar.


Jonathan Agg
Jonathan Agg el 22 de Feb. de 2023
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.

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by