Display necessary function arguments
8 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
Ameer Hamza
on 8 May 2018
Edited: Ameer Hamza
on 8 May 2018
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 Comments
Ameer Hamza
on 8 May 2018
It is possible in regular editor and command window. Refer to my edited answer.
More Answers (0)
See Also
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!