Simulink - 'MaskPortRotation' is read-only?
20 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Fangjun Jiang
2023-1-25
If it is read-only, then leave it alone. Don't try to set it.
2 个评论
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
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!