matlab Ctrl-R not working to running the program

23 ビュー (過去 30 日間)
Zeyuan
Zeyuan 2025 年 2 月 2 日 16:59
コメント済み: Cris LaPierre 2025 年 2 月 3 日 17:04
I wanted to update the preferences, especially the shortcut. So I wanted to change shortcut of comment to Alt-3 instead of Ctrl-R, and shortcut of running to Ctrl-R. But when I press Ctrl-R, it wouldn't run. Then, I tried to use F5 instead, and it was able to run. I first thought it was the Ctrl-R issue, so I change the comment back to Ctrl-R, but this time it worked, it was about to comment out the sentenses. So why is Ctrl-R not working for running the program.
  1 件のコメント
Zeyuan
Zeyuan 2025 年 2 月 2 日 16:59
release 24.1

サインインしてコメントする。

採用された回答

Cris LaPierre
Cris LaPierre 2025 年 2 月 2 日 17:22
I was able to set the keyboad shortcut for run or continue execution to CTRL+R. It worked, but only in a script. It does not appear possible to set custom keyboard shortcuts for a live script. I did have to unassign this as a shortcut for Comment.
  4 件のコメント
Zeyuan
Zeyuan 2025 年 2 月 3 日 16:29
版本 Windows 11 家庭中文版
版本号 23H2
安装日期 ‎8/‎11/‎2023
操作系统版本 22631.4751
序列号 INVALID
体验 Windows 功能体验包 1000.22700.1055.0
Cris LaPierre
Cris LaPierre 2025 年 2 月 3 日 17:04
I'm not sure, then. I'm also using Window 11 home. You are following all the correct steps, so I would suggest submitting a support request here: https://www.mathworks.com/support/contact_us.html

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by