help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: write file excel in folder


From: Andreas Weber
Subject: Re: write file excel in folder
Date: Sat, 4 Aug 2018 08:38:01 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Am 04.08.2018 um 00:57 schrieb shivax:
> PathNameReport=strcat(OutputFolder,nomeFileExcel);
> (c:/Titan/results/TitanEquity_Filtri.xlsx)
> rstatus=xlswrite(PathNameReport,stringaPercentF,nomeFoglio,strCompletaData0);
> 
> i see this error:
> error: xlswrite: first argument must be a filename (incl. suffix)

As you can see in xlswrite.m around line 136:
...
  elseif (! ischar (filename))
    error ("xlswrite: first argument must be a filename (incl. suffix)\n");
...

So the only check is, that it is a "char" which seems to be not the case
in your script. Please double check that PathNameReport is a char
(string) and not a cell string.

The best would be if you provide a minimal, complete and executable code
which shows the problem you encounter.

-- Andy



reply via email to

[Prev in Thread] Current Thread [Next in Thread]