app designer Code View seems to become 'Read only'

In matlab 2019a the white area in Code View often won't allow me to edit. I hit Run and then save and maybe some of the other options
until it finally allows me to edit but is there some way keep it in edit mode? thanks

4 commentaires

Cris LaPierre
Cris LaPierre le 8 Jan 2021
Modifié(e) : Cris LaPierre le 8 Jan 2021
Does this happen in all of your apps, or just in one? In every computer you test it on, or just on a particular computer? What is this app doing?
bill
bill le 8 Jan 2021
I just started using app designer so i have only written a few test apps but it has happened in all cases.
I use matlab on a Linux network but I am always logged into the same machine.
This behavior does not seem to be normal to me. Do you get any warnings or error messages? Can you share one of the problematic apps here? You can attach it using the paperclip icon.
bill
bill le 12 Jan 2021
No warning messages. As a test i opened the mortage calculator example provided by matlab
and it does the same thing

Connectez-vous pour commenter.

Réponses (1)

Avinash
Avinash le 14 Oct 2022

0 votes

Hi Bill,
To edit the Code View for an app in “App Designer” you can add callbacks, functions or properties, this will create an editable block into a Code View, these blocks can be edited after saving the changes also. Code View can also be edited using “Code Browser” and “Component Browser”.
You can go through the following link of MATLAB Documentation page to know more about managing code using Code View:
Regards
Avinash

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Produits

Question posée :

le 8 Jan 2021

Community Treasure Hunt

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

Start Hunting!

Translated by