Display necessary function arguments

조회 수: 9 (최근 30일)
Tim Reuscher
Tim Reuscher 2018년 5월 8일
댓글: Ameer Hamza 2018년 5월 8일
Hello Everybody,
I have been using MATLAB for a while now and I'm continuously encountering the same problem:
When I start typing function arguments, e.g.:
surf(X,Y,
the editor suggests more necessary function arguments in a yellow box. As soon as i go back to different parts of my code, the box vanishes and does not reappear, when I continue to edit the function arguments. In Pycharm, there is a Hotkey (Ctrl+P) to show the box after going back to the function arguments. Is there something equivalent in MATLAB?

채택된 답변

Ameer Hamza
Ameer Hamza 2018년 5월 8일
편집: Ameer Hamza 2018년 5월 8일
In MATLAB live editor, you can press TAB key to make the list of arguments reappear after disappearing.
Edit: For regular script and command window you can use Ctrl + F1 to force the argument list to appear. If this shortcut is not already defined the go to Preferences > keyboard > shortcuts and search for function hint and set a shortcut key combination
  댓글 수: 4
Tim Reuscher
Tim Reuscher 2018년 5월 8일
weird... appears like a basic feature to me. I'll leave the question open 'till tomorrow to see, if someone else knows a trick
Ameer Hamza
Ameer Hamza 2018년 5월 8일
It is possible in regular editor and command window. Refer to my edited answer.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by