Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Why is 'cp_2-feb-2016_1' invalid string in MATLAB?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
random09983492
le 2 Fév 2016
Strings in Matlab must be surrounded by single quotes. For example:
>> 'cp_2-feb-2016_1'
ans =
cp_2-feb-2016_1
0 commentaires
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!