matlab评估当前行(光标所在的位置)

matlab evaluate current line (where cursor is)

如何做与 F9 相同的操作,但不标记当前行(例如使用 shift+home,然后 F9)?

显然这纯粹是为了方便起见 - 但像 shift-F9 或 ctrl+F9 这样的东西会很酷吗?

如何创建快捷方式?任何高级用户都知道吗?

在 Matlab 中为键盘快捷键创建您自己的操作并非易事(您可以在首选项 -> 键盘 -> 快捷键中看到预定义的快捷键)。 Check this discussion for help though

或者,如果适合您,您可以轻松 select 一行,然后按 F9。要快速 select 一行,请选择以下步骤之一:

  1. triple click anywhere on the line

  2. click on the space between the break-point gutter and the start of the line

Mathworks link to selecting a whole line