Disable figure generated code in Matlab R2023b

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?

 Respuesta aceptada

Adam Danz
Adam Danz el 15 de Feb. de 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 comentarios

I just tried switching back to the original desktop and the subwindow does not appear anymore as you said. However, I'd like to keep the new desktop as long as there is a way to have the 'Figure Generated Code' option disabled by default. Is it possible to do it or it can't be done at the current state of the beta desktop? Thank you.
Adam Danz
Adam Danz el 16 de Feb. de 2024
Thank you for giving the new desktop a whirl and sharing your feedback. At the moment, the beta desktop doesn't have an official switch to disable the subwindow by default. Note that this default behavior is limited to the R2023b beta desktop only.
Thank you for your answers, Adam. I think I'm gonna leave a suggestion for the Matlab Desktop team and mark this question as resolved. Thank you again.
Jeremy Berke
Jeremy Berke el 5 de Abr. de 2024
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 el 5 de Abr. de 2024
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Desktop en Centro de ayuda y File Exchange.

Productos

Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by