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.

Réponses (1)

Samyuktha
Samyuktha le 12 Déc 2022

0 votes

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 commentaires

Mihir Tasgaonkar
Mihir Tasgaonkar le 12 Déc 2022
Modifié(e) : Mihir Tasgaonkar le 12 Déc 2022
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 le 12 Déc 2022
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.

Connectez-vous pour commenter.

Catégories

Produits

Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by