[scilab-Users] Adding toolboxes
LeRoux Cyril
cyril.leroux at stage.cnes.fr
Tue Sep 16 15:50:21 CEST 2008
Hi,
About your question on the correct way to add toolboxes to Scilab, it depends : some toolboxes, like ImLab, simply need to copy their contents to [scilab installdir]\contrib. For others, like SIVP, there are binaries, which install automatically the stuff, and which are downloadable on the toolboxes websites.
After that, what you can do to automatically load toolboxes during Scilab opening, is editing [scilab installdir]\contrib\loader.sce file: add the command line
exec "[scilab installdir]\contrib\[the directory containing your toolbox]\loader.sce";
It isn't necessary, but I managed adding toolboxes commands in the help by doing this.
Concerning the SIVP error, I don't know how to resolve it, but it seems to be a Windows specific bug: you can see an incompatibility between the windows "\" and the linux "/" in the file path, by taking a look at what is said.
By the way, if you achieve making videos with SIVP and Windows, please tell me how to do :P
Good luck!
Cyril Le Roux
-----Message d'origine-----
De : Jacco Kramer [mailto:jacco.kramer at teb.nl]
Envoyé : mardi 16 septembre 2008 15:25
À : users at lists.scilab.org
Objet : [scilab-Users] Adding toolboxes
I'm currently trying to do some more advanced stuff with scilab than I did before. In particular, I'm looking at the possibilities offered by the wavelab and SVIP toolboxes. However, I'm unsure I'm doing things correctly and can't find the doc that says what is and isn't correct (I'm sure it's out there somewhere).
Please be patient with me, I'm new to this whole "toolboxes" thing.
So, here's my problems:
I copied the contents of the wavelab toolbox to [scilab installdir]\contrib. Is this the correct way? I assume it is, as the toolbox now shows up in a "toolboxes" menu. When clicking it, I get the message that it loaded (and redefined some functions?). The toolbox commands don't seem to show up in the help though. Is this not supposed to happen? There are quite a few .sce files (for each function?), which when opened have a helpfile like structure at the start... am I supposed to open these in an editor every time I am uncertain about the function?
The other toolbox (SVIP) doesn't seem to work with scilab 5.0.1 here, when I try to load it I get :
___________snip____________________
link: The file D:\SCILAB~1.1\contrib\SIVP-0.4.3\/lib/libsivp.dll does not exist.
link: The file D:\SCILAB~1.1\contrib\SIVP-0.4.3\/lib/libsivp.dll does not exist.
addinter(SIVP_PATH+'/lib/libsivp.dll','libsivp',functions);
!--error 236
addinter: The shared archive was not loaded: De bewerking is voltooid.
at line 66 of exec file called by :
exec("D:\SCILAB~1.1\contrib\SIVP-0.4.3\loader.sce");
in execstr instruction called by :
o = gcbo; end;gcbo = getcallbackobject(6);execstr(toolboxes(2));if exists("%oldgcbo") then gcbo = %oldgcbo; else clear gcbo; en
while executing a callback
__________snip______________________
Should I wait for the developer of this toolbox to make it Scilab 5 compatible, or is this a windows specific bug? Thanks in advance,
Jacco Kramer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20080916/f5bb8890/attachment.htm>
More information about the users
mailing list