How to disable mask editing in Simulink?

조회 수: 22 (최근 30일)
Mihir Tasgaonkar
Mihir Tasgaonkar 2022년 12월 5일
댓글: Samyuktha 2022년 12월 12일
Is it possible to disallow a user from editing the mask, i.e., disable the "Edit Mask" option? I know how to disallow the user from looking under the mask by setting the Mask Content visibility to off, and I want to do something similar for the Mask Editor.
Thanks in advance.

답변 (1개)

Samyuktha
Samyuktha 2022년 12월 12일
Hi Mihir,
You can clear the Enable option in the Dialog box of Property Editor in the Mask Editor, the selected control becomes unavailable for edit. Masked block users cannot set the value of the parameter. More details can be found in the following documentation link: Mask Editor Overview
  댓글 수: 2
Mihir Tasgaonkar
Mihir Tasgaonkar 2022년 12월 12일
편집: Mihir Tasgaonkar 2022년 12월 12일
Hi, I am aware of the Enable option in the Mask Editor. However, I wish to disable the user of my model from accessing the Mask Editor altogether. I want to know how that can be done.
Thanks.
Samyuktha
Samyuktha 2022년 12월 12일
Hi Mihir,
Access to the Mask Editor cannot be completely turned off. Using the Dynamic Mask Dialog, you can, however, disable a mask parameter or make a parameter invisible in the mask.

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

카테고리

Help CenterFile Exchange에서 Author Block Masks에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by