Why is the no evaluate selection button?

10 次查看(过去 30 天)
Snoopy
Snoopy 2018-11-19
编辑: Snoopy 2018-11-20
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?

回答(1 个)

madhan ravi
madhan ravi 2018-11-19
ctr+A %(->cmd in Mac)
ctr+enter
  2 个评论
madhan ravi
madhan ravi 2018-11-19
use section break in live editor to run a specific line
Snoopy
Snoopy 2018-11-19
编辑:Snoopy 2018-11-20
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by