Why is the no evaluate selection button?

Why is there no "evaluate selection" button in the Editor menu that one always has to use the mouse to evaluate a selection, or the fn+shift+F7 keyboard shortcut?

Answers (1)

ctr+A %(->cmd in Mac)
ctr+enter

2 Comments

use section break in live editor to run a specific line
Snoopy
Snoopy on 19 Nov 2018
Edited: Snoopy on 20 Nov 2018
No, I mean for evaluating only a line in script file. I do not use live script. So suppose on a line I have x = 1. To execute this command I highlight it and then right click on it with my mouse and select evaluate selection. Why is there no button in the Editor bar that allows me to execute this line of command only?

Sign in to comment.

Categories

Asked:

on 19 Nov 2018

Edited:

on 20 Nov 2018

Community Treasure Hunt

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

Start Hunting!