필터 지우기
필터 지우기

Problems applying custom keyboard shortcut for "New Function"

조회 수: 31 (최근 30일)
Kramer
Kramer 2024년 9월 6일 22:37
댓글: Kramer 2024년 9월 12일 17:07
Hello all, I customizing matlab for uni and I am trying to add a custom keyboard shortcut for "New Function" but it is not applying. The shortcut IS being saved in the preferences, but it is not activating when I input the keystrokes while working in the editor. And there are no conflicts with pre-existing shortcuts (see image)
I tried using the same keystroke "Ctrl+Shift+N" for another action "Save as" and the shortcut worked as expected. So it seems like the issue is isolated to the action "New Function"
I also did all the basic stuff like restarting matlab and my computer and the issue still persists.

답변 (1개)

Walter Roberson
Walter Roberson 2024년 9월 7일 7:55
notice that "tools with shortcut" is set to MATLAB Desktop. You will need to set that to include the editor if you want to use the shortcut in the editor.
  댓글 수: 3
Walter Roberson
Walter Roberson 2024년 9월 7일 22:01
Hmmm, there does not appear to be any way to do it. Activating "New Function" from the desktop does nothing (at least in R2024b pre-release), and it is not recognized in the editor. I think you are going to need to report a bug.
"New Example" works from the command window, creating a new LiveScript window... but you would think that it would also allow the shortcut in the editor.
Kramer
Kramer 2024년 9월 12일 17:07
Alright, Ive reported it, thank you.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Desktop에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by