Editor keeps highlighting in gray after running script

8 views (last 30 days)
Whenever I run a MATLAB script, when I click back on the 'Editor' or highlight text, it behaves differently then what I expect.
I am not able to make any edits to the script, all my highlights are gray, and I cannot copy/paste any highlighted text.
The only consistent method of getting the editor back to normal is to click on another window like the 'Current Folder' or 'Command Window' in order to remove the odd issue with gray highlighting.
I would like to disable this behavior if possible.

Answers (1)

Pranjal Kaura
Pranjal Kaura on 30 Dec 2021
Hey Jacob,
I'm not able to reproduce the issue on my end. Could you please share more details like your version of MATLAB and the exact reproduction steps to recreate the issue? Any screenshots and pictures would also help us address your issue quicker.
This link can be used to draft questions effectively. It will provide clarity to further help you.


Find more on Startup and Shutdown 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!

Translated by