Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
Brando Miranda
Brando Miranda el 2 de Feb. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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?

Respuestas (1)

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

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by