app designer Code View seems to become 'Read only'

60 views (last 30 days)
bill
bill on 8 Jan 2021
Answered: Avinash on 14 Oct 2022
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
Cris LaPierre
Cris LaPierre on 8 Jan 2021
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 on 12 Jan 2021
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)

Avinash
Avinash on 14 Oct 2022
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

Community Treasure Hunt

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

Start Hunting!