Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Why is 'cp_2-feb-2016_1' invalid string in MATLAB?
1 回表示 (過去 30 日間)
古いコメントを表示
Why is 'cp_2-feb-2016_1' invalid string in MATLAB? I get:
>> cp_2-feb-2016_1
cp_2-feb-2016_1
↑
Error: The input character is not valid in MATLAB statements or
expressions.
where can I even read docs or how would/should I have googled/searched for this error?
0 件のコメント
回答 (1 件)
random09983492
2016 年 2 月 2 日
Strings in Matlab must be surrounded by single quotes. For example:
>> 'cp_2-feb-2016_1'
ans =
cp_2-feb-2016_1
0 件のコメント
この質問は閉じられています。
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!