[scilab-Users] load(...) fails often
Sylvestre Ledru
sylvestre.ledru at scilab.org
Mon Oct 4 20:58:23 CEST 2010
Le lundi 04 octobre 2010 à 20:50 +0200, "Tobias Drößler" a écrit :
> -------- Original-Nachricht --------
> > Datum: Mon, 04 Oct 2010 20:34:24 +0200
> > Von: Sylvestre Ledru <sylvestre.ledru at scilab.org>
> > An: users at lists.scilab.org
> > Betreff: Re: [scilab-Users] load(...) fails often
>
> > Le lundi 04 octobre 2010 à 20:25 +0200, "Tobias Drößler" a écrit :
> > > hi boys and girls,
> > >
> > > i've from time to time when i want to load vars from a file i saved
> > some days before. i use it under windows xp. may it is connected to
> > graphic-things ...
> > > scilab says:
> > >
> > > =======
> > > mget: falsche Größe für Eingangsargument #1: ein Integer erwartet.
> > > at line 3 of function load_graphichandle called by :
> > > at line 19 of function %h_load called by :
> > > f ~(%fileToLoad == "") then load(%fileToLoad);
> > disp(msprintf(gettext("Environment loaded.\
> > > while executing a callback
> > > =======
> > >
> > > it is really bad, i didn't save data just for fun.
> > >
> > > someone of you have had this too ? how to avoid ?
> > I am not aware of such issues. It is reproducible ?
> > Could you either way open a bug with the buggy data and a way to
> > reproduce it ? Thanks.
> >
> > For your information, you can use import_from_hdf5 / export_to_hdf5
> > which should be used in a future release of Scilab as the default export
> > format (and therefor replacing load/save).
> >
> > Sylvestre
> >
> >
>
> thanks for fast answering.
>
> may i understand you wrong, i can open a with save() saved file with imoprt_from_hdf5?
No. *_from_hdf5 have been written to replace both load/save.
Example:
a=rand(10,10);
export_fo_hdf5("save.hdf5","a");
clear a;
import_from_hdf5("save.hdf5");
disp(a);
Anyway, I am just giving a workaround.
There is a reason why these functions are not documented, we want to be
able to change the format before replacing the current save/load
functions (however, I don't think this will be the case).
> i try to reproduce it in the next days..
Thanks
Sylvestre
More information about the users
mailing list