Specify type of variable to allow tab completion
24 ビュー (過去 30 日間)
古いコメントを表示
Is there a way to indicate the type of a variable to the static analysis tool in Matlab to allow tab completion when coding?
This could be usefull when passing objects as an argument to a function.
2 件のコメント
Walter Roberson
2019 年 8 月 5 日
Would this be for the purpose of text to display in a pop-up hint? Or is the idea that the tab completion would examine all of the variables that are in scope and only list for completion those that have particular data types?
採用された回答
その他の回答 (1 件)
Chidvi Modala
2019 年 8 月 8 日
You can refer to Custom Code Suggestions and Completions
4 件のコメント
Ken Atwell
2019 年 10 月 28 日
@Adam: Exactly what you describe was added in R2019b -- see function argument validataion. Tab completion will use this information to try to make more targetted suggestions and completion.
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!