3
edits
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
---- | ---- | ||
Creating cell arrays requires comma separation. The following code generates a syntax error: | Creating cell arrays requires comma separation. The following code generates a syntax error: | ||
<nowiki>a = {'hi' 'there' 34;'doc' 'bye' {'now' 'harold'}}</nowiki> | <nowiki>a = {'hi' 'there' 34;'doc' 'bye' {'now' 'harold'}}</nowiki> | ||
but changing it to: | but changing it to: | ||
<nowiki>a = {'hi', 'there', 34;'doc', 'bye', {'now', 'harold'}}</nowiki> | <nowiki>a = {'hi', 'there', 34;'doc', 'bye', {'now', 'harold'}}</nowiki> | ||
works. | works. |
edits