Is it possible to open matlab function block editor code in the standard script editor?
Ältere Kommentare anzeigen
In older Matlab versions the code from simulink matlab function block would open in the script editor. This was very convenient, since you could have several scripts open in different tabs, and rapidly switch between them. I just tried Matlab 2021b for the first time and this functionality seems to be no longer available. The code from Matlab function blocks now seems to be edited in a dedicated script editor, which means I have to switch between windows instead of simply using the tabs in the script editor. Moreover, this new matlab function block editor seems to be ignoring the color scheme I set in the preferences, and has a white background while I have dark backgrounds in both the script editor and the workspace.
Is there any way to open the code in the old script editor?
Thanks.
1 Kommentar
Augustin Arrabie-Aubiès
am 26 Feb. 2025
When you are in debug and press F9 to evaluate a variable or just access the command window it is in another window... There must be a way, right ?
Having a loss of functionnality when upgrading versions feels bad.
Akzeptierte Antwort
Weitere Antworten (1)
One option is to right click at the block and choose Open in New Window.
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!