The functionSignatures.json
file can be used in MATLAB to provide function signature help when writing code in the MATLAB editor.
To use the functionSignatures.json
file:
Locate the file in your MATLAB installation directory. On Windows, the file is typically located in the following directory:
main.m37 chars2 lines
In the MATLAB editor, select File > Preferences > MATLAB > Language > Code Suggestions.
In the Code Suggestions pane, select Custom function signature file and click Browse to navigate to the functionSignatures.json
file.
Click Apply and close the Preferences window.
Now, when you start typing a function name in the MATLAB editor, a tooltip with the function signature will appear to help you complete the function call.
Note that the functionSignatures.json
file is a JSON-formatted file that contains function signatures for a number of MATLAB functions. You can edit the file to add your own function signatures, or to modify existing signatures. However, be sure to make a backup of the file before making any changes.
gistlibby LogSnag