Filter löschen
Filter löschen


Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Why is 'cp_2-feb-2016_1' invalid string in MATLAB?

1 Ansicht (letzte 30 Tage)
Brando Miranda
Brando Miranda am 2 Feb. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Why is 'cp_2-feb-2016_1' invalid string in MATLAB? I get:
>> cp_2-feb-2016_1
Error: The input character is not valid in MATLAB statements or
where can I even read docs or how would/should I have googled/searched for this error?

Antworten (1)

random09983492 am 2 Feb. 2016
Strings in Matlab must be surrounded by single quotes. For example:
>> 'cp_2-feb-2016_1'
ans =


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by