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 Comments

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?
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.
No warning messages. As a test i opened the mortage calculator example provided by matlab
and it does the same thing

Sign in to comment.

Answers (1)

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

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Asked:

on 8 Jan 2021

Answered:

on 14 Oct 2022

Community Treasure Hunt

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

Start Hunting!