Validate that setting value is string array with one element
matlab.settings.mustBeStringScalar(
issues an error if settingvalue
)settingvalue
is not a string array with one
element. This function does not return a value.
This function ignores input arguments that are empty values. Therefore, no error is thrown when the setting value is empty.
matlab.settings.mustBeIntegerScalar
| matlab.settings.mustBeLogicalScalar
| matlab.settings.mustBeNumericScalar