<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1597" name=GENERATOR>
<STYLE>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.E-mailStijl17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
{page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=NL vLink=purple link=blue>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff size=2>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</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff size=2>exec
"[scilab installdir]\contrib\[the directory containing your
toolbox]\loader.sce";</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff size=2>It
isn't necessary, but I managed adding toolboxes commands in the help by doing
this.</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff size=2>By the
way, if you achieve making videos with SIVP and Windows, please tell me how to
do :P</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff size=2>Good
luck!</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff size=2>Cyril
Le Roux</FONT></SPAN></DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=664552813-16092008><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=fr dir=ltr align=left><FONT face=Tahoma
size=2>-----Message d'origine-----<BR><B>De :</B> Jacco Kramer
[mailto:jacco.kramer@teb.nl] <BR><B>Envoyé :</B> mardi 16 septembre 2008
15:25<BR><B>À :</B> users@lists.scilab.org<BR><B>Objet :</B>
[scilab-Users] Adding toolboxes<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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).
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please be patient with me, I’m new
to this whole “toolboxes” thing. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">So, here’s my problems:
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The other toolbox (SVIP) doesn’t
seem to work with scilab 5.0.1 here, when I try to load it I get :
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">___________snip____________________<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">link: The file
D:\SCILAB~1.1\contrib\SIVP-0.4.3\/lib/libsivp.dll does not
exist.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">link: The file
D:\SCILAB~1.1\contrib\SIVP-0.4.3\/lib/libsivp.dll does not
exist.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> addinter(SIVP_PATH+'/lib/libsivp.dll','libsivp',functions);<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
!--error 236 <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">addinter: The shared archive was
not loaded: De bewerking is voltooid.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">at
line 66 of exec file called by
: <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">exec("D:\SCILAB~1.1\contrib\SIVP-0.4.3\loader.sce");<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">in execstr
instruction called by : <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">o = gcbo; end;gcbo =
getcallbackobject(6);execstr(toolboxes(2));if exists("%oldgcbo") then gcbo =
%oldgcbo; else clear gcbo; en<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">while executing a
callback<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">__________snip______________________<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">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, <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Jacco
Kramer.<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>