app designer Code View seems to become 'Read only'

43 次查看(过去 30 天)
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 个评论
Cris LaPierre
Cris LaPierre 2021-1-8
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 2021-1-12
No warning messages. As a test i opened the mortage calculator example provided by matlab
and it does the same thing

请先登录,再进行评论。

回答(1 个)

Avinash
Avinash 2022-10-14
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

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by