slValidateContextMenu
R2026bValidate and debug JSON files that define context menu customization
Since R2026a
Description
[
validates the isValid,errors] = slValidateContextMenu(filePath)extensions.json defining a context-menu customization.
filePath specifies the parent folder of the
resources folder containing the JSON file. The function returns a value
indicating whether the validation passed and error messages for any errors encountered
during validation. The parent folder must be on the MATLAB® path.
If the validation fails, debug the file by reading the error messages and checking the
file against the information in RichMenu
Extension.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2026a