MATLAB® uses a period for a decimal point, regardless of
the format specified by the user locale. For example, the value of
pi can be displayed as
depending on the format used by a locale. MATLAB always displays
The MATLAB language reserves the use of commas to the cases described in the Comma — , topic of the Programming Fundamentals Symbol Reference.