[Scilab-users] winopen

Antoine Monmayrant antoine.monmayrant at laas.fr
Mon May 6 13:37:02 CEST 2013


On 05/05/2013 18:42, haasejos wrote:
> hello,
>
> I would like to write a textfile and check what I wrote with "winopen". See
> example:
>
> *clear; clc; xdel;
> cd ('C:\Users\Zuhause\Desktop');
>
> fd = mopen('Demo_zu_mfprintf.txt' , 'wt');
> mfprintf(fd , '0        1         2         3         4         5\n');
> mclose(fd);
>
> winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt');*
>
> Executing the example gives this errormessage:
>
>
> *-->winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt');
>                                                           !--error 999
> winopen: kann Datei nicht öffnen
> C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt.*
>
> What am I doing wrong?
Hi,

I don't have a solution but maybe a workaround: why not using scinote -- 
it's a decent text editor ;-) -- ?

edit('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt');

moreover, it makes your code more portable.
Hope it helps,

Antoine
>
> best regards, Josef
>
>
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/winopen-tp4026653.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>



More information about the users mailing list