Disable figure generated code in Matlab R2023b

46 views (last 30 days)
I just updated from R2022a to R2023b and now whenever I zoom in a plot figure, a new subwindow opens with the title "Generated Code". I've been looking in the changelog and I think "Figure Code in MATLAB Online: Generate code from Property Inspector" is what is causing the trouble. I can see that I can disable it manually by clicking Figure->Show code (it is enabled by default). How can I have this property disabled by default for all the plots?

Accepted Answer

Adam Danz
Adam Danz on 15 Feb 2024
The subwindow you are describing only appears in the R2023b beta release found on the File Exchange. If you turn off the new desktop and revert back to the standard R2023b release, you won't see the subwindow appear.
  5 Comments
Jeremy Berke
Jeremy Berke on 5 Apr 2024 at 13:33
This happens in the 2024a release and is VERY ANNOYING! I just want to create a figure but the figure gets squished and this empty code generation is there WHICH I DO NOT WANT!
Adam Danz
Adam Danz on 5 Apr 2024 at 15:06
If anyone is seeing this behavior in the 24a general release, please contact tech support and include instructions how to reproduce the problem. Feel free to include the URL of this thread.

Sign in to comment.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!