Error "too many inout arguments" using "diary"

I'm a beginner in Matlab and I'm receiving a message error saying "too many input arguments" when I try to use "diary" at the beginning of the code... I don't know what I am doing wrong. Could someone help me?
My code is
>> diary C:\Analise de Regressao\EXUnidade1.txt
Error using diary
Too many input arguments.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 20 de Oct. de 2020
Because there are spaces in your path, you need to enclose your file path+name in quotes.
diary 'C:\Analise de Regressao\EXUnidade1.txt'

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Preguntada:

el 20 de Oct. de 2020

Comentada:

el 20 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by