[Scilab-users] Error 21 in execution of scilab -f

amorales mori at fis.unam.mx
Sun Sep 28 01:59:14 CEST 2014


HI:
With scilab-5-3-3 on Debian 7.6  32 bit, the Script:

N=fscanfMat("data_espectro_Ne_DK.ods_parcial.dat");
N1=N(:,1);
N2=N(:,2);

started with   scilab -f name_of_the_script    gives:

Startup execution:
  loading initial environment
N1=N(:,1);
          !--error 21 
Invalid index.

at line       2 of exec file called by :    
exec('SCI/etc/scilab.start',-1);;exec('calibracion_modificado.sce',-1)
 
But started with   scilab   and the command   exec("name_of_the_script")  
on the scilab windows runs as expected.

I assume that the result should be the same. Why not?
Thanks.




--
View this message in context: http://mailinglists.scilab.org/Error-21-in-execution-of-scilab-f-tp4031223.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list