BUG DESCRIPTION:
----------------
Function inistate (and others calling SLICOT routines) doesn't work on Windows 64bit version of Scilab
ERROR LOG:
----------
-->clear
-->//generate data from a given linear system
-->A = [ 0.5, 0.1,-0.1, 0.2;
--> 0.1, 0, -0.1,-0.1;
--> -0.4,-0.6,-0.7,-0.1;
--> 0.8, 0, -0.6,-0.6];
-->B = [0.8;0.1;1;-1];
-->C = [1 2 -1 0];
-->SYS=syslin(0.1,A,B,C);
-->nsmp=100;
-->U=prbs_a(nsmp,nsmp/5);
-->Y=(flts(U,SYS)+0.3*rand(1,nsmp,'normal'));
-->
-->// Compute R
-->S=15;
-->[R,N1,SVAL] = findR(S,Y',U');
!--error 9999
ALG MUST BE A SCALARat line 107 of function findR called by :
[R,N1,SVAL] = findR(S,Y',U');
!--error 999
Abandon du calcul en cours
-->N=3;
-->SYS1 = findABCD(S,N,1,R) ;
!--error 4
Variable non définie : R
-->SYS1.dt=0.1;
-->
-->inistate(SYS1,Y',U')
!--error 9999
COMUSE MUST BE A SCALARat line 160 of function inistate called by :
inistate(SYS1,Y',U')
!--error 999
Abandon du calcul en cours
HOW TO REPRODUCE THE BUG:
-------------------------
install Scilab 5.5.0 or 5.4.1 in 64bit version
then execute the exemple given in inistate help page.
OTHER INFORMATION:
------------------
It works well on Scilab 5.5.0 in 32bit version (installed on the same system)