Code highlighting is erratic in app deisgner

1 view (last 30 days)
The code highlighting in the app designer 'code view' is erratic. See the attached screen capture. I am using MATLAB 2016b on MAC OS X El Capitan (10.11.5). I cannot roll back to 2016a as the editor is very slow and .mlapp files between 2016a and 2016b are not compatible. Is there a fix known for this?
Thanks,
Kapil

Accepted Answer

Chris Portal
Chris Portal on 8 Oct 2016
I believe this a rare issue that affects some apps when first loaded from 16a to 16b. While the syntax highlighting is off, the execution and code logic for your app is not affected. My suggestion would be to save the app under a different filename, then edit your code and re-run. I believe this will prevent the incorrect syntax highlighting from happening again. I've notified the development team as well to see if there is a different solution.
  2 Comments
Kapil Chauhan
Kapil Chauhan on 8 Oct 2016
Thanks Chris. I see this on two different computers and so far the only fix for me is to restart app designer. Not sure what might be causing this but I did transition the app from 16a to 16b.
Chris Portal
Chris Portal on 10 Oct 2016
Thanks for the update Kapil and workaround you've identified. I've passed it along to the team to help with their assessment of the issue.

Sign in to comment.

More Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!