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!