Commas in rows 
ID | LAYOUT-9 |
Title | Use commas to separate elements in a row. |
Priority | Recommended |
Severity level | 9 |
Description | Use commas to separate elements in a row. Place the comma directly after the element. |
Rationale | This improves readability, especially in arrays of strings or character vectors. |
Avoid:
fig.Position = [0 1000 1.5 130];
saying = ['An apple a ' period ' keeps the doctor away.'];
Instead use:
fig.Position = [0, 1000, 1.5, 130];
saying = ['An apple a ', period, ' keeps the doctor away.'];