[Scilab-users] importXcosDiagram function under Scilab 5.4.0
Serge Steer
Serge.Steer at inria.fr
Wed Oct 10 18:02:20 CEST 2012
So it is clearly a bug introduced in scilab-5.4.0. clear must not remove
variables created at startup time
a workaround can be to add the following instruction in your
<SCIHOME>scilab.ini file
predef(94);
This will protect the libraries created by the Scilab startup.
Please report that bug into Bugzilla
Serge Steer
Le 10/10/2012 16:29, Benjamin Johnson a écrit :
> I have a similar problem. After I use the command "clear;"
> importXcosDiagram() and help stop working. plot2d and sqrt still work.
>
> After starting scilab
>
> who
>
> Your variables are:
>
> Branchinglib Eventslib Misclib
> Sinkslib
> Thresholdlib Linearlib Matrixoplib
> Nonlinearlib
> Sourceslib Electricallib Hydraulicslib
> PDElib
> Integeroplib scicos_scicoslib AFFICH_f
> RFILE
> WFILE loadXcosLibs home
> external_objectslib
> modules_managerlib helptoolslib scinoteslib
> xcoslib
> matiolib atomslib atomsguilib
> parameterslib
> simulated_annealinglib genetic_algorithmslib umfpacklib
> scicos_autolib
> scicos_utilslib spreadsheetlib demo_toolslib
> assertlib
> development_toolslib soundlib m2scilib
> compatibility_functilib
> arnoldilib statisticslib timelib
> stringlib
> special_functionslib sparselib signal_processinglib
> %z
> %s polynomialslib overloadinglib
> optimsimplexlib
> optimbaselib neldermeadlib optimizationlib
> linear_algebralib
> jvmlib output_streamlib iolib
> interpolationlib
> integerlib dynamic_linklib guilib
> uitreelib
> data_structureslib cacsdlib graphic_exportlib
> graphicslib
> datatipslib fileiolib functionslib
> elementary_functionslib
> differential_equationlib corelib PWD
> %tk
> %F %T %nan
> %inf
> SCI SCIHOME TMPDIR
> %gui
> %fftw $ %t
> %f
> %eps %io %i
> %e
> %pi
>
> using 11503 elements out of 10000000.
> and 93 variables out of 9231.
>
> Your global variables are:
>
> %modalWarning %toolboxes %toolboxes_dir
>
> using 43 elements out of 180001.
> and 3 variables out of 767.
>
>
>
>
> after clear;
>
> -->who
>
> Your variables are:
>
> ans SCI SCIHOME
> TMPDIR
> %gui %fftw $
> %t
> %f %eps %io
> %i
> %e %pi
>
> using 136 elements out of 10000000.
> and 14 variables out of 9231.
>
> Your global variables are:
>
> %modalWarning %toolboxes %toolboxes_dir
> %helps
>
>
> using 45 elements out of 180001.
> and 4 variables out of 767.
>
> Thanks,
> -Ben
>
>
> On Oct 10, 2012, at 9:17 AM, Serge Steer wrote:
>
>> Do you use an official binary version?
>> What does the who command respond?
>>
>> Serge Steer
>> Le 10/10/2012 12:59, Stéphane Bécu a écrit :
>>> Hello,
>>> In fact the same error message also appears for any other scilab
>>> function (like plot, mean, sqrt...):
>>> undefined variable: plot (or mean or sqrt...)
>>> Stéphane
>>>
>>> ------------------------------------------------------------------------
>>> *De:* Stéphane Bécu
>>> *Date:* mar. 09/10/2012 18:22
>>> *À:* users at lists.scilab.org
>>> *Objet :* importXcosDiagram function under Scilab 5.4.0
>>>
>>> Hello
>>> When using the scilab importXcosDiagram() function I sometimes face
>>> the following issue:
>>> importXcosDiagram("my_file.xcos");
>>> !--error 4
>>> Variable non définie : importXcosDiagram
>>> I don't understand why the execution sometimes runs and sometimes
>>> not treating the importXcosDiagram() function as a variable...
>>> Did someone have the same problem?
>>> Stéphane
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at lists.scilab.org
>>> http://lists.scilab.org/mailman/listinfo/users
>>
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org <mailto:users at lists.scilab.org>
>> http://lists.scilab.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20121010/34121921/attachment.htm>
More information about the users
mailing list