How can I enable the syntax for a function and the window for the workspace variables?
조회 수: 3 (최근 30일)
이전 댓글 표시
I was watching one of my colleague using Matlab and I noticed that when he writes a function, on the screen appears the syntax for that function (green arrow in the .jpg file attached), and also the name of the variables in a window (red arrow in the .jpg file attached). How can I enable this feature on my Matlab? Thanks for the help.
댓글 수: 0
채택된 답변
Walter Roberson
2023년 2월 6일
See https://www.mathworks.com/help/compiler/mcc.html#d124e20756 for a description of code suggestions.
For this to happen you might need Preferences -> Editor/Debugger -> Automatic Completions -> Suggestions and completions -> Show suggestions automatically
You might also be interested in https://www.mathworks.com/help/matlab/matlab_prog/customize-code-suggestions-and-completions.html which shows how to add code suggestions for functions that you yourself write.
댓글 수: 4
Walter Roberson
2023년 2월 8일
In R2021a, Preferences -> Keyboard -> MATLAB Keyboard Preferences . Then
- Command WIndow -> Enable function hints
- Editor -> Enable function hints
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!