- Select *.m file text
- Right click
- Evaluate selection or hit F9
how to run selected text in 2012b editor?
32 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hal Caswell
am 11 Dez. 2012
Kommentiert: Sangjae
am 10 Aug. 2015
I've switched to 2012b and am struggling with the new interface. When writing code I often use the ability to highlight one or more lines of text and run them. I can't find any way to do that in the new version. Did the Mathworks make it go away? Anyone know where to find it?
(No, I don't want to define cells of text with the %% command every time I want to do this.)
0 Kommentare
Akzeptierte Antwort
Sean de Wolski
am 11 Dez. 2012
Bearbeitet: Sean de Wolski
am 11 Dez. 2012
isn't working?
If it isn't you'll have to go into Preferences->keyboard->shortcuts and turn it on; but it should be on by default.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Environment and Settings finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!