Hi Mathieu,<div><br></div><div>Thanks for bringing this up. </div><div><br></div><div>The thing I don't understand is, if the problem roots from the size of data file / amount of memory being used, why it doesn't report a <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">exceeded stack size error (what I asked you in </span><a href="http://comments.gmane.org/gmane.comp.mathematics.scilab.user/3075">http://comments.gmane.org/gmane.comp.mathematics.scilab.user/3075</a><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">) but report a error of invalid index?</span></div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Regards,</span></div>

<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Peng</span></div>

<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div><br><div class="gmail_quote">On 14 November 2010 22:45, Mathieu Dubois <span dir="ltr"><<a href="mailto:mathieu.dubois@limsi.fr">mathieu.dubois@limsi.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello Lucas,<br>
<br>
Peng Du reported the same problem as you.<br>
<br>
I think is a matter of stacksize because, as Peng mentionned, reading less data (so using less memory) solves it.<br>
<br>
Did you (both) try to use<br>
stacksize(1000000); // Or event bigger<br>
on top of your script?<br>
<br>
Mathieu<br>
<br>
Le 14/11/2010 23:11, Lucas Benitez Demmler a écrit :<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, My name is Lucas , I'm from Argentina , and I'm a frecuently user<br>
of Scilab. I found a problem when I try to run "spdsolver.sci"<br>
I have a problem when i want to run "SPDsolver.sci"<br>
In command window appears an error after executing this:<br>
!--error 21<br>
Invalid index<br>
<br>
SPDSolve file use internally a function called SPDverif but i don't<br>
understand why it is not working.<br>
Both files were translated form MATLAB to SCILAB and i use loadmatfile<br>
command to load all the variables.<br>
I would like to know where the mistake is.<br>
I'm sending you the .sci files for testing<br>
thanks in advance for your help<br>
<br>
Lucas Benitez Demmler<br>
Universidad Tecnologica Nacional - FRHaedo - Bs As - Argentina<br>
</blockquote>
</div></div></blockquote></div><br></div>