[Scilab-users] gateway compatibility
Dear all, I noticed that the gateway routines are not binary compatible between 6.0 alpha and 6.0 beta. Also the source has changed somewhat, so the ilib_gen_gateway has to be rerun to update source (particularly C_GATEWAY_PROTOTYPE changed to STACK_GATEWAY_PROTOTYPE) Will the 6.0 beta gateway routines be binary compatible with the 6.0 release? Many thanks, best wishes, Jasper. ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Update: Maximum allocation with Scilab 6.0 beta
Le 02/26/2016 01:41 PM, Samuel Gougeon a écrit : Le 26/02/2016 13:24, antoine.monmayr...@laas.fr a écrit : Le 02/26/2016 01:17 PM, antoine.monmayr...@laas.fr a écrit : Hi all, For testing purposes, I am trying to allocate big chunks of memory with scilab 6.0beta. I have ~256GB of free ram on my machine, however, Scilab fails creating variables that are way smaller than that: --> a=rand(10,10); . With Scilab <6, the maximal number of components in a matrix is 2^31-1, since their linearized index is encoded with 4-byte-signed integers. Now, 1e10 is bigger than that. It seems that you are right. But things can get a bit funny: --> a=[1:2^31-2]; //no problemo --> a=[1:2^31-1]; //no problemo --> a=[1:2^31]; // no error, just never ending Antoine I do not think that this limit is removed in Scilab 6, but a confirmation from the dev team would be useful. So here, the misleading message could come from this "index limit", without respect to the available or allocatable memory. HTH Samuel ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Update: Maximum allocation with Scilab 6.0 beta
Le 26/02/2016 13:24, antoine.monmayr...@laas.fr a écrit : Le 02/26/2016 01:17 PM, antoine.monmayr...@laas.fr a écrit : Hi all, For testing purposes, I am trying to allocate big chunks of memory with scilab 6.0beta. I have ~256GB of free ram on my machine, however, Scilab fails creating variables that are way smaller than that: --> a=rand(10,10); . With Scilab <6, the maximal number of components in a matrix is 2^31-1, since their linearized index is encoded with 4-byte-signed integers. Now, 1e10 is bigger than that. I do not think that this limit is removed in Scilab 6, but a confirmation from the dev team would be useful. So here, the misleading message could come from this "index limit", without respect to the available or allocatable memory. HTH Samuel ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Maximum allocation with Scilab 6.0 beta
Hi all, For testing purposes, I am trying to allocate big chunks of memory with scilab 6.0beta. I have ~256GB of free ram on my machine, however, Scilab fails creating variables that are way smaller than that: --> a=rand(10,10); Can not allocate 8.00 MB memory. Any idea what is going on? What is the actual ram limitation with the new "stackless" scilab? Cheers, Antoine ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] mprintf and backspace
Le 26/02/2016 12:14, Samuel Gougeon a écrit : Hello, Le 26/02/2016 09:17, jbaud...@insa-rennes.fr a écrit : Hello, I'd like to use \b, for backspace as in C, in mprintf function but it seems to not be implemented. How it can be obtained? (Only \n, \r and \t seems to be implemented.) . with ascii(8) ? . apparently not (Scilab 5.5.2 and 6.0-b1): --> "abc"+ascii(8)+"def" ans = abcdef --> mprintf("abc"+ascii(8)+"def") abcdef SG ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] mprintf and backspace
ref. the somewhat related bug report: http://bugzilla.scilab.org/show_bug.cgi?id=14342 Jan Å ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1
Ok, because it is not clear whether this bug is related to another one I decided to enter a new bug report: Bug 14424 Wolfgang > -Ursprüngliche Nachricht- > Von: users [mailto:users-boun...@lists.scilab.org] Im Auftrag von JLan > Gesendet: Donnerstag, 25. Februar 2016 17:53 > An: users@lists.scilab.org > Betreff: Re: [Scilab-users] Bug of input function in Scilab 6.0 beta 1 > > I doubt that it is related to bug 14375. > That seems to be caused by a long temporary prompt: > prompt('CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH CRASH > CRASH CRASH > >') > > But the behavior is certainly strange and inconsistent, should be reported as > a separate bug. This is what I got once, but I cannot repeat it exactly: > > --> a=input("a:"); > a:1 > a:2 > --> disp(a) >2. > --> b=input('b:'); > b:3 > --> disp(b) >3. > --> b=input("b:"); > b:4 > --> a=input("a:"); > b:5 > b:6 > ans = >6. > --> disp(a) >2. > --> disp(b) >5. > > > > > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-users-Bug- > of-input-function-in-Scilab-6-0-beta-1-tp4033549p4033571.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] bug in function iir ?
Le 25/02/2016 18:10, grivet a écrit : Le 24/02/2016 21:40, Serge Steer a écrit : Le 24/02/2016 11:30, grivet a écrit : I appreciate your help; however, neither suggestion works: I still get the same error message. The similar line [frq,repf]=repfreq(hz,0.01,0.49); has no problem You are right the problem is exactly for the frequency 0.5 besause exp(2*%pi*%i*0.5) -> - 1. + 1.225D-16i and hz.num has 2 zeros very near -1 I checked the hz value with Matlab, the results are the same. So it seems that hz is ok. So it is probabily a probleme due to floating point computations procucing a zero value instead of a very small one. Serge please can you save the hz value using the Scilab save function and send the file? Serge Voila le code: //filtre Butterworth Order = 2; // The order of the filter Fs = 1000; // The sampling frequency Fcutoff = 40; // The cutoff frequency // We design a low pass Butterworth filter hz = iir(Order,'lp','butt',Fcutoff/Fs/2,[0.1 0.1]); // We compute the frequency response of the filter [frq,repf]=repfreq(hz,0,0.5); [db_repf, phi_repf] = dbphi(repf); // And plot the bode like representation of the digital filter subplot(2,1,1); plot2d(Fs*frq,db_repf); xtitle('Obtained Frequency Response (Magnitude)'); subplot(2,1,2); plot2d(Fs*frq,phi_repf); xtitle('Obtained Frequency Response (Phase in degree)'); iir est sauvegardé dans "svgd_iir" joint (binaire). Cordialement, JP Grivet ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] mprintf and backspace
Hello, I'd like to use \b, for backspace as in C, in mprintf function but it seems to not be implemented. How it can be obtained? (Only \n, \r and \t seems to be implemented.) Thanks, Jean-Yves ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users