How to define functionSignatures.json for a subpackage?
조회 수: 5(최근 30일)
표시 이전 댓글
Oscar Xavier Guerrero Gutiérrez 2021년 1월 22일
편집: Oscar Xavier Guerrero Gutiérrez 2021년 1월 31일
I would like to use the function signatures mainly for autocompletion of the 'namevalue' argument options in the Command Window. My problem is that I tried to define the function signatures of a function that is in a subpackage and I get the message "Cannot diplay function hint. Cannot parse more than two levels of dot referencing". Heres an expamle of the structure of the package.
How or where should I define the functionSignatures.json file to be able to have the functionality I seek?
UPDATE: The autocompletion works as intended for namevalue arguments, it's just the function hint that isn't displayed that I'd like to know how to fix.
댓글 수: 0
Anmol Dhiman 2021년 1월 31일
I couldnot find any mistake with your code. I think may be there is some issue in json file.
Can you check it using validateFunctionSignatureJSON.
Attached is copy of example that I tried.
Hope it Helps
댓글 수: 1
Find more on Whos in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!