Main Content
matlab.settings.mustBeStringScalar
Validate that setting value is a string scalar
Description
matlab.settings.mustBeStringScalar(
issues an error if settingvalue
)settingvalue
is not a string scalar. 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.
Examples
Input Arguments
Version History
Introduced in R2019b