From danielt_muller at yahoo.com.br Wed Dec 2 03:28:06 2009 From: danielt_muller at yahoo.com.br (daniel muller) Date: Tue, 1 Dec 2009 18:28:06 -0800 (PST) Subject: How can I open another program with scilab? Message-ID: <220962.85965.qm@web110106.mail.gq1.yahoo.com> Hey people, ? can?you help me please? I am working with scilab and I want to open a program with scilab. It is a not a commom program, it is xfoil, a program to?calculate Cl and Cd. I want to write all the program with scilab and then open and make the xfoil work. Can anybody help me? I want to make an airfoil optimization. ? Thank you, ? Daniel Muller ____________________________________________________________________________________ Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Wed Dec 2 09:11:34 2009 From: yann.collette at scilab.org (Collette yann) Date: Wed, 02 Dec 2009 09:11:34 +0100 Subject: [scilab-Users] How can I open another program with scilab? In-Reply-To: <220962.85965.qm@web110106.mail.gq1.yahoo.com> References: <220962.85965.qm@web110106.mail.gq1.yahoo.com> Message-ID: <4B162136.1070105@scilab.org> daniel muller a ?crit : > Hey people, > > can you help me please? I am working with scilab and I want to open a > program with scilab. It is a not a commom program, it is xfoil, a > program to calculate Cl and Cd. I want to write all the program with > scilab and then open and make the xfoil work. Can anybody help me? I > want to make an airfoil optimization. > > Thank you, > > Daniel Muller > > > ------------------------------------------------------------------------ > Veja quais s?o os assuntos do momento no Yahoo! + Buscados: Top 10 > > - Celebridades > > - M?sica > > - Esportes > Hello, You can use the unix command (there are several unix command like unix_w). This command allows to call an external program. YC From magali.jodeau at edf.fr Wed Dec 2 10:12:09 2009 From: magali.jodeau at edf.fr (Magali JODEAU) Date: Wed, 2 Dec 2009 10:12:09 +0100 Subject: [scilab-Users] Connections between blocks get mixed up Message-ID: Return Receipt Your document: [scilab-Users] Connections between blocks get mixed up was received by: magali.jodeau at edf.fr at: 02/12/2009 10:12:09 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cecilia.zanni-merk at insa-strasbourg.fr Wed Dec 2 20:40:58 2009 From: cecilia.zanni-merk at insa-strasbourg.fr (Cecilia Zanni-Merk) Date: Wed, 02 Dec 2009 20:40:58 +0100 Subject: [scilab-Users] Error 241 In-Reply-To: <4B13BB3D.4020306@free.fr> References: <4B12D15A.6010209@dnainternet.net> , ,<1259533501.20778.660.camel@zlarin> <1259574773.7013.36.camel@korcula.inria.fr> <4B1398B0.6000401@insa-strasbourg.fr> <4B13BB3D.4020306@free.fr> Message-ID: <4B16C2CA.2040604@insa-strasbourg.fr> Dear Fran?ois, You will find attached a print screen of the error when my student tries to execute a script through the Scilab window File menu ? In my previous mail, it was explained that she is under Vista SP2 and of course, it is the last version of Scilab, 5.1.1* She is the administrator of her machine, so, she has all the permissions. More than that, personnally i have checked permissions in a particular folder where we have tested. Hope all this helps. Thanks again for your help Cecilia Fran?ois Vogel a ?crit : > Cecilia Zanni-Merk said on 30/11/2009 11:04: >> One of my students has encountered Error 241. She is not able to >> execute a Scilab script file if she has saved it before. She needs to >> modified a saved file (even by just adding a blank space) to be able >> to execute it. > > Your report is not precise enough. > > First of all please show the exact error message (copy/paste). > > What is your Scilab version? > > What is the underlying OS? > > How do you execute the file? Is it through exec() in command line, or > through Scipad, through the Scilab window File menu, or what? > > Where is the file saved? Are you sure the required permissions are set > for the file in question? > > And so on. > > Francois > -- =============================================== Cecilia Zanni-Merk LGeCo - INSA de Strasbourg 24 Bd de la Victoire 67084 Strasbourg - France Phone: +33 3 88 14 47 00 (4864) -------------- next part -------------- A non-text attachment was scrubbed... Name: erreur scilab.jpg Type: image/jpeg Size: 68015 bytes Desc: not available URL: From sylvestre.ledru at scilab.org Wed Dec 2 20:43:03 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 02 Dec 2009 20:43:03 +0100 Subject: [scilab-Users] Error 241 In-Reply-To: <4B16C2CA.2040604@insa-strasbourg.fr> References: <4B12D15A.6010209@dnainternet.net> , ,<1259533501.20778.660.camel@zlarin> <1259574773.7013.36.camel@korcula.inria.fr> <4B1398B0.6000401@insa-strasbourg.fr> <4B13BB3D.4020306@free.fr> <4B16C2CA.2040604@insa-strasbourg.fr> Message-ID: <1259782983.8902.562.camel@zlarin> Hello, This problem has been fixed in Scilab 5.2.0 beta1. This is due to a problem when Scilab is a loading a file stored in a directory with an accent. Sylvestre Le mercredi 02 d?cembre 2009 ? 20:40 +0100, Cecilia Zanni-Merk a ?crit : > Dear Fran?ois, > > You will find attached a print screen of the error when my student tries > to execute a script through the Scilab window File menu ? > > In my previous mail, it was explained that she is under Vista SP2 > > and of course, it is the last version of Scilab, 5.1.1* > > She is the administrator of her machine, so, she has all the > permissions. More than that, personnally i have checked permissions in > a particular folder where we have tested. > > Hope all this helps. > > Thanks again for your help > > Cecilia > > Fran?ois Vogel a ?crit : > > Cecilia Zanni-Merk said on 30/11/2009 11:04: > >> One of my students has encountered Error 241. She is not able to > >> execute a Scilab script file if she has saved it before. She needs to > >> modified a saved file (even by just adding a blank space) to be able > >> to execute it. > > > > Your report is not precise enough. > > > > First of all please show the exact error message (copy/paste). > > > > What is your Scilab version? > > > > What is the underlying OS? > > > > How do you execute the file? Is it through exec() in command line, or > > through Scipad, through the Scilab window File menu, or what? > > > > Where is the file saved? Are you sure the required permissions are set > > for the file in question? > > > > And so on. > > > > Francois > > > > -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From lester at arctica1.wanadoo.co.uk Thu Dec 3 14:37:48 2009 From: lester at arctica1.wanadoo.co.uk (lester anderson) Date: Thu, 3 Dec 2009 14:37:48 +0100 (CET) Subject: FFTW library Message-ID: <4719864.24641259847468312.JavaMail.www@wwinf3718> Hi all Just a quick question. How does the FFTW library work with Scilab? I tried one of the examples in the manual and it came back with an error saying unknow variable for fftw. The ordinary fft option works from the manual examples. Thanks Lester -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Thu Dec 3 15:09:20 2009 From: yann.collette at scilab.org (Collette yann) Date: Thu, 03 Dec 2009 15:09:20 +0100 Subject: [scilab-Users] FFTW library In-Reply-To: <4719864.24641259847468312.JavaMail.www@wwinf3718> References: <4719864.24641259847468312.JavaMail.www@wwinf3718> Message-ID: <4B17C690.5040006@scilab.org> lester anderson a ?crit : > Hi all > > Just a quick question. > > How does the FFTW library work with Scilab? I tried one of the > examples in the manual and it came back with an error saying unknow > variable for fftw. > > The ordinary fft option works from the manual examples. > > Thanks > > Lester > > What version of Scilab do you use ? If it's the 5.1.x under windows, do you have checked the fftw module to install it (by default, it's not checked). YC From lester at arctica1.wanadoo.co.uk Thu Dec 3 16:59:43 2009 From: lester at arctica1.wanadoo.co.uk (lester anderson) Date: Thu, 3 Dec 2009 16:59:43 +0100 (CET) Subject: [scilab-Users] FFTW library In-Reply-To: <4B17C690.5040006@scilab.org> Message-ID: <21194135.36221259855983767.JavaMail.www@wwinf3716> Hello I have version 5.1.1 of Scilab. How do you install the module? I could not see anything in the Scilab console that gave the option; perhaps I have missed something. Thanks Lester ======================================== Message Received: Dec 03 2009, 02:11 PM From: "Collette yann" To: users at lists.scilab.org Cc: Subject: Re: [scilab-Users] FFTW library lester anderson a ?crit : > Hi all > > Just a quick question. > > How does the FFTW library work with Scilab? I tried one of the > examples in the manual and it came back with an error saying unknow > variable for fftw. > > The ordinary fft option works from the manual examples. > > Thanks > > Lester > > What version of Scilab do you use ? If it's the 5.1.x under windows, do you have checked the fftw module to install it (by default, it's not checked). YC -------------- next part -------------- An HTML attachment was scrubbed... URL: From lester at arctica1.wanadoo.co.uk Thu Dec 3 17:02:38 2009 From: lester at arctica1.wanadoo.co.uk (lester anderson) Date: Thu, 3 Dec 2009 17:02:38 +0100 (CET) Subject: [scilab-Users] FFTW library In-Reply-To: <4B17C690.5040006@scilab.org> Message-ID: <9292700.36521259856158468.JavaMail.www@wwinf3716> Forgot to say that I am using the Win32 version of Scilab 5.1.1 hope that helps. I ran the installer for the fftw for 5.1.1 so it must be somewhere? Lester ======================================== Message Received: Dec 03 2009, 02:11 PM From: "Collette yann" To: users at lists.scilab.org Cc: Subject: Re: [scilab-Users] FFTW library lester anderson a ?crit : > Hi all > > Just a quick question. > > How does the FFTW library work with Scilab? I tried one of the > examples in the manual and it came back with an error saying unknow > variable for fftw. > > The ordinary fft option works from the manual examples. > > Thanks > > Lester > > What version of Scilab do you use ? If it's the 5.1.x under windows, do you have checked the fftw module to install it (by default, it's not checked). YC -------------- next part -------------- An HTML attachment was scrubbed... URL: From antonyat at gmail.com Thu Dec 3 20:27:17 2009 From: antonyat at gmail.com (Antony Jepson) Date: Thu, 03 Dec 2009 14:27:17 -0500 Subject: [scilab-Users] Troubling compiling Scilab 5.1.1 on Apple Xserve Cluster In-Reply-To: <1259365674.5363.7511.camel@zlarin> References: <4B1064BE.80008@gmail.com> <1259365674.5363.7511.camel@zlarin> Message-ID: <4B181115.9070608@gmail.com> On 2009-11-27 18:47, Sylvestre Ledru wrote: > Le vendredi 27 novembre 2009 ? 18:46 -0500, Antony Jepson a ?crit : >> I am having difficulty compiling Scilab (5.1.1) from source on our Apple >> Xserve Cluster. >> >> The configure script exits with the error message: >> "checking for PVM3 library... configure: error: check for PVM library >> failed." > The PVM detection has been redesign in the current beta 1 of Scilab 5.2 among other Mac OS X issues. > This problem is probably fixed. You should give a try! I was having difficulty compiling 5.2b1 (due to HDF5 problems) so I am attempting to install Scilab 4.1.2 but I am running into a strange issue. $ cd ~/Downloads/scilab-4.1.2 $ PREFIX=/common/local $ ./configure --prefix=$PREFIX \ --with-gcc --with-gfortran \ --with-fftw-include=$PREFIX/include \ --with-fftw-library=$PREFIX/lib \ --with-blas-library=$PREFIX/lib \ --with-lapack-library=$PREFIX/lib \ --with-x \ CC=/common/local/bin/gcc F77=/common/local/bin/gfortran [...] $ make all [...] Makefile:24: Makefile.darwin: No such file or directory make: *** No rule to make target `Makefile.darwin'. Stop. Even if I supply $SCILABDIR/config/Makefile.darwin I still have problems: make[1]: Nothing to be done for `all'. make: *** No rule to make target `all1', needed by `all'. Stop. I cannot seem to resolve this issue. Do you have any advice for completing the compilation? -- Sincerely, Antony Jepson / / GPG Key: 0xFA10ED80 From sylvestre.ledru at scilab.org Fri Dec 4 00:29:12 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 04 Dec 2009 00:29:12 +0100 Subject: [scilab-Users] Troubling compiling Scilab 5.1.1 on Apple Xserve Cluster In-Reply-To: <4B181115.9070608@gmail.com> References: <4B1064BE.80008@gmail.com> <1259365674.5363.7511.camel@zlarin> <4B181115.9070608@gmail.com> Message-ID: <1259882952.3761.2224.camel@zlarin> Le jeudi 03 d?cembre 2009 ? 14:27 -0500, Antony Jepson a ?crit : > On 2009-11-27 18:47, Sylvestre Ledru wrote: > > Le vendredi 27 novembre 2009 ? 18:46 -0500, Antony Jepson a ?crit : > >> I am having difficulty compiling Scilab (5.1.1) from source on our Apple > >> Xserve Cluster. > >> > >> The configure script exits with the error message: > >> "checking for PVM3 library... configure: error: check for PVM library > >> failed." > > The PVM detection has been redesign in the current beta 1 of Scilab 5.2 among other Mac OS X issues. > > This problem is probably fixed. You should give a try! > > I was having difficulty compiling 5.2b1 (due to HDF5 problems) so I am > attempting to install Scilab 4.1.2 but I am running into a strange issue. [...] > make[1]: Nothing to be done for `all'. > make: *** No rule to make target `all1', needed by `all'. Stop. > > I cannot seem to resolve this issue. Do you have any advice for > completing the compilation? Good luck with the build of the 4.X family. The 5.X build system is way better... I can help you with the build of HDF under Mac OS X for Scilab 5.X (but please use the dev at lists.scilab.org mailing list). Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From sumit.adhikari at gmail.com Fri Dec 4 06:32:56 2009 From: sumit.adhikari at gmail.com (Sumit Adhikari) Date: Fri, 4 Dec 2009 11:02:56 +0530 Subject: Reg :: yulewalk equivalent to FIR Message-ID: Hello, Is there any way in scilab where I can design an arbitrary response FIR filter, like I do in case of IIR using yulewalk algo. Regards, -- -------------------------------------------- Sumit Adhikari System Design Engineer austriamicrosystems AG Business Unit : Automotive Mob : 00-91-9885271710/00-91-9000161710 -------------- next part -------------- An HTML attachment was scrubbed... URL: From taek27 at free.fr Mon Dec 7 17:10:39 2009 From: taek27 at free.fr (taek27 at free.fr) Date: Mon, 07 Dec 2009 17:10:39 +0100 Subject: information sur scilab Message-ID: <1260202239.4b1d28ffa989c@imp.free.fr> Bonjour, Pour une application java, j'aurais besoin de quelques informations : 1) est-il possible ? partir de java, d'ex?cuter un script scilab sans que scilab s'ouvre? 2) Comment fait-on pour lire un fichier wav, pass? en argument d'une commande externe pour une application java : Voici en d?tail la commande externe que j'utilise : String cmd1 = "C:\\Program Files\\scilab-5.1.1\\bin\\WScilex.exe -arg 'C:\\temp\\FicEntrer.wav C:\\temp\\ficSortie.wav' -f C:\\temp\\Popup.sce"; A noter que j'utilise la classe runtime. C:\\Program Files\\scilab-5.1.1\\bin\\WScilex.exe : lancement de scilab C:\\temp\\FicEntrer.wav : argument en entr?e C:\\temp\\ficSortie.wav : argument en sortie C:\\temp\\Popup.sce : script scilab Cdlt, David Lengeley From sylvestre.ledru at scilab.org Mon Dec 7 18:33:48 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 07 Dec 2009 18:33:48 +0100 Subject: [scilab-Users] information sur scilab In-Reply-To: <1260202239.4b1d28ffa989c@imp.free.fr> References: <1260202239.4b1d28ffa989c@imp.free.fr> Message-ID: <1260207228.3761.11747.camel@zlarin> Hello, This is an english mailing list ;) Le lundi 07 d?cembre 2009 ? 17:10 +0100, taek27 at free.fr a ?crit : > Bonjour, > > Pour une application java, j'aurais besoin de quelques informations : > > 1) est-il possible ? partir de java, d'ex?cuter un script scilab sans que scilab > s'ouvre? You can use javasci: http://www.scilab.org/product/man/compile_and_run_javasci.html which allows the call of Scilab engine from Java. > > 2) Comment fait-on pour lire un fichier wav, pass? en argument d'une commande > externe pour une application java : > Voici en d?tail la commande externe que j'utilise : String cmd1 = "C:\\Program > Files\\scilab-5.1.1\\bin\\WScilex.exe -arg 'C:\\temp\\FicEntrer.wav > C:\\temp\\ficSortie.wav' -f C:\\temp\\Popup.sce"; > A noter que j'utilise la classe runtime. > > C:\\Program Files\\scilab-5.1.1\\bin\\WScilex.exe : lancement de scilab > C:\\temp\\FicEntrer.wav : argument en entr?e > C:\\temp\\ficSortie.wav : argument en sortie > C:\\temp\\Popup.sce : script scilab If I were you, I would move the declaration of the wav files to Popup.sce If you want to retrieve the command lines arguments, you should have a look to: http://www.scilab.org/product/man/sciargs.html Sylvestre > > Cdlt, > > David Lengeley -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From sbihorel at gmail.com Thu Dec 10 03:24:00 2009 From: sbihorel at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Bihorel?=) Date: Wed, 9 Dec 2009 21:24:00 -0500 Subject: Report of potential problems with the nelder-mead series of functions Message-ID: Hi, I was reading through the code of the fminsearch function and its wealth of related functions, and was wondering if there could be a problem with the optimsimplex.axes function. At this point, I honestly don't know what it is doing but I think there might be something wrong with the code: 1- xlen1 is defined but never used. The check that is directly following its definition is probably supposed to use it but doesn't xlen1 = size(len,1) if size(x0,1)<>1 then errmsg = msprintf(gettext("%s: The len vector is expected to be a row matrix, but current shape is %d x %d"),"optimsimplex_axes",size(len,1),size(len,2)); error(errmsg); end 2- nothing seems to prevent this call to crash, the dimensions of xlen and the matrix newobj.x(,) are not cross-checked newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); HIH Sebastien -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at scilab.org Thu Dec 10 18:02:11 2009 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Thu, 10 Dec 2009 18:02:11 +0100 Subject: [scilab-Users] Report of potential problems with the nelder-mead series of functions In-Reply-To: References: Message-ID: <4B212993.1070605@scilab.org> Hi, I agree on both points : I will commit a bug fix in branch 5.2 tomorrow. Best regards, Micha?l S?bastien Bihorel a ?crit : > Hi, > > I was reading through the code of the fminsearch function and its > wealth of related functions, and was wondering if there could be a > problem with the optimsimplex.axes function. At this point, I honestly > don't know what it is doing but I think there might be something wrong > with the code: > 1- xlen1 is defined but never used. The check that is directly > following its definition is probably supposed to use it but doesn't > xlen1 = size(len,1) > if size(x0,1)<>1 then > errmsg = msprintf(gettext("%s: The len vector is expected to be > a row matrix, but current shape is %d x > %d"),"optimsimplex_axes",size(len,1),size(len,2)); > error(errmsg); > end > > 2- nothing seems to prevent this call to crash, the dimensions of xlen > and the matrix newobj.x(,) are not cross-checked > newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); > > HIH > > Sebastien -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From cnoelle at baumer.com Fri Dec 11 08:55:35 2009 From: cnoelle at baumer.com (=?iso-8859-1?Q?N=F6lle_Christoph?=) Date: Fri, 11 Dec 2009 08:55:35 +0100 Subject: Reading hdf5 files Message-ID: <14CA494B52998D4299413739BDFE8CB0809F6A@srvbech003.baumernet.org> Good morning, I installed the new release 5.2.0 Beta1 to test the new hdf5 compatibility, but I did not find any hint to open and display a hdf5-file. Regards Christoph -------------------------------------------------------- Disclaimer This message might contain confidential and privileged information and is intended only for the individuals or entities to which it is addressed. It should not be copied, reviewed, retransmitted, disseminated or otherwise used by persons or entities other than the intended recipient. If this message was received in error, please contact the sender and delete the material from your computer system(s). Receipt of this message does neither generate any right of further use nor entitles the recipient to file and/or obtain any intellectual property rights based thereon. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Fri Dec 11 09:35:18 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 11 Dec 2009 09:35:18 +0100 Subject: [scilab-Users] Reading hdf5 files In-Reply-To: <14CA494B52998D4299413739BDFE8CB0809F6A@srvbech003.baumernet.org> References: <14CA494B52998D4299413739BDFE8CB0809F6A@srvbech003.baumernet.org> Message-ID: <4B220446.6030905@scilab.org> Hello Christoph, On 11/12/2009 08:55, N?lle Christoph wrote: > Good morning, > I installed the new release 5.2.0 Beta1 to test the new hdf5 > compatibility, but I did not find any > hint to open and display a hdf5-file. For now, HDF5 is just used to store/load Scilab data. Functions are export_to_hdf5 & import_from_hdf5 but don't look for the documentation. They are not supposed to be used by the lambda user since we will probably rename them and/or change their profiles. Note that, probably in Scilab 5.3, we will plug load/save functions on this data format. I know it is written in CHANGES_5.2.X that it already has been done but we changed our mind in order to have a better testing of this feature. In this next version, we might also provide capabilities for load HDF5 with different schemas. Hope this helps, Sylvestre -------------- next part -------------- An HTML attachment was scrubbed... URL: From trendic at gmx.de Fri Dec 11 10:51:17 2009 From: trendic at gmx.de (trendic at gmx.de) Date: Fri, 11 Dec 2009 10:51:17 +0100 Subject: Problems with Code Generation Message-ID: <20091211095117.38930@gmx.net> Hi, I have tried to generate Code for a super block with the new xcos tool. The Super block contains only a "sinus generator" and a "write to file" block connected to each other. The Triggering of the "write to File" block is done outside of the super block. When I run "Code Generation" Code is constructed but then it is said in a message box "sorry link problem, Undefined Variable : libnumber". In the Console the error file.dll does not exist. This is strange since the dll is created. Does anyone know what this means? A further question is : There is a file created with the term standalone in it. What is the result of the compilation, an executable? thanks for help trendic -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser From michael.baudin at scilab.org Fri Dec 11 12:12:11 2009 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Fri, 11 Dec 2009 12:12:11 +0100 Subject: [scilab-Users] Report of potential problems with the nelder-mead series of functions In-Reply-To: References: Message-ID: <4B22290B.7060502@scilab.org> Hi, I created a bug report : http://bugzilla.scilab.org/show_bug.cgi?id=5604 and fixed the source code in v5.2 branch : http://gitweb.priv.scilab.org/?p=scilab.git;a=commitdiff;h=8e6a14e2189dde039afc67aaeef3e18aeb0cf869 Before, we had : -->function y = rosenbrock (x) --> y = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2; -->endfunction -->newobj = optimsimplex_new ( "axes" , [1 2] , rosenbrock , [1 2 3] ); !--error 8 Inconsistent addition. at line 39 of function optimsimplex_axes called by : at line 34 of function optimsimplex_new called by : newobj = optimsimplex_new ( "axes" , [1 2] , rosenbrock , [1 2 3] ); Now, you get the message : optimsimplex_axes: The len vector is not consistent with the x0 point. Current shape of x0 is 1 x 2 while current shape of len is 1 x 3. which is much clearer. By the way, I improved the error messages of other scripts. Thank you for reporting that problem. Best regards, Micha?l S?bastien Bihorel a ?crit : > Hi, > > I was reading through the code of the fminsearch function and its > wealth of related functions, and was wondering if there could be a > problem with the optimsimplex.axes function. At this point, I honestly > don't know what it is doing but I think there might be something wrong > with the code: > 1- xlen1 is defined but never used. The check that is directly > following its definition is probably supposed to use it but doesn't > xlen1 = size(len,1) > if size(x0,1)<>1 then > errmsg = msprintf(gettext("%s: The len vector is expected to be > a row matrix, but current shape is %d x > %d"),"optimsimplex_axes",size(len,1),size(len,2)); > error(errmsg); > end > > 2- nothing seems to prevent this call to crash, the dimensions of xlen > and the matrix newobj.x(,) are not cross-checked > newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); > > HIH > > Sebastien -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From pomchip at free.fr Fri Dec 11 12:58:38 2009 From: pomchip at free.fr (=?ISO-8859-1?Q?S=E9bastien_Bihorel?=) Date: Fri, 11 Dec 2009 06:58:38 -0500 Subject: [scilab-Users] Report of potential problems with the nelder-mead series of functions In-Reply-To: <4B22290B.7060502@scilab.org> References: <4B22290B.7060502@scilab.org> Message-ID: Thank Michael, A follow-up report concerning the optimsimplex_pfeffer and optimsimplex_randbounds functions: 1- In optimsimplex_pfeffer function, could the following code // // Set 1st point // newobj.x ( 1 , 1:n ) = x0 (1,1:n) // // Set points #2 to #n+1 // for j = 2 : newobj.n+1 newobj.x ( j,1:n ) = x0 (1:n) if ( x0( j-1 ) == 0.0 ) then newobj.x ( j , j-1 ) = deltazero else newobj.x ( j , j-1 ) = newobj.x ( j , j-1 ) + deltausual * x0( j-1 ) end end be replaced by // // Set 1st point // newobj.x ( 1:newobj.nbve , : ) = x0 (1:n) .*. ones(newobj.nbve ,1); // // Set points #2 to #n+1 // for j = 2 :newobj.nbve if ( x0( j-1 ) == 0.0 ) then newobj.x ( j , j-1 ) = deltazero else newobj.x ( j , j-1 ) = newobj.x ( j , j-1 ) + deltausual * x0( j-1 ) end end 2- in optimsimplex_randbounds, there is no check that boundsmin and boundsmax have at least n elements before those calls are made bminmat = boundsmin( 1,1:n ) .*. ones(nbve-1,1); bmaxmat = boundsmax( 1,1:n ) .*. ones(nbve-1,1); also, should the line newobj$nbve <- n + 1 not be newobj$nbve <- nbve ? Sebastien On Thu, Dec 10, 2009 at 12:02 PM, Micha?l Baudin wrote: > Hi, > > I agree on both points : I will commit a bug fix in branch 5.2 tomorrow. > > Best regards, > > Micha?l > > S?bastien Bihorel a ?crit : > > Hi, >> >> I was reading through the code of the fminsearch function and its wealth >> of related functions, and was wondering if there could be a problem with the >> optimsimplex.axes function. At this point, I honestly don't know what it is >> doing but I think there might be something wrong with the code: >> 1- xlen1 is defined but never used. The check that is directly following >> its definition is probably supposed to use it but doesn't >> xlen1 = size(len,1) >> if size(x0,1)<>1 then >> errmsg = msprintf(gettext("%s: The len vector is expected to be a row >> matrix, but current shape is %d x >> %d"),"optimsimplex_axes",size(len,1),size(len,2)); >> error(errmsg); >> end >> >> 2- nothing seems to prevent this call to crash, the dimensions of xlen and >> the matrix newobj.x(,) are not cross-checked >> newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); >> >> HIH >> >> Sebastien >> > > > -- > Micha?l Baudin > Ing?nieur de d?veloppement > michael.baudin at scilab.org > ------------------------- > Consortium Scilab - Digiteo > Domaine de Voluceau - Rocquencourt > B.P. 105 - 78153 Le Chesnay Cedex > Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 > > > On Fri, Dec 11, 2009 at 6:12 AM, Micha?l Baudin wrote: > Hi, > > I created a bug report : > http://bugzilla.scilab.org/show_bug.cgi?id=5604 > and fixed the source code in v5.2 branch : > > http://gitweb.priv.scilab.org/?p=scilab.git;a=commitdiff;h=8e6a14e2189dde039afc67aaeef3e18aeb0cf869 > > Before, we had : > -->function y = rosenbrock (x) > --> y = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2; > -->endfunction > -->newobj = optimsimplex_new ( "axes" , [1 2] , rosenbrock , [1 2 3] ); > !--error 8 > Inconsistent addition. > at line 39 of function optimsimplex_axes called by : at line 34 > of function optimsimplex_new called by : newobj = optimsimplex_new ( "axes" > , [1 2] , rosenbrock , [1 2 3] ); > > Now, you get the message : > optimsimplex_axes: The len vector is not consistent with the x0 point. > Current shape of x0 is 1 x 2 while current shape of len is 1 x 3. > which is much clearer. > By the way, I improved the error messages of other scripts. > Thank you for reporting that problem. > > > Best regards, > > Micha?l > > S?bastien Bihorel a ?crit : > >> Hi, >> >> >> I was reading through the code of the fminsearch function and its wealth >> of related functions, and was wondering if there could be a problem with the >> optimsimplex.axes function. At this point, I honestly don't know what it is >> doing but I think there might be something wrong with the code: >> 1- xlen1 is defined but never used. The check that is directly following >> its definition is probably supposed to use it but doesn't >> xlen1 = size(len,1) >> if size(x0,1)<>1 then >> errmsg = msprintf(gettext("%s: The len vector is expected to be a row >> matrix, but current shape is %d x >> %d"),"optimsimplex_axes",size(len,1),size(len,2)); >> error(errmsg); >> end >> >> 2- nothing seems to prevent this call to crash, the dimensions of xlen and >> the matrix newobj.x(,) are not cross-checked >> newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); >> >> HIH >> >> Sebastien >> > > > -- > Micha?l Baudin > Ing?nieur de d?veloppement > michael.baudin at scilab.org > ------------------------- > Consortium Scilab - Digiteo > Domaine de Voluceau - Rocquencourt > B.P. 105 - 78153 Le Chesnay Cedex > Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samuel.Gougeon at univ-lemans.fr Fri Dec 11 19:44:02 2009 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Fri, 11 Dec 2009 19:44:02 +0100 Subject: Feeding cell from some matrix contents Message-ID: <4B2292F2.9060607@univ-lemans.fr> Hello, I would like to set cell elements from some matrix contents: Example: m=rand(4,4); c=cell(size(m)); i=find(m>0.5); // Then every following syntax fails: c.entries(i)=m(i); // messerr = "not yet implemented" setfield(i,m,c); // messerr = not yet implemented // even when trying to straightforwardly (re)define: --> c=makecell(size(m),m); // !--error 10000 makecell: Wrong input arguments: Dimensions given as first argument do not match specified cell contents. at line 12 of function makecell called by : makecell(size(t),t) // Same error with makecell(size(t),t(:)) I would like to avoid building a string list with a for/end + "makecell( )" and then eval() it. Any hint about that would be appreciated Thanks Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Sun Dec 13 13:30:58 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sun, 13 Dec 2009 13:30:58 +0100 Subject: [scilab-Users] Report of potential problems with the nelder-mead series of functions In-Reply-To: <4B22290B.7060502@scilab.org> References: <4B22290B.7060502@scilab.org> Message-ID: <1260707458.9907.130.camel@zlarin> Le vendredi 11 d?cembre 2009 ? 12:12 +0100, Micha?l Baudin a ?crit : > Hi, > > I created a bug report : > http://bugzilla.scilab.org/show_bug.cgi?id=5604 > and fixed the source code in v5.2 branch : > http://gitweb.priv.scilab.org/?p=scilab.git;a=commitdiff;h=8e6a14e2189dde039afc67aaeef3e18aeb0cf869 The right URL is: http://gitweb.scilab.org/?p=scilab;a=commitdiff;h=8e6a14e2189dde039afc67aaeef3e18aeb0cf869 FYI, the previous one is the internal gitweb which is refreshed in real time ... while the public one is done every minute. Sylvestre From jdcapdeville at gmail.com Mon Dec 14 15:47:36 2009 From: jdcapdeville at gmail.com (Jean-Damien Capdeville) Date: Mon, 14 Dec 2009 15:47:36 +0100 Subject: How to make executable files from Scilab scripts ? Message-ID: <21AD1CF2199F4270B4909FEB911E3951@ordi> Hi, I'm using scilab since a few years and I'd like now to compile a bunch of scripts using GUI features to make an executable file. I tried some searches on the internet but they all led me to questions relative to compiling the scilab distribution which is obviously not what I'm looking for... So, I'm wondering whether compiling scilab scripts to make excutable files is possible or not ? Would anyone have an answer and some links to begin with compiling ? Thanks in advance! Jean-Damien -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabrice.wojcicki at cegetel.net Mon Dec 14 15:56:48 2009 From: fabrice.wojcicki at cegetel.net (Fabrice WOJCICKI) Date: Mon, 14 Dec 2009 15:56:48 +0100 Subject: [scilab-Users] How to make executable files from Scilab scripts ? References: <21AD1CF2199F4270B4909FEB911E3951@ordi> Message-ID: <152DD2F0D8A04427985E071D1DF62797@PC302132836219> Hi, A very good question. I saw it was possible and easy on matlab. It would be fine. Best regards. F. W. ----- Original Message ----- From: Jean-Damien Capdeville To: users at lists.scilab.org Sent: Monday, December 14, 2009 3:47 PM Subject: [scilab-Users] How to make executable files from Scilab scripts ? Hi, I'm using scilab since a few years and I'd like now to compile a bunch of scripts using GUI features to make an executable file. I tried some searches on the internet but they all led me to questions relative to compiling the scilab distribution which is obviously not what I'm looking for... So, I'm wondering whether compiling scilab scripts to make excutable files is possible or not ? Would anyone have an answer and some links to begin with compiling ? Thanks in advance! Jean-Damien -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samuel.Gougeon at univ-lemans.fr Mon Dec 14 16:25:12 2009 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Mon, 14 Dec 2009 16:25:12 +0100 Subject: [scilab-Users] How to make executable files from Scilab scripts ? In-Reply-To: <21AD1CF2199F4270B4909FEB911E3951@ordi> References: <21AD1CF2199F4270B4909FEB911E3951@ordi> Message-ID: <4B2658D8.50100@univ-lemans.fr> Hi, ----- Message d'origine ----- De : Jean-Damien Capdeville Date : 14/12/2009 15:47: > Hi, > > I'm using scilab since a few years and I'd like now to compile a bunch > of scripts using GUI features to make an executable file. > > I tried some searches on the internet but they all led me to questions > relative to compiling the scilab distribution which is obviously not > what I'm looking for... > > So, I'm wondering whether compiling scilab scripts to make excutable > files is possible or not ? > Would anyone have an answer and some links to begin with compiling ? > Thanks in advance! > > Jean-Damien You may be interested in the following thread on usenet comp.soft-sys.math.scilab : http://groups.google.com/group/comp.soft-sys.math.scilab/browse_frm/thread/8a18c27c05e6ba54/ab1da7a4839c254?q=#0ab1da7a4839c254 Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Mon Dec 14 16:34:18 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 14 Dec 2009 16:34:18 +0100 Subject: [scilab-Users] How to make executable files from Scilab scripts ? In-Reply-To: <21AD1CF2199F4270B4909FEB911E3951@ordi> References: <21AD1CF2199F4270B4909FEB911E3951@ordi> Message-ID: <1260804858.9907.3991.camel@zlarin> Le lundi 14 d?cembre 2009 ? 15:47 +0100, Jean-Damien Capdeville a ?crit : > Hi, > > I'm using scilab since a few years and I'd like now to compile a bunch > of scripts using GUI features to make an executable file. Can I ask why you can to create an executable ? it is because you don't want people to access to your source code or an other reasons ? Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From jdcapdeville at gmail.com Mon Dec 14 19:06:40 2009 From: jdcapdeville at gmail.com (Jean-Damien Capdeville) Date: Mon, 14 Dec 2009 19:06:40 +0100 Subject: [scilab-Users] How to make executable files from Scilab scripts ? In-Reply-To: <1260804858.9907.3991.camel@zlarin> References: <21AD1CF2199F4270B4909FEB911E3951@ordi> <1260804858.9907.3991.camel@zlarin> Message-ID: <4B3ED714C37348868884EA99F5782F6E@ordi> Thanks for your quick answers... The reasons why I would like to make an executable is: - having a stand-alone program and allowing then the final users to use it without installing scilab, - making it easier to 'install' and use, - protecting my code somehow (even if I already do it by generating libraries), - hoping that it will make the script run faster (not sure of that though)... After reading the link on comp.soft-sys.math.scilab, it's seems that making executable files is not really possible (?) unless C code could be generated with future versions of scilab (?) Do you have more info about that ? Regards, JDamien -----Message d'origine----- De : Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org] Envoy? : lundi 14 d?cembre 2009 16:34 ? : users at lists.scilab.org Objet : Re: [scilab-Users] How to make executable files from Scilab scripts ? Le lundi 14 d?cembre 2009 ? 15:47 +0100, Jean-Damien Capdeville a ?crit : > Hi, > > I'm using scilab since a few years and I'd like now to compile a bunch > of scripts using GUI features to make an executable file. Can I ask why you can to create an executable ? it is because you don't want people to access to your source code or an other reasons ? Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France Ce message entrant est certifi? sans virus connu. Analyse effectu?e par AVG - www.avg.fr Version: 9.0.716 / Base de donn?es virale: 270.14.106/2563 - Date: 12/13/09 20:47:00 From sylvestre.ledru at scilab.org Mon Dec 14 20:53:50 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 14 Dec 2009 20:53:50 +0100 Subject: [scilab-Users] How to make executable files from Scilab scripts ? In-Reply-To: <4B3ED714C37348868884EA99F5782F6E@ordi> References: <21AD1CF2199F4270B4909FEB911E3951@ordi> <1260804858.9907.3991.camel@zlarin> <4B3ED714C37348868884EA99F5782F6E@ordi> Message-ID: <1260820430.9907.4282.camel@zlarin> Strictly speaking, generating native code from Scilab won't happen in a near future. However, regarding what you are trying to do, I see at least two potential solutions: 1) Use the Scilab module called Scilab 2 C. It is available through ATOMS (the packaging system of Scilab 5.2). This allows you to generate some codes but it is limited to some specific domains (signal processing, etc...). As you said your work may be related to GUI, this won't probably work for you. 2) A better solution for you should be to use Scilab as a runtime engine. We provides the capability to run Scilab as a computing engine. It is called call_scilab. Through it, by linking libscilab.{so,dll,dylib} you can some Scilab script... You can embed the Scilab sources into the native code (and therefor hiding them to a lambda user). You can find some documentations/examples on this with Scilab 5.2 (nightly or beta). Don't hesitate if you have any questions, Sylvestre Le lundi 14 d?cembre 2009 ? 19:06 +0100, Jean-Damien Capdeville a ?crit : > Thanks for your quick answers... > > The reasons why I would like to make an executable is: > - having a stand-alone program and allowing then the final users to use it > without installing scilab, > - making it easier to 'install' and use, > - protecting my code somehow (even if I already do it by generating > libraries), > - hoping that it will make the script run faster (not sure of that > though)... > > After reading the link on comp.soft-sys.math.scilab, it's seems that making > executable files is not really possible (?) unless C code could be generated > with future versions of scilab (?) > Do you have more info about that ? > > Regards, > > JDamien > > -----Message d'origine----- > De : Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org] > Envoy? : lundi 14 d?cembre 2009 16:34 > ? : users at lists.scilab.org > Objet : Re: [scilab-Users] How to make executable files from Scilab scripts > ? > > Le lundi 14 d?cembre 2009 ? 15:47 +0100, Jean-Damien Capdeville a ?crit : > > Hi, > > > > I'm using scilab since a few years and I'd like now to compile a bunch > > of scripts using GUI features to make an executable file. > Can I ask why you can to create an executable ? > it is because you don't want people to access to your source code or an > other reasons ? > > Sylvestre > > -- > ------------------------- > Sylvestre Ledru > ------------------------- > The Scilab Consortium > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex > France > > Ce message entrant est certifi? sans virus connu. > Analyse effectu?e par AVG - www.avg.fr > Version: 9.0.716 / Base de donn?es virale: 270.14.106/2563 - Date: 12/13/09 > 20:47:00 > -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From lode.vandesande at lvs-c.com Wed Dec 16 00:16:42 2009 From: lode.vandesande at lvs-c.com (Lode Vande Sande) Date: Wed, 16 Dec 2009 00:16:42 +0100 Subject: Processing 280.000 WAV files - Scilab getting slower and slower to finally die Message-ID: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C8AB@saturnus.lvs-c.com> Hello, I had to position about 10 WAV files in about 28.000 WAV files over the weekend hence I wrote a simple correlation analysis script to open each of the 28.000 files and calculate the correlation with each of the 10 position WAV files. I did this in parallel with 12 manually opened SciLab sessions to speed up things on a 12 core server. I found out that the further I got into the processing of the WAV files the more frequent did SciLab practically died but memory and stack reported to be fine. I also cleared the Command Line History with clc() after each processing of a WAV file to SciLab from slowing down on keeping the command history but still after processing a few thousand WAV files consistently did SciLab become very slow and finally die. Manually restarting got me a few WAV files further but the dieing frequency increased hence I moved some files into a ./processed directory and then the script did better. I finally got through the list with about 70 restarts of SciLab and restarting of the simple script. I then restarted to script to just do a verification loop over all the 28.000 WAV files and verify if each file was processed, as I wrote a xyz.wav.lock file before processing a WAV file to allow some simple parallel processing on the same machine. The script was not even able to verify all the 28.000 .lock files as it practically killed SciLab just running through the files. This gave me the impression that there are some internal issues in SciLab when processing files or looping through many files in a single directory. Does anybody have any idea what to change or improve as I am a relatively new user to SciLab? Is anybody interested to get this problem analysed to the bottom as it might increase the scalability of the SciLab solution for large volume file/WAV processing. Thanks, Lode. L V S . LODE VANDE SANDE - Managing Partner M +32 476 690 448 | T +32 89 323 705 | F +32 89 323 709 lode.vandesande at lvs-c.com | www.lvs-c.com Dorpsstraat 62/2, 3665 As, Belgium -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.marechal at scilab.org Thu Dec 17 09:38:42 2009 From: pierre.marechal at scilab.org (Pierre MARECHAL) Date: Thu, 17 Dec 2009 09:38:42 +0100 Subject: Scilab 5.2.0 is released ! Message-ID: <4B29EE12.7050808@scilab.org> Hello, The Scilab Team is pleased to announce the release of Scilab 5.2.0. Misc information about this version: http://www.scilab.org/download/ * What's new ? * See the 5.2.0 RELEASE_NOTES file * See the 5.2.0 CHANGES file [5.1.1 ? 5.2.0] * See the changes since the beta release [5.2.0-beta-1 ? 5.2.0] Pierre -- ============================================== Pierre MARECHAL Ing?nieur Support et D?veloppements ------ Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex ------ T?l : +33.1.39.63.56.81 ============================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at scilab.org Thu Dec 17 11:25:12 2009 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Thu, 17 Dec 2009 11:25:12 +0100 Subject: [scilab-Users] Report of potential problems with the nelder-mead series of functions In-Reply-To: References: <4B22290B.7060502@scilab.org> Message-ID: <4B2A0708.4070304@scilab.org> Hi S?bastien, 1- I do not clearly understand the purpose of the fix you suggest. The only effect that I see is to initialize all the points in the simplex instead of just the first point. Since these datas are overwritten in the other loop, this is useless to me. I do not see your point here. 2- You are right. I created the bug report #5669: http://bugzilla.scilab.org/show_bug.cgi?id=5669 fixed the bug and added a unit test in the v5.2 branch. (This was a minor problem, though.) 3- I do not find any such line "newobj$nbve <- n + 1" What is the line number that you are interested in ? Best regards, Micha?l PS Do not hesitate to create bug reports by yourself if you find other problems. Whatever the problem, we closely look at them. -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 S?bastien Bihorel a ?crit : > Thank Michael, > > A follow-up report concerning the optimsimplex_pfeffer and > optimsimplex_randbounds functions: > 1- In optimsimplex_pfeffer function, could the following code > > // > // Set 1st point > // > newobj.x ( 1 , 1:n ) = x0 (1,1:n) > // > // Set points #2 to #n+1 > // > for j = 2 : newobj.n+1 > newobj.x ( j,1:n ) = x0 (1:n) > if ( x0( j-1 ) == 0.0 ) then > newobj.x ( j , j-1 ) = deltazero > else > newobj.x ( j , j-1 ) = newobj.x ( j , j-1 ) + deltausual * x0( j-1 ) > end > end > > be replaced by > > // > // Set 1st point > // > newobj.x ( 1:newobj.nbve , : ) = x0 (1:n) .*. ones(newobj.nbve ,1); > // > // Set points #2 to #n+1 > // > for j = 2 :newobj.nbve > if ( x0( j-1 ) == 0.0 ) then > newobj.x ( j , j-1 ) = deltazero > else > newobj.x ( j , j-1 ) = newobj.x ( j , j-1 ) + deltausual * x0( j-1 ) > end > end > > 2- in optimsimplex_randbounds, there is no check that boundsmin and > boundsmax have at least n elements before those calls are made > bminmat = boundsmin( 1,1:n ) .*. ones(nbve-1,1); > bmaxmat = boundsmax( 1,1:n ) .*. ones(nbve-1,1); > > also, should the line > > newobj$nbve <- n + 1 > > not be > > newobj$nbve <- nbve > > ? > > Sebastien > > On Thu, Dec 10, 2009 at 12:02 PM, Micha?l Baudin > > wrote: > > Hi, > > I agree on both points : I will commit a bug fix in branch 5.2 > tomorrow. > > Best regards, > > Micha?l > > S?bastien Bihorel a ?crit : > > Hi, > > I was reading through the code of the fminsearch function and > its wealth of related functions, and was wondering if there > could be a problem with the optimsimplex.axes function. At > this point, I honestly don't know what it is doing but I think > there might be something wrong with the code: > 1- xlen1 is defined but never used. The check that is directly > following its definition is probably supposed to use it but > doesn't > xlen1 = size(len,1) > if size(x0,1)<>1 then > errmsg = msprintf(gettext("%s: The len vector is expected > to be a row matrix, but current shape is %d x > %d"),"optimsimplex_axes",size(len,1),size(len,2)); > error(errmsg); > end > > 2- nothing seems to prevent this call to crash, the dimensions > of xlen and the matrix newobj.x(,) are not cross-checked > newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); > > HIH > > Sebastien > > > > -- > Micha?l Baudin > Ing?nieur de d?veloppement > michael.baudin at scilab.org > ------------------------- > Consortium Scilab - Digiteo > Domaine de Voluceau - Rocquencourt > B.P. 105 - 78153 Le Chesnay Cedex > Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 > > > > > > On Fri, Dec 11, 2009 at 6:12 AM, Micha?l Baudin > > wrote: > > Hi, > > I created a bug report : > http://bugzilla.scilab.org/show_bug.cgi?id=5604 > and fixed the source code in v5.2 branch : > http://gitweb.priv.scilab.org/?p=scilab.git;a=commitdiff;h=8e6a14e2189dde039afc67aaeef3e18aeb0cf869 > > Before, we had : > -->function y = rosenbrock (x) > --> y = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2; > -->endfunction > -->newobj = optimsimplex_new ( "axes" , [1 2] , rosenbrock , [1 2 > 3] ); > !--error 8 > Inconsistent addition. > at line 39 of function optimsimplex_axes called by : at line > 34 of function optimsimplex_new called by : newobj = > optimsimplex_new ( "axes" , [1 2] , rosenbrock , [1 2 3] ); > > Now, you get the message : > optimsimplex_axes: The len vector is not consistent with the x0 > point. Current shape of x0 is 1 x 2 while current shape of len is > 1 x 3. > which is much clearer. > By the way, I improved the error messages of other scripts. > Thank you for reporting that problem. > > > Best regards, > > Micha?l > > S?bastien Bihorel a ?crit : > > Hi, > > > I was reading through the code of the fminsearch function and > its wealth of related functions, and was wondering if there > could be a problem with the optimsimplex.axes function. At > this point, I honestly don't know what it is doing but I think > there might be something wrong with the code: > 1- xlen1 is defined but never used. The check that is directly > following its definition is probably supposed to use it but > doesn't > xlen1 = size(len,1) > if size(x0,1)<>1 then > errmsg = msprintf(gettext("%s: The len vector is expected > to be a row matrix, but current shape is %d x > %d"),"optimsimplex_axes",size(len,1),size(len,2)); > error(errmsg); > end > > 2- nothing seems to prevent this call to crash, the dimensions > of xlen and the matrix newobj.x(,) are not cross-checked > newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); > > HIH > > Sebastien > > > > -- > Micha?l Baudin > Ing?nieur de d?veloppement > michael.baudin at scilab.org > ------------------------- > Consortium Scilab - Digiteo > Domaine de Voluceau - Rocquencourt > B.P. 105 - 78153 Le Chesnay Cedex > Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 > > > From sdr at durietz.se Thu Dec 17 17:02:07 2009 From: sdr at durietz.se (Stefan Du Rietz) Date: Thu, 17 Dec 2009 17:02:07 +0100 Subject: [scilab-Users] Scilab 5.2.0 is released ! In-Reply-To: <4B29EE12.7050808@scilab.org> References: <4B29EE12.7050808@scilab.org> Message-ID: <4B2A55FF.9050005@durietz.se> Hello, everything looks fine, including the graphics (which so far made me stick to 4.1.2). But unfortunately they disappear and Scilab crashes after a split-second... I have used the Windows installer with Windows XP. Regards Stefan On 2009-12-17 09:38, Pierre MARECHAL wrote: -------------------- > Hello, > > The Scilab Team is pleased to announce the release of Scilab 5.2.0. > > Misc information about this version: > http://www.scilab.org/download/ > > * What's new ? > > * See the 5.2.0 RELEASE_NOTES > > file > * See the 5.2.0 CHANGES > file > [5.1.1 ? 5.2.0] > * See the changes > > since the beta release [5.2.0-beta-1 ? 5.2.0] > > > Pierre > > -- > ============================================== > Pierre MARECHAL > Ing?nieur Support et D?veloppements > ------ > Consortium Scilab > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex > ------ > T?l : +33.1.39.63.56.81 > ============================================== > From sylvestre.ledru at scilab.org Fri Dec 18 10:03:02 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 18 Dec 2009 10:03:02 +0100 Subject: [scilab-Users] Scilab 5.2.0 is released ! In-Reply-To: <4B2A55FF.9050005@durietz.se> References: <4B29EE12.7050808@scilab.org> <4B2A55FF.9050005@durietz.se> Message-ID: <1261126982.3163.8740.camel@korcula.inria.fr> Hello, Could you send the result of getdebuginfo() ? My guess is that your graphic card drivers are too old. Sylvestre Le jeudi 17 d?cembre 2009 ? 17:02 +0100, Stefan Du Rietz a ?crit : > Hello, > everything looks fine, including the graphics (which so far made me > stick to 4.1.2). But unfortunately they disappear and Scilab crashes > after a split-second... > > I have used the Windows installer with Windows XP. > > Regards > Stefan > > > On 2009-12-17 09:38, Pierre MARECHAL wrote: > -------------------- > > Hello, > > > > The Scilab Team is pleased to announce the release of Scilab 5.2.0. > > > > Misc information about this version: > > http://www.scilab.org/download/ > > > > * What's new ? > > > > * See the 5.2.0 RELEASE_NOTES > > > > file > > * See the 5.2.0 CHANGES > > file > > [5.1.1 ? 5.2.0] > > * See the changes > > > > since the beta release [5.2.0-beta-1 ? 5.2.0] > > > > > > Pierre > > > > -- > > ============================================== > > Pierre MARECHAL > > Ing?nieur Support et D?veloppements > > ------ > > Consortium Scilab > > Digiteo > > Domaine de Voluceau > > Rocquencourt - B.P. 105 > > 78153 Le Chesnay Cedex > > ------ > > T?l : +33.1.39.63.56.81 > > ============================================== > > > > -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From srikanth.gururajan at gmail.com Fri Dec 18 21:56:45 2009 From: srikanth.gururajan at gmail.com (Srikanth Gururajan) Date: Fri, 18 Dec 2009 15:56:45 -0500 Subject: Scilab 5.2.0 beginner question Message-ID: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> Hi, I am a beginner and I am trying to install Scilab 5.2.0 on Fedora 12. I get an error saying "Could not load JVM dynamic library (libjava)" and "Scilab cannot open JVM library". I would really appreciate any help on setting this up... Thanks, Srik. -- Think Geometrically!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From lode.vandesande at lvs-c.com Sat Dec 19 07:08:21 2009 From: lode.vandesande at lvs-c.com (Lode Vande Sande) Date: Sat, 19 Dec 2009 07:08:21 +0100 Subject: Processing 280.000 WAV files - Scilab getting slower and slower to finally die In-Reply-To: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C8AB@saturnus.lvs-c.com> References: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C8AB@saturnus.lvs-c.com> Message-ID: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C95C@saturnus.lvs-c.com> Hello All, This night I tried to analyse 15.000 separate WAV files by correlating these recordings to another constant WAV file. I started the process with 4 cores in parallel using 4 separate consoles in the hope of finding the results in the morning ... only 5000 WAV files were processed and all 4 Scilab consoles were gone. In short SciLab does not seem to be able to process large amount of WAV files and that problem exists for Scilab v5.1.1. and the latest v5.2.0. I am new to Scilab and would appreciate some guidance in pinpointing the issue to get the scalability up of the solution. Lode. From: Lode Vande Sande [mailto:lode.vandesande at lvs-c.com] Sent: Wednesday, December 16, 2009 12:17 AM To: users at lists.scilab.org Subject: [scilab-Users] Processing 280.000 WAV files - Scilab getting slower and slower to finally die Hello, I had to position about 10 WAV files in about 28.000 WAV files over the weekend hence I wrote a simple correlation analysis script to open each of the 28.000 files and calculate the correlation with each of the 10 position WAV files. I did this in parallel with 12 manually opened SciLab sessions to speed up things on a 12 core server. I found out that the further I got into the processing of the WAV files the more frequent did SciLab practically died but memory and stack reported to be fine. I also cleared the Command Line History with clc() after each processing of a WAV file to SciLab from slowing down on keeping the command history but still after processing a few thousand WAV files consistently did SciLab become very slow and finally die. Manually restarting got me a few WAV files further but the dieing frequency increased hence I moved some files into a ./processed directory and then the script did better. I finally got through the list with about 70 restarts of SciLab and restarting of the simple script. I then restarted to script to just do a verification loop over all the 28.000 WAV files and verify if each file was processed, as I wrote a xyz.wav.lock file before processing a WAV file to allow some simple parallel processing on the same machine. The script was not even able to verify all the 28.000 .lock files as it practically killed SciLab just running through the files. This gave me the impression that there are some internal issues in SciLab when processing files or looping through many files in a single directory. Does anybody have any idea what to change or improve as I am a relatively new user to SciLab? Is anybody interested to get this problem analysed to the bottom as it might increase the scalability of the SciLab solution for large volume file/WAV processing. Thanks, Lode. L V S . LODE VANDE SANDE - Managing Partner M +32 476 690 448 | T +32 89 323 705 | F +32 89 323 709 lode.vandesande at lvs-c.com | www.lvs-c.com Dorpsstraat 62/2, 3665 As, Belgium -------------- next part -------------- An HTML attachment was scrubbed... URL: From jp4work at gmail.com Sat Dec 19 08:59:44 2009 From: jp4work at gmail.com (JIA Pei) Date: Sat, 19 Dec 2009 07:59:44 +0000 Subject: Scilab 5.2 compilation - Could not find the Docbook root directory Message-ID: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> Hi, all: After carefully set up Scilab 5.2 configuration, I still met the following configuration error at the very first stage. *configure: error: Could not find the Docbook root directory. If you have installed it on your system and we haven't been able to find it. Please report a bug* I'm using Ubuntu 9.10 + GCC 4.4.1 I grabbed Docbook 4.5-4 directly from Ubuntu 9.10 repository. I'm now reporting this bug to both Scilab mailing list and DocBook mailing list. Seriously hope somebody may give some hints on how to solve this configuration error? Best Regards JIA -- Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Calixte.Denizet at ac-rennes.fr Sat Dec 19 09:42:19 2009 From: Calixte.Denizet at ac-rennes.fr (Calixte.Denizet at ac-rennes.fr) Date: Sat, 19 Dec 2009 09:42:19 +0100 Subject: [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> Message-ID: Hello Jia, You should install the package docbook-xsl. Best regards, Calixte ----- Message d'origine ----- De: JIA Pei Date: Samedi, D?cembre 19, 2009 8:59 am Objet: [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory ?: users at lists.scilab.org, dev at lists.scilab.org, docbook at lists.oasis-open.org, docbook-apps at lists.oasis-open.org > Hi, all: > > After carefully set up Scilab 5.2 configuration, I still met the following > configuration error at the very first stage. > > *configure: error: Could not find the Docbook root directory. If you have > installed it on your system and we haven't been able to find it. Please > report a bug* > > I'm using Ubuntu 9.10 + GCC 4.4.1 > > I grabbed Docbook 4.5-4 directly from Ubuntu 9.10 repository. > > I'm now reporting this bug to both Scilab mailing list and DocBook mailing > list. > Seriously hope somebody may give some hints on how to solve this > configuration error? > > Best Regards > JIA > > > > -- > Welcome to Vision Open > From sylvestre.ledru at scilab.org Sat Dec 19 16:16:49 2009 From: sylvestre.ledru at scilab.org (sylvestre.ledru at scilab.org) Date: Sat, 19 Dec 2009 16:16:49 +0100 Subject: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> Message-ID: Easier, you can install all build dependencies under Ubuntu with the command: apt-get build-dep scilab will install most of the Scilab build dependencies (except hdf5, jhdf5 and jlatexmath). Sylvestre On Sat, 19 Dec 2009 09:42:19 +0100, wrote: > Hello Jia, > > You should install the package docbook-xsl. > > Best regards, > > Calixte > > ----- Message d'origine ----- > De: JIA Pei > Date: Samedi, D?cembre 19, 2009 8:59 am > Objet: [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook > root directory > ?: users at lists.scilab.org, dev at lists.scilab.org, > docbook at lists.oasis-open.org, docbook-apps at lists.oasis-open.org > > >> Hi, all: >> >> After carefully set up Scilab 5.2 configuration, I still met the >> following >> configuration error at the very first stage. >> >> *configure: error: Could not find the Docbook root directory. If you have >> installed it on your system and we haven't been able to find it. Please >> report a bug* >> >> I'm using Ubuntu 9.10 + GCC 4.4.1 >> >> I grabbed Docbook 4.5-4 directly from Ubuntu 9.10 repository. >> >> I'm now reporting this bug to both Scilab mailing list and DocBook >> mailing >> list. >> Seriously hope somebody may give some hints on how to solve this >> configuration error? >> >> Best Regards >> JIA >> >> >> >> -- >> Welcome to Vision Open >> From jp4work at gmail.com Sat Dec 19 17:55:23 2009 From: jp4work at gmail.com (JIA Pei) Date: Sat, 19 Dec 2009 16:55:23 +0000 Subject: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> Message-ID: <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> Thanks Calixte. After installing "docbook-xsl", now Scilab successfully configured but still failed to compile. Sylvestre, thanks I know I can grab "scilab" directly from Ubuntu repository, but I just don't want to do so. Current compilation failure seems to have something to do with "jgraphx" I just downloaded the most current jgraphx from http://www.jgraph.com/* jgraphx*.html and put it down to /usr/share/java As we can see from http://wiki.scilab.org/Dependencies_of_Scilab_5.X Current scilab is not compatible with jgraphx 1.2 yet, but just 1.0.2 However, where can I find the old jgraphx 1.0.2? Or, when will scilab support jgraphx 1.2? Cheers JIA On Sat, Dec 19, 2009 at 3:16 PM, wrote: > > Easier, you can install all build dependencies under Ubuntu with the > command: > apt-get build-dep scilab > will install most of the Scilab build dependencies (except hdf5, jhdf5 and > jlatexmath). > > Sylvestre > > On Sat, 19 Dec 2009 09:42:19 +0100, wrote: > > Hello Jia, > > > > You should install the package docbook-xsl. > > > > Best regards, > > > > Calixte > > > > ----- Message d'origine ----- > > De: JIA Pei > > Date: Samedi, D?cembre 19, 2009 8:59 am > > Objet: [scilab-Users] Scilab 5.2 compilation - Could not find the > Docbook > > root directory > > ?: users at lists.scilab.org, dev at lists.scilab.org, > > docbook at lists.oasis-open.org, docbook-apps at lists.oasis-open.org > > > > > >> Hi, all: > >> > >> After carefully set up Scilab 5.2 configuration, I still met the > >> following > >> configuration error at the very first stage. > >> > >> *configure: error: Could not find the Docbook root directory. If you > have > >> installed it on your system and we haven't been able to find it. Please > >> report a bug* > >> > >> I'm using Ubuntu 9.10 + GCC 4.4.1 > >> > >> I grabbed Docbook 4.5-4 directly from Ubuntu 9.10 repository. > >> > >> I'm now reporting this bug to both Scilab mailing list and DocBook > >> mailing > >> list. > >> Seriously hope somebody may give some hints on how to solve this > >> configuration error? > >> > >> Best Regards > >> JIA > >> > >> > >> > >> -- > >> Welcome to Vision Open > >> > -- Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jp4work at gmail.com Sat Dec 19 17:59:43 2009 From: jp4work at gmail.com (JIA Pei) Date: Sat, 19 Dec 2009 16:59:43 +0000 Subject: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> Message-ID: <218a26f00912190859u522ebae9md18470217dc7ea8e@mail.gmail.com> What's more Calixte: docbook-xsl now depends on ruby 1.8. However, most of the current ruby based packages are compatible with ruby 1.9 already. So.... I may need to drop questions to docbook mailing list and hope they may keep docbook up-to-date... Thanks. JIA On Sat, Dec 19, 2009 at 4:55 PM, JIA Pei wrote: > > Thanks > > Calixte. After installing "docbook-xsl", now Scilab successfully configured > but still failed to compile. > > Sylvestre, thanks I know I can grab "scilab" directly from Ubuntu > repository, but I just don't want to do so. > > > Current compilation failure seems to have something to do with "jgraphx" > I just downloaded the most current jgraphx from http://www.jgraph.com/* > jgraphx*.html > and put it down to /usr/share/java > > As we can see from http://wiki.scilab.org/Dependencies_of_Scilab_5.X > > Current scilab is not compatible with jgraphx 1.2 yet, but just 1.0.2 > > However, where can I find the old jgraphx 1.0.2? > Or, when will scilab support jgraphx 1.2? > > Cheers > JIA > > > > On Sat, Dec 19, 2009 at 3:16 PM, wrote: > >> >> Easier, you can install all build dependencies under Ubuntu with the >> command: >> apt-get build-dep scilab >> will install most of the Scilab build dependencies (except hdf5, jhdf5 and >> jlatexmath). >> >> Sylvestre >> >> On Sat, 19 Dec 2009 09:42:19 +0100, wrote: >> > Hello Jia, >> > >> > You should install the package docbook-xsl. >> > >> > Best regards, >> > >> > Calixte >> > >> > ----- Message d'origine ----- >> > De: JIA Pei >> > Date: Samedi, D?cembre 19, 2009 8:59 am >> > Objet: [scilab-Users] Scilab 5.2 compilation - Could not find the >> Docbook >> > root directory >> > ?: users at lists.scilab.org, dev at lists.scilab.org, >> > docbook at lists.oasis-open.org, docbook-apps at lists.oasis-open.org >> > >> > >> >> Hi, all: >> >> >> >> After carefully set up Scilab 5.2 configuration, I still met the >> >> following >> >> configuration error at the very first stage. >> >> >> >> *configure: error: Could not find the Docbook root directory. If you >> have >> >> installed it on your system and we haven't been able to find it. Please >> >> report a bug* >> >> >> >> I'm using Ubuntu 9.10 + GCC 4.4.1 >> >> >> >> I grabbed Docbook 4.5-4 directly from Ubuntu 9.10 repository. >> >> >> >> I'm now reporting this bug to both Scilab mailing list and DocBook >> >> mailing >> >> list. >> >> Seriously hope somebody may give some hints on how to solve this >> >> configuration error? >> >> >> >> Best Regards >> >> JIA >> >> >> >> >> >> >> >> -- >> >> Welcome to Vision Open >> >> >> > > > > -- > Welcome to Vision Open > http://www.visionopen.com > -- Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Calixte.Denizet at ac-rennes.fr Sat Dec 19 18:36:55 2009 From: Calixte.Denizet at ac-rennes.fr (Calixte.Denizet at ac-rennes.fr) Date: Sat, 19 Dec 2009 18:36:55 +0100 Subject: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> Message-ID: You can download the prerequirements to compile scilab at http://www.scilab.org/download/index_download.php?page=release#linux Decompress the archive and copy thirdparty/jgraphx.jar into /usr/local/share/java for example. If other jar archive are missing, look at the thirdparty directory. Calixte ----- Message d'origine ----- De: JIA Pei Date: Samedi, D?cembre 19, 2009 5:55 pm Objet: Re: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory ?: users at lists.scilab.org > Thanks > > Calixte. After installing "docbook-xsl", now Scilab successfully configured > but still failed to compile. > > Sylvestre, thanks I know I can grab "scilab" directly from Ubuntu > repository, but I just don't want to do so. > > > Current compilation failure seems to have something to do with "jgraphx" > I just downloaded the most current jgraphx from > jgraphx*.html > and put it down to /usr/share/java > > As we can see from > > Current scilab is not compatible with jgraphx 1.2 yet, but just 1.0.2 > > However, where can I find the old jgraphx 1.0.2? > Or, when will scilab support jgraphx 1.2? > > Cheers > JIA > > > On Sat, Dec 19, 2009 at 3:16 PM, wrote: > > > > > Easier, you can install all build dependencies under Ubuntu with the > > command: > > apt-get build-dep scilab > > will install most of the Scilab build dependencies (except hdf5, > jhdf5 and > > jlatexmath). > > > > Sylvestre > > > > On Sat, 19 Dec 2009 09:42:19 +0100, wrote: > > > Hello Jia, > > > > > > You should install the package docbook-xsl. > > > > > > Best regards, > > > > > > Calixte > > > > > > ----- Message d'origine ----- > > > De: JIA Pei > > > Date: Samedi, D?cembre 19, 2009 8:59 am > > > Objet: [scilab-Users] Scilab 5.2 compilation - Could not find the > > Docbook > > > root directory > > > ?: users at lists.scilab.org, dev at lists.scilab.org, > > > docbook at lists.oasis-open.org, docbook-apps at lists.oasis-open.org > > > > > > > > >> Hi, all: > > >> > > >> After carefully set up Scilab 5.2 configuration, I still met the > > >> following > > >> configuration error at the very first stage. > > >> > > >> *configure: error: Could not find the Docbook root directory. If > you > > have > > >> installed it on your system and we haven't been able to find it. > Please > > >> report a bug* > > >> > > >> I'm using Ubuntu 9.10 + GCC 4.4.1 > > >> > > >> I grabbed Docbook 4.5-4 directly from Ubuntu 9.10 repository. > > >> > > >> I'm now reporting this bug to both Scilab mailing list and DocBook > > >> mailing > > >> list. > > >> Seriously hope somebody may give some hints on how to solve this > > >> configuration error? > > >> > > >> Best Regards > > >> JIA > > >> > > >> > > >> > > >> -- > > >> Welcome to Vision Open > > >> > > > > > > -- > Welcome to Vision Open > From jp4work at gmail.com Sat Dec 19 19:08:15 2009 From: jp4work at gmail.com (JIA Pei) Date: Sat, 19 Dec 2009 18:08:15 +0000 Subject: [scilab-Users] Re : Re: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> Message-ID: <218a26f00912191008v6dc11912o2556cb2768aa83e9@mail.gmail.com> Hi, Thanks Calixte. Just replace "jgraphx.jar", from jgraphx.jar 1.2+ downloaded from http://www.jgraph.com to the prerequirement "jgraphx.jar", everything compiles now. Thank you so much. Best Regards JIA On Sat, Dec 19, 2009 at 5:36 PM, wrote: > You can download the prerequirements to compile scilab at > http://www.scilab.org/download/index_download.php?page=release#linux > Decompress the archive and copy thirdparty/jgraphx.jar into > /usr/local/share/java for example. If other jar archive are missing, look at > the thirdparty directory. > > Calixte > > ----- Message d'origine ----- > De: JIA Pei > Date: Samedi, D?cembre 19, 2009 5:55 pm > Objet: Re: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - > Could not find the Docbook root directory > ?: users at lists.scilab.org > > > > Thanks > > > > Calixte. After installing "docbook-xsl", now Scilab successfully > configured > > but still failed to compile. > > > > Sylvestre, thanks I know I can grab "scilab" directly from Ubuntu > > repository, but I just don't want to do so. > > > > > > Current compilation failure seems to have something to do with "jgraphx" > > I just downloaded the most current jgraphx from > > jgraphx*.html > > and put it down to /usr/share/java > > > > As we can see from > > > > Current scilab is not compatible with jgraphx 1.2 yet, but just 1.0.2 > > > > However, where can I find the old jgraphx 1.0.2? > > Or, when will scilab support jgraphx 1.2? > > > > Cheers > > JIA > > > > > > On Sat, Dec 19, 2009 at 3:16 PM, wrote: > > > > > > > > Easier, you can install all build dependencies under Ubuntu with the > > > command: > > > apt-get build-dep scilab > > > will install most of the Scilab build dependencies (except hdf5, > > jhdf5 and > > > jlatexmath). > > > > > > Sylvestre > > > > > > On Sat, 19 Dec 2009 09:42:19 +0100, > wrote: > > > > Hello Jia, > > > > > > > > You should install the package docbook-xsl. > > > > > > > > Best regards, > > > > > > > > Calixte > > > > > > > > ----- Message d'origine ----- > > > > De: JIA Pei > > > > Date: Samedi, D?cembre 19, 2009 8:59 am > > > > Objet: [scilab-Users] Scilab 5.2 compilation - Could not find the > > > Docbook > > > > root directory > > > > ?: users at lists.scilab.org, dev at lists.scilab.org, > > > > docbook at lists.oasis-open.org, docbook-apps at lists.oasis-open.org > > > > > > > > > > > >> Hi, all: > > > >> > > > >> After carefully set up Scilab 5.2 configuration, I still met the > > > >> following > > > >> configuration error at the very first stage. > > > >> > > > >> *configure: error: Could not find the Docbook root directory. If > > you > > > have > > > >> installed it on your system and we haven't been able to find it. > > Please > > > >> report a bug* > > > >> > > > >> I'm using Ubuntu 9.10 + GCC 4.4.1 > > > >> > > > >> I grabbed Docbook 4.5-4 directly from Ubuntu 9.10 repository. > > > >> > > > >> I'm now reporting this bug to both Scilab mailing list and DocBook > > > >> mailing > > > >> list. > > > >> Seriously hope somebody may give some hints on how to solve this > > > >> configuration error? > > > >> > > > >> Best Regards > > > >> JIA > > > >> > > > >> > > > >> > > > >> -- > > > >> Welcome to Vision Open > > > >> > > > > > > > > > > > -- > > Welcome to Vision Open > > > -- Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Sun Dec 20 12:34:43 2009 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Sun, 20 Dec 2009 12:34:43 +0100 Subject: [scilab-Users] RE: Processing 280.000 WAV files - Scilab getting slower and slower to finally die In-Reply-To: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C95C@saturnus.lvs-c.com> References: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C8AB@saturnus.lvs-c.com> <5932D932C5647145BFF4F1C3ED6ED37AEA3245C95C@saturnus.lvs-c.com> Message-ID: <4B2E0BD3.7040206@limsi.fr> Hello Lode, I have never used scilab to process wav files nor doing heavy audio processing so maybe my suggestions are pointless. First of all, do you get any error message when scilab crashes? This may help you to debug your script. Second, do you free unneeded variables after processing? For instance after processing one file you can delete the variable with the clear command. Last but not least, if scilab is bad at processing directories with a large number of files one solution might be to use a combination of shell scripts and scilab functions. For instance you can write a function which processes a single file (given as parameter) and then quit scilab (with the quit function). Then create a script which invokes scilab with the -nwni, -nb and -e options (see scilab -h) and pass the right parameter to the function. Note that in order for scilab to find your function you may have to load it in your startup file (see startup in scilab help). This increases the time to process a file (because you start and stop scilab for each file) but you are sure that memory is freed and you can then use the shell to do simple parallelization (like starting n process with different args). See attachment as a simple example. Hope that helps, Mathieu Le 19/12/2009 07:08, Lode Vande Sande a ?crit : > Hello All, > > This night I tried to analyse 15.000 separate WAV files by correlating > these recordings to another constant WAV file. > > I started the process with 4 cores in parallel using 4 separate consoles > in the hope of finding the results in the morning ... only 5000 WAV > files were processed and all 4 Scilab consoles were gone. > > In short SciLab does not seem to be able to process large amount of WAV > files and that problem exists for Scilab v5.1.1. and the latest v5.2.0. > > I am new to Scilab and would appreciate some guidance in pinpointing the > issue to get the scalability up of the solution. > > Lode. > > *From:* Lode Vande Sande [mailto:lode.vandesande at lvs-c.com] > *Sent:* Wednesday, December 16, 2009 12:17 AM > *To:* users at lists.scilab.org > *Subject:* [scilab-Users] Processing 280.000 WAV files - Scilab getting > slower and slower to finally die > > Hello, > > I had to position about 10 WAV files in about 28.000 WAV files over the > weekend hence I wrote a simple correlation analysis script to open each > of the 28.000 files and calculate the correlation with each of the 10 > position WAV files. I did this in parallel with 12 manually opened > SciLab sessions to speed up things on a 12 core server. > > I found out that the further I got into the processing of the WAV files > the more frequent did SciLab practically died but memory and stack > reported to be fine. I also cleared the Command Line History with clc() > after each processing of a WAV file to SciLab from slowing down on > keeping the command history but still after processing a few thousand > WAV files consistently did SciLab become very slow and finally die. > Manually restarting got me a few WAV files further but the dieing > frequency increased hence I moved some files into a ./processed > directory and then the script did better. > > I finally got through the list with about 70 restarts of SciLab and > restarting of the simple script. I then restarted to script to just do a > verification loop over all the 28.000 WAV files and verify if each file > was processed, as I wrote a xyz.wav.lock file before processing a WAV > file to allow some simple parallel processing on the same machine. The > script was not even able to verify all the 28.000 .lock files as it > practically killed SciLab just running through the files. This gave me > the impression that there are some internal issues in SciLab when > processing files or looping through many files in a single directory. > > Does anybody have any idea what to change or improve as I am a > relatively new user to SciLab? Is anybody interested to get this problem > analysed to the bottom as it might increase the scalability of the > SciLab solution for large volume file/WAV processing. > > Thanks, > > Lode. > > L V S . > > /LODE VANDE SANDE/ - Managing Partner > > M +32 476 690 448 | T +32 89 323 705 | F +32 89 323 709 > lode.vandesande at lvs-c.com | > www.lvs-c.com > > Dorpsstraat 62/2, 3665 As, Belgium > -------------- next part -------------- A non-text attachment was scrubbed... Name: test_lode.tar.gz Type: application/x-gzip Size: 343 bytes Desc: not available URL: From mathieu.dubois at limsi.fr Sun Dec 20 16:02:19 2009 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Sun, 20 Dec 2009 16:02:19 +0100 Subject: [scilab-Users] Scilab 5.2.0 beginner question In-Reply-To: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> Message-ID: <4B2E3C7B.9060906@limsi.fr> Hello, Obvious question: did you install any JVM? I have not tried 5.2 yet but 5.1.1 works fine under fedora 12. Mathieu Srikanth Gururajan wrote: > Hi, > I am a beginner and I am trying to install Scilab 5.2.0 on Fedora 12. > I get an error saying "Could not load JVM dynamic library (libjava)" > and "Scilab cannot open JVM library". I would really appreciate any > help on setting this up... > > Thanks, > Srik. > > -- > Think Geometrically!!! From Samuel.Gougeon at univ-lemans.fr Sun Dec 20 18:51:21 2009 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Sun, 20 Dec 2009 18:51:21 +0100 Subject: [scilab-Users] RE: Processing 280.000 WAV files - Scilab getting slower and slower to finally die In-Reply-To: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C95C@saturnus.lvs-c.com> References: <5932D932C5647145BFF4F1C3ED6ED37AEA3245C8AB@saturnus.lvs-c.com> <5932D932C5647145BFF4F1C3ED6ED37AEA3245C95C@saturnus.lvs-c.com> Message-ID: <20091220185121.1223436u95mppts0@webmail2.univ-lemans.fr> Hello Lode, Lode Vande Sande a ?crit?: > I am new to Scilab and would appreciate some guidance in pinpointing > the issue to get the scalability up of the solution. Have you checked whether your operating system can accept a maximal number of files in a single directory, and whereas it would be the case, what's the limit ? HTH Samuel From sylvestre.ledru at scilab.org Mon Dec 21 10:12:55 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 21 Dec 2009 10:12:55 +0100 Subject: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> Message-ID: <1261386775.17277.12794.camel@korcula.inria.fr> Le samedi 19 d?cembre 2009 ? 16:55 +0000, JIA Pei a ?crit : > > Thanks > > Calixte. After installing "docbook-xsl", now Scilab successfully > configured but still failed to compile. I don't see where you get a ruby dependency: $ apt-cache show docbook-xsl |grep ruby|wc -l 0 > Sylvestre, thanks I know I can grab "scilab" directly from Ubuntu > repository, but I just don't want to do so. Well, the command I sent you wasn't for the binary install but to install all necessary build dependencies. > > Current compilation failure seems to have something to do with > "jgraphx" > I just downloaded the most current jgraphx from > http://www.jgraph.com/jgraphx.html > and put it down to /usr/share/java > > As we can see from http://wiki.scilab.org/Dependencies_of_Scilab_5.X > > Current scilab is not compatible with jgraphx 1.2 yet, but just 1.0.2 > > However, where can I find the old jgraphx 1.0.2? It is available here: http://www.jgraph.com/downloads/jgraphx/archive/ > Or, when will scilab support jgraphx 1.2? Soon. Jgraphx team changed some important parts in their APIs. We need to update our codes against this version. We haven't done it yet because we had to stabilize our code against a specific version. Sylvestre From sylvestre.ledru at scilab.org Mon Dec 21 11:55:03 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 21 Dec 2009 11:55:03 +0100 Subject: [scilab-Users] Scilab 5.2.0 beginner question In-Reply-To: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> Message-ID: <1261392903.6586.378.camel@korcula.inria.fr> Le vendredi 18 d?cembre 2009 ? 15:56 -0500, Srikanth Gururajan a ?crit : > Hi, > I am a beginner and I am trying to install Scilab 5.2.0 on Fedora 12. > I get an error saying "Could not load JVM dynamic library (libjava)" > and "Scilab cannot open JVM library". I would really appreciate any > help on setting this up... Are you using the binary or the source ? Either ways, could you send me the output of the command: SCIVERBOSE=1 ./bin/scilab started from a terminal. Thanks, Sylvestre -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From ricci2 at unisi.it Mon Dec 21 14:23:02 2009 From: ricci2 at unisi.it (Maso Ricci) Date: Mon, 21 Dec 2009 14:23:02 +0100 Subject: docking windows Message-ID: <4B2F76B6.3000902@unisi.it> Hi all, I wonder whether it is possible to dock Scilab windows under XP. I saw something like that for the mac in the document here(http://www.scilab.org/download/5.2.0/CHANGES_5.2.0.pdf) thanks -- Maso Ricci Ph.D. Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via A. Moro, 2 ? 53100 Siena ITALY Tel: +39 0577 234367 Fax: +39 0577 234177 email: ricci2 at unisi.it From sylvestre.ledru at scilab.org Mon Dec 21 14:28:59 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 21 Dec 2009 14:28:59 +0100 Subject: [scilab-Users] docking windows In-Reply-To: <4B2F76B6.3000902@unisi.it> References: <4B2F76B6.3000902@unisi.it> Message-ID: <1261402139.27014.188.camel@korcula.inria.fr> Le lundi 21 d?cembre 2009 ? 14:23 +0100, Maso Ricci a ?crit : > Hi all, > > I wonder whether it is possible to dock Scilab windows under XP. Yes, It is possible under every operating system... You just have to select the black bar and to drag it on an other Scilab window. You will see the docking system. This works with most of the Scilab features (Xcos, text editor, help browser, etc). We do realize that, at first, this feature is not obvious. However, we will probably improve this part with a concept of workspaces in the version 5.3 of Scilab (and editvar/browsevar available into the docking system). Sylvestre -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From ricci2 at unisi.it Mon Dec 21 14:35:51 2009 From: ricci2 at unisi.it (Maso Ricci) Date: Mon, 21 Dec 2009 14:35:51 +0100 Subject: [scilab-Users] docking windows In-Reply-To: <1261402139.27014.188.camel@korcula.inria.fr> References: <4B2F76B6.3000902@unisi.it> <1261402139.27014.188.camel@korcula.inria.fr> Message-ID: <4B2F79B7.1040103@unisi.it> works!!! cool !!! Now I am considering to jump from the beloved 4.1.2 to 5.2 thanks /maso Sylvestre Ledru wrote: > Le lundi 21 d?cembre 2009 ? 14:23 +0100, Maso Ricci a ?crit : >> Hi all, >> >> I wonder whether it is possible to dock Scilab windows under XP. > Yes, It is possible under every operating system... > You just have to select the black bar and to drag it on an other Scilab > window. You will see the docking system. This works with most of the > Scilab features (Xcos, text editor, help browser, etc). > > We do realize that, at first, this feature is not obvious. However, we > will probably improve this part with a concept of workspaces in the > version 5.3 of Scilab (and editvar/browsevar available into the docking > system). > > Sylvestre > > -- Maso Ricci Ph.D. Dipartimento Farmaco Chimico Tecnologico Universit? degli Studi di Siena Via A. Moro, 2 ? 53100 Siena ITALY Tel: +39 0577 234367 Fax: +39 0577 234177 email: ricci2 at unisi.it From jp4work at gmail.com Mon Dec 21 17:13:58 2009 From: jp4work at gmail.com (JIA Pei) Date: Mon, 21 Dec 2009 16:13:58 +0000 Subject: [scilab-Users] Re : [scilab-Users] Scilab 5.2 compilation - Could not find the Docbook root directory In-Reply-To: <1261386775.17277.12794.camel@korcula.inria.fr> References: <218a26f00912182359j16d2138dm8775a14ead1905c@mail.gmail.com> <218a26f00912190855x4225485fkfb3c007302bf2355@mail.gmail.com> <1261386775.17277.12794.camel@korcula.inria.fr> Message-ID: <218a26f00912210813x1f08488fh24f50f507828bbe2@mail.gmail.com> On Mon, Dec 21, 2009 at 9:12 AM, Sylvestre Ledru wrote: > Le samedi 19 d?cembre 2009 ? 16:55 +0000, JIA Pei a ?crit : > > > > Thanks > > > > Calixte. After installing "docbook-xsl", now Scilab successfully > > configured but still failed to compile. > I don't see where you get a ruby dependency: > $ apt-cache show docbook-xsl |grep ruby|wc -l > 0 > Not the same on my computer Ubuntu 9.10 jiapei at jiapei-laptop:~$ apt-cache show docbook-xsl |grep ruby|wc -l 1 (not 0) > > > Sylvestre, thanks I know I can grab "scilab" directly from Ubuntu > > repository, but I just don't want to do so. > Well, the command I sent you wasn't for the binary install but to > install all necessary build dependencies. > > So, on my computer, it depends on ruby 1.8 > > > > Current compilation failure seems to have something to do with > > "jgraphx" > > I just downloaded the most current jgraphx from > > http://www.jgraph.com/jgraphx.html > > and put it down to /usr/share/java > > > > As we can see from http://wiki.scilab.org/Dependencies_of_Scilab_5.X > > > > Current scilab is not compatible with jgraphx 1.2 yet, but just 1.0.2 > > > > However, where can I find the old jgraphx 1.0.2? > It is available here: > http://www.jgraph.com/downloads/jgraphx/archive/ > Thank you. I got it from prerequired package of scilab already. I neglected that prerequired package due to my carelessness. > > > Or, when will scilab support jgraphx 1.2? > Soon. Jgraphx team changed some important parts in their APIs. We need > to update our codes against this version. We haven't done it yet because > we had to stabilize our code against a specific version. > > Thank you very much for your kind and prompt notification. > Sylvestre > > > Best Regards JIA -- Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From huubvanniekerk at gmail.com Mon Dec 21 20:04:11 2009 From: huubvanniekerk at gmail.com (Huub van Niekerk) Date: Mon, 21 Dec 2009 19:04:11 +0000 (UTC) Subject: Scilab 5.2.0 beginner question References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> Message-ID: On Sun, 20 Dec 2009 16:02:19 +0100, Mathieu Dubois wrote: > Hello, > > Obvious question: did you install any JVM? > > I have not tried 5.2 yet but 5.1.1 works fine under fedora 12. Actually I have the same message about java, and I do have JDK from Sun installed. Earlier versions just work using bin/scilab. As for the output requested by Sylvestre Ledru: # SCIVERBOSE=1 ./bin/scilab SCILABBIN : scilab-bin DISABLE_JAVA_DETECTION : 0 SCILAB_MODE : gui SCI : /opt/scilab-5.2.0/share/scilab SCIBIN : ./bin/scilab-bin PATH : /opt/scilab-5.2.0/bin:./bin:/usr/lib/qt-3.3/bin:/usr/kerberos/ sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/ sbin:/sbin:/opt/real/RealPlayer:/home/huub/bin:/opt/real/RealPlayer:/opt/ real/RealPlayer:/opt/scilab-5.2.0/share/scilab/modules/scicos/ LD_LIBRARY_PATH : /opt/scilab-5.2.0/share/scilab/bin:/opt/scilab-5.2.0/ share/scilab/lib/scilab/:/opt/scilab-5.2.0/share/scilab/lib64/scilab/:/ opt/scilab-5.2.0/lib/scilab:/opt/scilab-5.2.0/lib/thirdparty:/opt/ scilab-5.2.0/thirdparty/java/lib/i386:/opt/scilab-5.2.0/thirdparty/java/ lib/i386/server:/opt/scilab-5.2.0/thirdparty/java/lib/i386/native_threads Could not load JVM dynamic library (libjava). Scilab cannot open JVM library. [root at Ladysmith scilab-5.2.0]# Thanks From srikanth.gururajan at gmail.com Mon Dec 21 20:13:05 2009 From: srikanth.gururajan at gmail.com (Srikanth Gururajan) Date: Mon, 21 Dec 2009 14:13:05 -0500 Subject: [scilab-Users] Re: Scilab 5.2.0 beginner question In-Reply-To: References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> Message-ID: <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> Hi, here is the output as requested by Sylvestre Ledru: [root at Surya bin]# SCIVERBOSE=1 ./scilab SCILABBIN : scilab-bin DISABLE_JAVA_DETECTION : 0 SCILAB_MODE : gui SCI : /root/Downloads/scilab-5.2.0/share/scilab SCIBIN : ./scilab-bin PATH : /root/Downloads/scilab-5.2.0/bin:.:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/Downloads/scilab-5.2.0/share/scilab/modules/scicos/ LD_LIBRARY_PATH : /root/Downloads/scilab-5.2.0/share/scilab/bin:/root/Downloads/scilab-5.2.0/share/scilab/lib/scilab/:/root/Downloads/scilab-5.2.0/share/scilab/lib64/scilab/:/root/Downloads/scilab-5.2.0/lib/scilab:/root/Downloads/scilab-5.2.0/lib/thirdparty:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/server:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/native_threads:/usr/lib/alliance/lib:/usr/lib/alliance/lib:/usr/lib Could not load JVM dynamic library (libjava). Scilab cannot open JVM library. [root at Surya bin]# Thanks for all your help... Srik. On Mon, Dec 21, 2009 at 2:04 PM, Huub van Niekerk wrote: > On Sun, 20 Dec 2009 16:02:19 +0100, Mathieu Dubois wrote: > > > Hello, > > > > Obvious question: did you install any JVM? > > > > I have not tried 5.2 yet but 5.1.1 works fine under fedora 12. > > Actually I have the same message about java, and I do have JDK from Sun > installed. Earlier versions just work using bin/scilab. > > As for the output requested by Sylvestre Ledru: > > # SCIVERBOSE=1 ./bin/scilab > SCILABBIN : scilab-bin > DISABLE_JAVA_DETECTION : 0 > SCILAB_MODE : gui > SCI : /opt/scilab-5.2.0/share/scilab > SCIBIN : ./bin/scilab-bin > PATH : /opt/scilab-5.2.0/bin:./bin:/usr/lib/qt-3.3/bin:/usr/kerberos/ > sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/ > sbin:/sbin:/opt/real/RealPlayer:/home/huub/bin:/opt/real/RealPlayer:/opt/ > real/RealPlayer:/opt/scilab-5.2.0/share/scilab/modules/scicos/ > LD_LIBRARY_PATH : /opt/scilab-5.2.0/share/scilab/bin:/opt/scilab-5.2.0/ > share/scilab/lib/scilab/:/opt/scilab-5.2.0/share/scilab/lib64/scilab/:/ > opt/scilab-5.2.0/lib/scilab:/opt/scilab-5.2.0/lib/thirdparty:/opt/ > scilab-5.2.0/thirdparty/java/lib/i386:/opt/scilab-5.2.0/thirdparty/java/ > lib/i386/server:/opt/scilab-5.2.0/thirdparty/java/lib/i386/native_threads > > Could not load JVM dynamic library (libjava). > > Scilab cannot open JVM library. > [root at Ladysmith scilab-5.2.0]# > > Thanks > > -- Think Geometrically!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From kurevin at gmail.com Tue Dec 22 00:15:58 2009 From: kurevin at gmail.com (Nikolay Kurevin) Date: Tue, 22 Dec 2009 02:15:58 +0300 Subject: Ellipse like plotting Message-ID: *Hi, I have found message below, but it still not answered. So, _any_ solution to plot function like "-(x^2)-(2/(x-5))" ? -->x=(1:0.1:4)'; -->plot2d(x,-(x^2)-(2/(x-5))); !--error 9 Inconsistent subtraction. Subject:* error plotting an ellipse *From:* Huub ####@####.#### *Date:* 9 Jan 2009 17:39:38 +0100 *Message-Id:* ------------------------------ Hi, Using scilab 4.1 on NetBSD/i386 4.0.1, I'm trying to plot an ellipse with equation (x^2/9) + (y^2/4) = 1. However, I get the error "inconsistent addition" which seems to be related to "+" and everything behind it: plot(((x**2)/9)+((y**2)/4)=1) (I made a snapshot, but Pan seems unable to insert it.) What is the reason for the error? Thanks for helping out. Huub -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Tue Dec 22 09:07:37 2009 From: yann.collette at scilab.org (Collette yann) Date: Tue, 22 Dec 2009 09:07:37 +0100 Subject: [scilab-Users] Ellipse like plotting In-Reply-To: References: Message-ID: <4B307E49.8050203@scilab.org> Hello, You must use "dotted" operators to do such computations: plot2d(x,-(x.^2)-((2)./(x-5))) YC Nikolay Kurevin a ?crit : > *Hi, > > I have found message below, but it still not answered. > So, _any_ solution to plot function like "-(x^2)-(2/(x-5))" ? > > -->x=(1:0.1:4)'; > > -->plot2d(x,-(x^2)-(2/(x-5))); > !--error 9 > Inconsistent subtraction. > > > Subject:* error plotting an ellipse > > > *From:* Huub ####@####.#### > > > *Date:* 9 Jan 2009 17:39:38 +0100 > *Message-Id:* > > ------------------------------------------------------------------------ > Hi, > > Using scilab 4.1 on NetBSD/i386 4.0.1, I'm trying to plot an ellipse with > equation (x^2/9) + (y^2/4) = 1. However, I get the error "inconsistent > addition" which seems to be related to "+" and everything behind it: > > > > plot(((x**2)/9)+((y**2)/4)=1) > > (I made a snapshot, but Pan seems unable to insert it.) What is the > reason for the error? > > Thanks for helping out. > > Huub > > From sdr at durietz.se Tue Dec 22 10:43:34 2009 From: sdr at durietz.se (Stefan Du Rietz) Date: Tue, 22 Dec 2009 10:43:34 +0100 Subject: [scilab-Users] Scilab 5.2.0 is released ! In-Reply-To: <1261126982.3163.8740.camel@korcula.inria.fr> References: <4B29EE12.7050808@scilab.org> <4B2A55FF.9050005@durietz.se> <1261126982.3163.8740.camel@korcula.inria.fr> Message-ID: <4B3094C6.3060603@durietz.se> Hello, I tried Scilab 5.2.0 on two other computers and the graphics worked. But the issues which I reported a year ago: http://bugzilla.scilab.org/show_bug.cgi?id=3881 remained. So I still have to stick to 4.2.1... This is from the first computer where it crashed: -->getdebuginfo() ans = !Memory in use: 35 % ! ! ! !Total Physical Memory (Kbytes): 2620960 ! ! ! !Free Physical Memory (Kbytes): 1683124 ! ! ! !Total Paging File (Kbytes): 5605224 ! ! ! !Free Paging File (Kbytes): 4653204 ! ! ! !Total Virtual Memory (Kbytes): 2097024 ! ! ! !Free Virtual Memory (Kbytes): 1584952 ! ! ! !Free Extended Memory (Kbytes): 0 ! ! ! !Operating System: Windows XP ! ! ! ! Intel(R) Pentium(R) 4 CPU 1.80GHz ! ! ! !Number of processors: 1 ! ! ! !Video card: ATI Radeon HD 2600 Series ! ! ! !Video card driver version: 8.632.0.0 ! ! ! !Screen size: 1280 x 1024 32 bits ! ! ! !Number of Monitors: 2 ! ! ! !Path: D:/Scilab-5/scilab-5.2.0/bin;C:\WINDOWS\system32;C:\WINDOWS! ! ;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\! ! ATI.ACE\Core-Static;C:\Program Files\CheckPoint\fde ! ! ! !ComSpec: C:\WINDOWS\system32\cmd.exe ! ! ! !TMP : C:\DOCUME~1\Stefan\LOCALS~1\Temp ! ! ! !TEMP: C:\DOCUME~1\Stefan\LOCALS~1\Temp ! This driver (from 2009-08-04) was installed from 9-7_agp-hotfix_xp32_dd_ccc.exe and there have been no other issues since. Then I checked http://support.amd.com/us/kbarticles/Pages/CatalystAGPHotfix.aspx for a new driver and found 9-12_agp-hotfix_xp32_dd_ccc.exe which I ran (after having uninstalled the old one) and it said that it would install ATI Display Driver 8.681.0.0000. But Scilab still crashed and the driver was the same: 8.632.0.0... ;-( -->getdebuginfo() gave exactly the same answer. Stefan On 2009-12-18 10:03, Sylvestre Ledru wrote: -------------------- > Hello, > > Could you send the result of getdebuginfo() ? > My guess is that your graphic card drivers are too old. > > Sylvestre > > > Le jeudi 17 d?cembre 2009 ? 17:02 +0100, Stefan Du Rietz a ?crit : >> Hello, >> everything looks fine, including the graphics (which so far made me >> stick to 4.1.2). But unfortunately they disappear and Scilab crashes >> after a split-second... >> >> I have used the Windows installer with Windows XP. >> >> Regards >> Stefan >> >> >> On 2009-12-17 09:38, Pierre MARECHAL wrote: >> -------------------- >>> Hello, >>> >>> The Scilab Team is pleased to announce the release of Scilab 5.2.0. >>> >>> Misc information about this version: >>> http://www.scilab.org/download/ >>> >>> * What's new ? >>> >>> * See the 5.2.0 RELEASE_NOTES >>> >>> file >>> * See the 5.2.0 CHANGES >>> file >>> [5.1.1 ? 5.2.0] >>> * See the changes >>> >>> since the beta release [5.2.0-beta-1 ? 5.2.0] >>> >>> >>> Pierre >>> >>> -- >>> ============================================== >>> Pierre MARECHAL >>> Ing?nieur Support et D?veloppements >>> ------ >>> Consortium Scilab >>> Digiteo >>> Domaine de Voluceau >>> Rocquencourt - B.P. 105 >>> 78153 Le Chesnay Cedex >>> ------ >>> T?l : +33.1.39.63.56.81 >>> ============================================== >>> >> > > From huubvanniekerk at gmail.com Tue Dec 22 14:11:56 2009 From: huubvanniekerk at gmail.com (Huub van Niekerk) Date: Tue, 22 Dec 2009 13:11:56 +0000 (UTC) Subject: Scilab 5.2.0 beginner question References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> Message-ID: On Mon, 21 Dec 2009 19:04:11 +0000, Huub van Niekerk wrote: > On Sun, 20 Dec 2009 16:02:19 +0100, Mathieu Dubois wrote: > Addition: the output I posted is from Fedora 12. On OpenSuse 11.2, it installs and runs ok. From sylvestre.ledru at scilab.org Tue Dec 22 14:37:53 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 22 Dec 2009 14:37:53 +0100 Subject: [scilab-Users] Re: Scilab 5.2.0 beginner question In-Reply-To: <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> Message-ID: <1261489073.3469.763.camel@korcula.inria.fr> Hello guys, Thanks for your feedback. It is most probably selinux which is messing around. Could you try: find thirdparty/java/ -iname "*.so" -exec execstack -c {} \; and let me know if it is working or not ? Thanks Sylvestre Le lundi 21 d?cembre 2009 ? 14:13 -0500, Srikanth Gururajan a ?crit : > Hi, > here is the output as requested by Sylvestre Ledru: > > [root at Surya bin]# SCIVERBOSE=1 ./scilab > SCILABBIN : scilab-bin > DISABLE_JAVA_DETECTION : 0 > SCILAB_MODE : gui > SCI : /root/Downloads/scilab-5.2.0/share/scilab > SCIBIN : ./scilab-bin > PATH : /root/Downloads/scilab-5.2.0/bin:.:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/Downloads/scilab-5.2.0/share/scilab/modules/scicos/ > LD_LIBRARY_PATH : /root/Downloads/scilab-5.2.0/share/scilab/bin:/root/Downloads/scilab-5.2.0/share/scilab/lib/scilab/:/root/Downloads/scilab-5.2.0/share/scilab/lib64/scilab/:/root/Downloads/scilab-5.2.0/lib/scilab:/root/Downloads/scilab-5.2.0/lib/thirdparty:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/server:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/native_threads:/usr/lib/alliance/lib:/usr/lib/alliance/lib:/usr/lib > > Could not load JVM dynamic library (libjava). > > Scilab cannot open JVM library. > [root at Surya bin]# > > Thanks for all your help... > Srik. > > On Mon, Dec 21, 2009 at 2:04 PM, Huub van Niekerk > wrote: > On Sun, 20 Dec 2009 16:02:19 +0100, Mathieu Dubois wrote: > > > Hello, > > > > Obvious question: did you install any JVM? > > > > I have not tried 5.2 yet but 5.1.1 works fine under fedora > 12. > > > Actually I have the same message about java, and I do have JDK > from Sun > installed. Earlier versions just work using bin/scilab. > > As for the output requested by Sylvestre Ledru: > > # SCIVERBOSE=1 ./bin/scilab > SCILABBIN : scilab-bin > DISABLE_JAVA_DETECTION : 0 > SCILAB_MODE : gui > SCI : /opt/scilab-5.2.0/share/scilab > SCIBIN : ./bin/scilab-bin > PATH : /opt/scilab-5.2.0/bin:./bin:/usr/lib/qt-3.3/bin:/usr/kerberos/ > sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/ > sbin:/sbin:/opt/real/RealPlayer:/home/huub/bin:/opt/real/RealPlayer:/opt/ > real/RealPlayer:/opt/scilab-5.2.0/share/scilab/modules/scicos/ > LD_LIBRARY_PATH : /opt/scilab-5.2.0/share/scilab/bin:/opt/scilab-5.2.0/ > share/scilab/lib/scilab/:/opt/scilab-5.2.0/share/scilab/lib64/scilab/:/ > opt/scilab-5.2.0/lib/scilab:/opt/scilab-5.2.0/lib/thirdparty:/opt/ > scilab-5.2.0/thirdparty/java/lib/i386:/opt/scilab-5.2.0/thirdparty/java/ > lib/i386/server:/opt/scilab-5.2.0/thirdparty/java/lib/i386/native_threads > > Could not load JVM dynamic library (libjava). > > Scilab cannot open JVM library. > > [root at Ladysmith scilab-5.2.0]# > > Thanks > > > > > -- > Think Geometrically!!! -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From huubvanniekerk at gmail.com Tue Dec 22 14:56:25 2009 From: huubvanniekerk at gmail.com (Huub van Niekerk) Date: Tue, 22 Dec 2009 13:56:25 +0000 (UTC) Subject: Scilab 5.2.0 beginner question References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> Message-ID: On Tue, 22 Dec 2009 14:37:53 +0100, Sylvestre Ledru wrote: > Hello guys, > > Thanks for your feedback. > It is most probably selinux which is messing around. > > Could you try: > find thirdparty/java/ -iname "*.so" -exec execstack -c {} \; and let me > know if it is working or not ? Tried: find /opt/jdk1.6.0_17/jre/ -iname "*.so" -exec execstack -c {} \; and find /opt/jdk1.6.0_17/ -iname "*.so" -exec execstack -c {} \; No results given. From sylvestre.ledru at scilab.org Tue Dec 22 14:58:47 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 22 Dec 2009 14:58:47 +0100 Subject: [scilab-Users] Re: Scilab 5.2.0 beginner question In-Reply-To: References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> Message-ID: <1261490327.3469.833.camel@korcula.inria.fr> Le mardi 22 d?cembre 2009 ? 13:56 +0000, Huub van Niekerk a ?crit : > On Tue, 22 Dec 2009 14:37:53 +0100, Sylvestre Ledru wrote: > > > Hello guys, > > > > Thanks for your feedback. > > It is most probably selinux which is messing around. > > > > Could you try: > > find thirdparty/java/ -iname "*.so" -exec execstack -c {} \; and let me > > know if it is working or not ? > > Tried: > > find /opt/jdk1.6.0_17/jre/ -iname "*.so" -exec execstack -c {} \; > > and > > find /opt/jdk1.6.0_17/ -iname "*.so" -exec execstack -c {} \; > > No results given. Please try the command I provided on the Scilab binary and not on your own installation of the JDK. Scilab binary embeds a JVM. Sylvestre -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From huubvanniekerk at gmail.com Tue Dec 22 15:13:45 2009 From: huubvanniekerk at gmail.com (Huub van Niekerk) Date: Tue, 22 Dec 2009 14:13:45 +0000 (UTC) Subject: Scilab 5.2.0 beginner question References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> <1261490327.3469.833.camel@korcula.inria.fr> Message-ID: > Please try the command I provided on the Scilab binary and not on your > own installation of the JDK. Scilab binary embeds a JVM. Sorry, I don't quite understand. How should I put the command then? As you gave it? That returns nothing. From sylvestre.ledru at scilab.org Tue Dec 22 15:17:21 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 22 Dec 2009 15:17:21 +0100 Subject: [scilab-Users] Re: Scilab 5.2.0 beginner question In-Reply-To: References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> <1261490327.3469.833.camel@korcula.inria.fr> Message-ID: <1261491441.3469.897.camel@korcula.inria.fr> Le mardi 22 d?cembre 2009 ? 14:13 +0000, Huub van Niekerk a ?crit : > > Please try the command I provided on the Scilab binary and not on your > > own installation of the JDK. Scilab binary embeds a JVM. > > Sorry, I don't quite understand. How should I put the command then? At the root directory of the Scilab binary you downloaded. > As you gave it? That returns nothing. It is normal. It is supposed to give permissions to the use of the JVM libraries in the context of SELinux. Sylvestre -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From huubvanniekerk at gmail.com Tue Dec 22 15:35:59 2009 From: huubvanniekerk at gmail.com (Huub van Niekerk) Date: Tue, 22 Dec 2009 14:35:59 +0000 (UTC) Subject: Scilab 5.2.0 beginner question References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> <1261490327.3469.833.camel@korcula.inria.fr> <1261491441.3469.897.camel@korcula.inria.fr> Message-ID: >> >> Sorry, I don't quite understand. How should I put the command then? > At the root directory of the Scilab binary you downloaded. > Ok did that. >> As you gave it? That returns nothing. > It is normal. It is supposed to give permissions to the use of the JVM > libraries in the context of SELinux. Ok, tried to start scilab, but got this again: $ bin/scilab Could not load JVM dynamic library (libjava). Scilab cannot open JVM library. From srikanth.gururajan at gmail.com Tue Dec 22 16:25:58 2009 From: srikanth.gururajan at gmail.com (Srikanth Gururajan) Date: Tue, 22 Dec 2009 10:25:58 -0500 Subject: [scilab-Users] Re: Scilab 5.2.0 beginner question In-Reply-To: References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> <1261490327.3469.833.camel@korcula.inria.fr> <1261491441.3469.897.camel@korcula.inria.fr> Message-ID: <585e585c0912220725j7eaa614ar5984be2508f849c9@mail.gmail.com> Hi, I did the same, and got the same results. Srik. On Tue, Dec 22, 2009 at 9:35 AM, Huub van Niekerk wrote: > >> > >> Sorry, I don't quite understand. How should I put the command then? > > At the root directory of the Scilab binary you downloaded. > > > > Ok did that. > > >> As you gave it? That returns nothing. > > It is normal. It is supposed to give permissions to the use of the JVM > > libraries in the context of SELinux. > > Ok, tried to start scilab, but got this again: > > $ bin/scilab > > Could not load JVM dynamic library (libjava). > > Scilab cannot open JVM library. > > > -- Think Geometrically!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlesmarchetti at yahoo.com Tue Dec 22 17:50:30 2009 From: charlesmarchetti at yahoo.com (charles marchetti) Date: Tue, 22 Dec 2009 08:50:30 -0800 (PST) Subject: Description of Kalm function In-Reply-To: <1261481956.3469.388.camel@korcula.inria.fr> Message-ID: <48552.31496.qm@web24105.mail.ird.yahoo.com> Good morning, I wanted to use the kalm function developed in scilab. I used a model very simple in dimension 2. However, by typing equations of the kalman filter, and by making turned the algorithm on an iteration, I didn't get the same results. Then, I went on the site of Del Moral and I saw that initial conditions must be used to initialize? updated equation and not that of prediction On a long interval of time, if the filter converges, it's not bad. Yet, with treatment on the estimation at the begining, it's obviously awfull. There are two schools: So the description of this function is not so clear... > > > > > > > >? ? ??? > > > -- > Sylvestre Ledru > ------------------------- > The Scilab Consortium > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex > France > > > > From sylvestre.ledru at scilab.org Wed Dec 23 17:08:10 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 23 Dec 2009 17:08:10 +0100 Subject: [scilab-Users] Re: Scilab 5.2.0 beginner question In-Reply-To: <1261489073.3469.763.camel@korcula.inria.fr> References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> Message-ID: <1261584490.3469.6041.camel@korcula.inria.fr> I confirm that is not a Scilab issue but a SELinux configuration problem. To allow the startup of Scilab, please do: # chcon -t textrel_shlib_t '/path/to/Scilab/Binary/thirdparty/java/lib/i386/server/libjvm.so' => You might need to adapt the path if you are using a 64 bits CPU. and # chcon -t execmem_exec_t '/path/to/Scilab/Binary/bin/scilab-bin' Sylvestre Le mardi 22 d?cembre 2009 ? 14:37 +0100, Sylvestre Ledru a ?crit : > Hello guys, > > Thanks for your feedback. > It is most probably selinux which is messing around. > > Could you try: > find thirdparty/java/ -iname "*.so" -exec execstack -c {} \; > and let me know if it is working or not ? > > Thanks > Sylvestre > > > Le lundi 21 d?cembre 2009 ? 14:13 -0500, Srikanth Gururajan a ?crit : > > Hi, > > here is the output as requested by Sylvestre Ledru: > > > > [root at Surya bin]# SCIVERBOSE=1 ./scilab > > SCILABBIN : scilab-bin > > DISABLE_JAVA_DETECTION : 0 > > SCILAB_MODE : gui > > SCI : /root/Downloads/scilab-5.2.0/share/scilab > > SCIBIN : ./scilab-bin > > PATH : /root/Downloads/scilab-5.2.0/bin:.:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/bin:/usr/lib/alliance/bin:/usr/libexec/sdcc:/root/Downloads/scilab-5.2.0/share/scilab/modules/scicos/ > > LD_LIBRARY_PATH : /root/Downloads/scilab-5.2.0/share/scilab/bin:/root/Downloads/scilab-5.2.0/share/scilab/lib/scilab/:/root/Downloads/scilab-5.2.0/share/scilab/lib64/scilab/:/root/Downloads/scilab-5.2.0/lib/scilab:/root/Downloads/scilab-5.2.0/lib/thirdparty:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/server:/root/Downloads/scilab-5.2.0/thirdparty/java/lib/i386/native_threads:/usr/lib/alliance/lib:/usr/lib/alliance/lib:/usr/lib > > > > Could not load JVM dynamic library (libjava). > > > > Scilab cannot open JVM library. > > [root at Surya bin]# > > > > Thanks for all your help... > > Srik. > > > > On Mon, Dec 21, 2009 at 2:04 PM, Huub van Niekerk > > wrote: > > On Sun, 20 Dec 2009 16:02:19 +0100, Mathieu Dubois wrote: > > > > > Hello, > > > > > > Obvious question: did you install any JVM? > > > > > > I have not tried 5.2 yet but 5.1.1 works fine under fedora > > 12. > > > > > > Actually I have the same message about java, and I do have JDK > > from Sun > > installed. Earlier versions just work using bin/scilab. > > > > As for the output requested by Sylvestre Ledru: > > > > # SCIVERBOSE=1 ./bin/scilab > > SCILABBIN : scilab-bin > > DISABLE_JAVA_DETECTION : 0 > > SCILAB_MODE : gui > > SCI : /opt/scilab-5.2.0/share/scilab > > SCIBIN : ./bin/scilab-bin > > PATH : /opt/scilab-5.2.0/bin:./bin:/usr/lib/qt-3.3/bin:/usr/kerberos/ > > sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/ > > sbin:/sbin:/opt/real/RealPlayer:/home/huub/bin:/opt/real/RealPlayer:/opt/ > > real/RealPlayer:/opt/scilab-5.2.0/share/scilab/modules/scicos/ > > LD_LIBRARY_PATH : /opt/scilab-5.2.0/share/scilab/bin:/opt/scilab-5.2.0/ > > share/scilab/lib/scilab/:/opt/scilab-5.2.0/share/scilab/lib64/scilab/:/ > > opt/scilab-5.2.0/lib/scilab:/opt/scilab-5.2.0/lib/thirdparty:/opt/ > > scilab-5.2.0/thirdparty/java/lib/i386:/opt/scilab-5.2.0/thirdparty/java/ > > lib/i386/server:/opt/scilab-5.2.0/thirdparty/java/lib/i386/native_threads > > > > Could not load JVM dynamic library (libjava). > > > > Scilab cannot open JVM library. > > > > [root at Ladysmith scilab-5.2.0]# > > > > Thanks > > > > > > > > > > -- > > Think Geometrically!!! > > -- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From huubvanniekerk at gmail.com Wed Dec 23 20:57:08 2009 From: huubvanniekerk at gmail.com (Huub van Niekerk) Date: Wed, 23 Dec 2009 19:57:08 +0000 (UTC) Subject: Scilab 5.2.0 beginner question References: <585e585c0912181256w65b7d591gafaeda298c16ab74@mail.gmail.com> <4B2E3C7B.9060906@limsi.fr> <585e585c0912211113t66cb82a2p6533e24b464cb6c3@mail.gmail.com> <1261489073.3469.763.camel@korcula.inria.fr> <1261584490.3469.6041.camel@korcula.inria.fr> Message-ID: On Wed, 23 Dec 2009 17:08:10 +0100, Sylvestre Ledru wrote: > I confirm that is not a Scilab issue but a SELinux configuration > problem. > Solution confirmed. It's working. Thank you. From celso.co at gmail.com Thu Dec 24 02:22:35 2009 From: celso.co at gmail.com (Celso Co) Date: Thu, 24 Dec 2009 09:22:35 +0800 Subject: [scilab-Users] Ellipse like plotting In-Reply-To: References: Message-ID: <6b5218250912231722h4a6020bew5b34f38292d6fbb3@mail.gmail.com> On Tue, Dec 22, 2009 at 7:15 AM, Nikolay Kurevin wrote: > Hi, > > I have found message below, but it still not answered. > So, _any_ solution to plot function like "-(x^2)-(2/(x-5))"? ? > > -->x=(1:0.1:4)'; > > -->plot2d(x,-(x^2)-(2/(x-5))); > ????????????????????????? !--error 9 > Inconsistent subtraction. > > > Subject: error plotting an ellipse > From: Huub ####@####.#### > Date: 9 Jan 2009 17:39:38 +0100 > Message-Id: > ________________________________ > > Hi, > > Using scilab 4.1 on NetBSD/i386 4.0.1, I'm trying to plot an ellipse with > equation (x^2/9) + (y^2/4) = 1. However, I get the error "inconsistent > addition" which seems to be related to "+" and everything behind it: > > > plot(((x**2)/9)+((y**2)/4)=1) > > (I made a snapshot, but Pan seems unable to insert it.) What is the > reason for the error? > > Thanks for helping out. > > Huub > > -- Eng'r Celso B. Co, PhD ECE Assistant Professor Dept. of Electronics, Computer, and Communication Engineering, Loyola Schools of Science and Engineering, Ateneo De Manila -------------- next part -------------- A non-text attachment was scrubbed... Name: Question of Nicolai Kurevin.sci Type: application/octet-stream Size: 694 bytes Desc: not available URL: From celso.co at gmail.com Thu Dec 24 11:27:21 2009 From: celso.co at gmail.com (Celso Co) Date: Thu, 24 Dec 2009 18:27:21 +0800 Subject: [scilab-Users] Ellipse like plotting In-Reply-To: References: Message-ID: <6b5218250912240227q215ffeb7y2f3b45e34f808473@mail.gmail.com> Dear Nicolay, Please see attached scilab file. Regards, cco On Tue, Dec 22, 2009 at 7:15 AM, Nikolay Kurevin wrote: > Hi, > > I have found message below, but it still not answered. > So, _any_ solution to plot function like "-(x^2)-(2/(x-5))"? ? > > -->x=(1:0.1:4)'; > > -->plot2d(x,-(x^2)-(2/(x-5))); > ????????????????????????? !--error 9 > Inconsistent subtraction. > > > Subject: error plotting an ellipse > From: Huub ####@####.#### > Date: 9 Jan 2009 17:39:38 +0100 > Message-Id: > ________________________________ > > Hi, > > Using scilab 4.1 on NetBSD/i386 4.0.1, I'm trying to plot an ellipse with > equation (x^2/9) + (y^2/4) = 1. However, I get the error "inconsistent > addition" which seems to be related to "+" and everything behind it: > > > plot(((x**2)/9)+((y**2)/4)=1) > > (I made a snapshot, but Pan seems unable to insert it.) What is the > reason for the error? > > Thanks for helping out. > > Huub > > -- Eng'r Celso B. Co, PhD ECE Assistant Professor Dept. of Electronics, Computer, and Communication Engineering, Loyola Schools of Science and Engineering, Ateneo De Manila -------------- next part -------------- A non-text attachment was scrubbed... Name: Question of Nicolai Kurevin.sci Type: application/octet-stream Size: 694 bytes Desc: not available URL: From jlvolta at hipuu.com.py Thu Dec 24 22:31:48 2009 From: jlvolta at hipuu.com.py (=?iso-8859-1?Q?Jos=E9_Luis_Volta_Grau?=) Date: Thu, 24 Dec 2009 18:31:48 -0300 Subject: Add chapters to Scilab help system Message-ID: <43DD5CFB3D5341B8865D25CF81F7218B@usera1d930417d> Hi, I've tried to add a help chapter for my functions to the Scilab-5.2.0 help system, as I did with version 4.1.2 But Scilab rises an error when I try to access the global constant "%helps", and nothing happens when I use the "add_help_chapter" function (my help chapter doesn't appear). What's the difference between the 5.2.0 and 4.1.2 versions ? I would appreciate some help, J.L.V. -------------- next part -------------- An HTML attachment was scrubbed... URL: From grocer.toolbox at gmail.com Fri Dec 25 10:51:49 2009 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Fri, 25 Dec 2009 10:51:49 +0100 Subject: [scilab-Users] Add chapters to Scilab help system In-Reply-To: <43DD5CFB3D5341B8865D25CF81F7218B@usera1d930417d> References: <43DD5CFB3D5341B8865D25CF81F7218B@usera1d930417d> Message-ID: Hi There are indeed big differences between the 4.1.2 and the 5.2.0. The greatest is that help files must now be written in the XML langage and strictly comply with Scilab specifications. When your help files comply with Scilab specifications that you have to run xml2jar('avaHelp',helps_dirs,helps_titles) And once it has been done, you must run: add_help_chapter(your title','helps_dir',%f); To understand how it works, you can for instance have a look at Torbj?rn Pettersen toolbox guimaker (1.2)( http://www.scilab.org/contrib/index_contrib.php?page=listdyn&order=date). If it can help, I have written a Scilab function html2xml.sci to translate my help files. Altough it is only suited to my needs, I think it could be adapted to your needs relatively easily. I join also a html file and its xml version to help you understand how it works. If you need more examples, you can download on my web site (http://dubois.ensae.net/grocer.html) the version of my toolbox for Siclab-4.1.2 and the one for Scilab-5.> and compare the html and xml files resulting from this translation. Hope it will help. Eric. 2009/12/24 Jos? Luis Volta Grau > Hi, > I've tried to add a help chapter for my functions to the Scilab-5.2.0 help > system, as I did with version 4.1.2 > But Scilab rises an error when I try to access the global constant > "%helps", and nothing happens when I use the "add_help_chapter" function (my > help chapter doesn't appear). > What's the difference between the 5.2.0 and 4.1.2 versions ? > > I would appreciate some help, > J.L.V. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: html2xml.sci Type: application/octet-stream Size: 10514 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ols.xml Type: text/xml Size: 6649 bytes Desc: not available URL: From jlvolta at hipuu.com.py Fri Dec 25 20:13:49 2009 From: jlvolta at hipuu.com.py (=?iso-8859-1?Q?Jos=E9_Luis_Volta_Grau?=) Date: Fri, 25 Dec 2009 16:13:49 -0300 Subject: [scilab-Users] Add chapters to Scilab help system References: <43DD5CFB3D5341B8865D25CF81F7218B@usera1d930417d> Message-ID: <681D8E66219544C8A2396DB35FC61C9F@usera1d930417d> Thank you, Eric, that really help me a lot; I'd writen some help files in XML language, following the scheme of the "help_skeleton" function; then I translate them using the "xmltohtml" function; to load these .htmls' in the Scilab help system I ran "add_help_chapter" function; this works fine in 4.1.2 release. Do you mean I should have to change "xmltohtml" by "xmltojar"; or maybe I have to use the new version of XML "help_skeleton" with Sci-5.2 ? I will try both... J.L. ----- Original Message ----- From: Eric Dubois To: users at lists.scilab.org Sent: Friday, December 25, 2009 6:51 AM Subject: Re: [scilab-Users] Add chapters to Scilab help system Hi There are indeed big differences between the 4.1.2 and the 5.2.0. The greatest is that help files must now be written in the XML langage and strictly comply with Scilab specifications. When your help files comply with Scilab specifications that you have to run xml2jar('avaHelp',helps_dirs,helps_titles) And once it has been done, you must run: add_help_chapter(your title','helps_dir',%f); To understand how it works, you can for instance have a look at Torbj?rn Pettersen toolbox guimaker (1.2) (http://www.scilab.org/contrib/index_contrib.php?page=listdyn&order=date). If it can help, I have written a Scilab function html2xml.sci to translate my help files. Altough it is only suited to my needs, I think it could be adapted to your needs relatively easily. I join also a html file and its xml version to help you understand how it works. If you need more examples, you can download on my web site (http://dubois.ensae.net/grocer.html) the version of my toolbox for Siclab-4.1.2 and the one for Scilab-5.> and compare the html and xml files resulting from this translation. Hope it will help. Eric. 2009/12/24 Jos? Luis Volta Grau Hi, I've tried to add a help chapter for my functions to the Scilab-5.2.0 help system, as I did with version 4.1.2 But Scilab rises an error when I try to access the global constant "%helps", and nothing happens when I use the "add_help_chapter" function (my help chapter doesn't appear). What's the difference between the 5.2.0 and 4.1.2 versions ? I would appreciate some help, J.L.V. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pomchip at free.fr Fri Dec 25 17:14:11 2009 From: pomchip at free.fr (=?ISO-8859-1?Q?S=E9bastien_Bihorel?=) Date: Fri, 25 Dec 2009 11:14:11 -0500 Subject: [scilab-Users] Report of potential problems with the nelder-mead series of functions In-Reply-To: <4B2A0708.4070304@scilab.org> References: <4B22290B.7060502@scilab.org> <4B2A0708.4070304@scilab.org> Message-ID: Hi Micheal, Sorry for the late reply About issue #1: the purpose was to replaced multiple calls by a single one, which I believe should in most case make any code faster... About issue #3: the line of interest was line 497 (or 492 in the beta version).... but I realize now that I was really tired when I wrote this email, because of the typo and the lack of rationale of this #3 issue. Sorry about that! Sebastien On Thu, Dec 17, 2009 at 5:25 AM, Micha?l Baudin wrote: > Hi S?bastien, > > 1- I do not clearly understand the purpose of the fix you suggest. > The only effect that I see is to initialize all the points in the simplex > instead > of just the first point. Since these datas are overwritten in the other > loop, > this is useless to me. I do not see your point here. > > 2- You are right. I created the bug report #5669: > http://bugzilla.scilab.org/show_bug.cgi?id=5669 > fixed the bug and added a unit test in the v5.2 branch. > (This was a minor problem, though.) > > 3- I do not find any such line "newobj$nbve <- n + 1" > What is the line number that you are interested in ? > > Best regards, > > Micha?l > > PS > Do not hesitate to create bug reports by yourself if you find > other problems. Whatever the problem, we closely look at them. > > > -- > Micha?l Baudin > Ing?nieur de d?veloppement > michael.baudin at scilab.org > ------------------------- > Consortium Scilab - Digiteo > Domaine de Voluceau - Rocquencourt > B.P. 105 - 78153 Le Chesnay Cedex > Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 > > > > S?bastien Bihorel a ?crit : > >> Thank Michael, >> >> A follow-up report concerning the optimsimplex_pfeffer and >> optimsimplex_randbounds functions: >> 1- In optimsimplex_pfeffer function, could the following code >> >> // >> // Set 1st point >> // >> newobj.x ( 1 , 1:n ) = x0 (1,1:n) >> // >> // Set points #2 to #n+1 >> // >> for j = 2 : newobj.n+1 >> newobj.x ( j,1:n ) = x0 (1:n) >> if ( x0( j-1 ) == 0.0 ) then >> newobj.x ( j , j-1 ) = deltazero >> else >> newobj.x ( j , j-1 ) = newobj.x ( j , j-1 ) + deltausual * x0( j-1 ) >> end >> end >> >> be replaced by >> >> // >> // Set 1st point >> // >> newobj.x ( 1:newobj.nbve , : ) = x0 (1:n) .*. ones(newobj.nbve ,1); >> // >> // Set points #2 to #n+1 >> // >> for j = 2 :newobj.nbve >> if ( x0( j-1 ) == 0.0 ) then >> newobj.x ( j , j-1 ) = deltazero >> else >> newobj.x ( j , j-1 ) = newobj.x ( j , j-1 ) + deltausual * x0( j-1 ) >> end >> end >> >> 2- in optimsimplex_randbounds, there is no check that boundsmin and >> boundsmax have at least n elements before those calls are made >> bminmat = boundsmin( 1,1:n ) .*. ones(nbve-1,1); >> bmaxmat = boundsmax( 1,1:n ) .*. ones(nbve-1,1); >> >> also, should the line >> >> newobj$nbve <- n + 1 >> >> not be >> >> newobj$nbve <- nbve >> >> ? >> >> Sebastien >> >> On Thu, Dec 10, 2009 at 12:02 PM, Micha?l Baudin < >> michael.baudin at scilab.org > wrote: >> >> Hi, >> >> I agree on both points : I will commit a bug fix in branch 5.2 >> tomorrow. >> >> Best regards, >> >> Micha?l >> >> S?bastien Bihorel a ?crit : >> >> Hi, >> >> I was reading through the code of the fminsearch function and >> its wealth of related functions, and was wondering if there >> could be a problem with the optimsimplex.axes function. At >> this point, I honestly don't know what it is doing but I think >> there might be something wrong with the code: >> 1- xlen1 is defined but never used. The check that is directly >> following its definition is probably supposed to use it but >> doesn't >> xlen1 = size(len,1) >> if size(x0,1)<>1 then >> errmsg = msprintf(gettext("%s: The len vector is expected >> to be a row matrix, but current shape is %d x >> %d"),"optimsimplex_axes",size(len,1),size(len,2)); >> error(errmsg); >> end >> >> 2- nothing seems to prevent this call to crash, the dimensions >> of xlen and the matrix newobj.x(,) are not cross-checked >> newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); >> >> HIH >> >> Sebastien >> >> >> >> -- Micha?l Baudin >> Ing?nieur de d?veloppement >> michael.baudin at scilab.org >> >> ------------------------- >> Consortium Scilab - Digiteo >> Domaine de Voluceau - Rocquencourt >> B.P. 105 - 78153 Le Chesnay Cedex >> Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 >> >> >> >> >> >> On Fri, Dec 11, 2009 at 6:12 AM, Micha?l Baudin < >> michael.baudin at scilab.org > wrote: >> >> Hi, >> >> I created a bug report : >> http://bugzilla.scilab.org/show_bug.cgi?id=5604 >> and fixed the source code in v5.2 branch : >> >> http://gitweb.priv.scilab.org/?p=scilab.git;a=commitdiff;h=8e6a14e2189dde039afc67aaeef3e18aeb0cf869 >> >> Before, we had : >> -->function y = rosenbrock (x) >> --> y = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2; >> -->endfunction >> -->newobj = optimsimplex_new ( "axes" , [1 2] , rosenbrock , [1 2 >> 3] ); >> !--error 8 >> Inconsistent addition. >> at line 39 of function optimsimplex_axes called by : at line >> 34 of function optimsimplex_new called by : newobj = >> optimsimplex_new ( "axes" , [1 2] , rosenbrock , [1 2 3] ); >> >> Now, you get the message : >> optimsimplex_axes: The len vector is not consistent with the x0 >> point. Current shape of x0 is 1 x 2 while current shape of len is >> 1 x 3. >> which is much clearer. >> By the way, I improved the error messages of other scripts. >> Thank you for reporting that problem. >> >> >> Best regards, >> >> Micha?l >> >> S?bastien Bihorel a ?crit : >> >> Hi, >> >> >> I was reading through the code of the fminsearch function and >> its wealth of related functions, and was wondering if there >> could be a problem with the optimsimplex.axes function. At >> this point, I honestly don't know what it is doing but I think >> there might be something wrong with the code: >> 1- xlen1 is defined but never used. The check that is directly >> following its definition is probably supposed to use it but >> doesn't >> xlen1 = size(len,1) >> if size(x0,1)<>1 then >> errmsg = msprintf(gettext("%s: The len vector is expected >> to be a row matrix, but current shape is %d x >> %d"),"optimsimplex_axes",size(len,1),size(len,2)); >> error(errmsg); >> end >> >> 2- nothing seems to prevent this call to crash, the dimensions >> of xlen and the matrix newobj.x(,) are not cross-checked >> newobj.x ( 2:nv , : ) = newobj.x ( 2:nv , : ) + diag(xlen); >> >> HIH >> >> Sebastien >> >> >> >> -- Micha?l Baudin >> Ing?nieur de d?veloppement >> michael.baudin at scilab.org >> >> ------------------------- >> Consortium Scilab - Digiteo >> Domaine de Voluceau - Rocquencourt >> B.P. 105 - 78153 Le Chesnay Cedex >> Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 >> >> >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grocer.toolbox at gmail.com Sat Dec 26 09:03:18 2009 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Sat, 26 Dec 2009 09:03:18 +0100 Subject: [scilab-Users] Add chapters to Scilab help system In-Reply-To: <681D8E66219544C8A2396DB35FC61C9F@usera1d930417d> References: <43DD5CFB3D5341B8865D25CF81F7218B@usera1d930417d> <681D8E66219544C8A2396DB35FC61C9F@usera1d930417d> Message-ID: >From my experience, it is necessary to use xml2jar. Eric. 2009/12/25 Jos? Luis Volta Grau > Thank you, Eric, that really help me a lot; > > I'd writen some help files in XML language, following the scheme of the > "help_skeleton" function; then I translate them using the "xmltohtml" > function; to load these .htmls' in the Scilab help system I ran > "add_help_chapter" function; this works fine in 4.1.2 release. > > Do you mean I should have to change "xmltohtml" by "xmltojar"; or maybe I > have to use the new version of XML "help_skeleton" with Sci-5.2 ? > > I will try both... > > J.L. > > ----- Original Message ----- > *From:* Eric Dubois > *To:* users at lists.scilab.org > *Sent:* Friday, December 25, 2009 6:51 AM > *Subject:* Re: [scilab-Users] Add chapters to Scilab help system > > Hi > > There are indeed big differences between the 4.1.2 and the 5.2.0. > > The greatest is that help files must now be written in the XML langage and > strictly comply with Scilab specifications. > > When your help files comply with Scilab specifications that you have to run > xml2jar('avaHelp',helps_dirs,helps_titles) > > And once it has been done, you must run: > add_help_chapter(your title','helps_dir',%f); > > To understand how it works, you can for instance have a look at Torbj?rn > Pettersen toolbox guimaker (1.2)( > http://www.scilab.org/contrib/index_contrib.php?page=listdyn&order=date). > > If it can help, I have written a Scilab function html2xml.sci to translate > my help files. Altough it is only suited to my needs, I think it could be > adapted to your needs relatively easily. I join also a html file and its xml > version to help you understand how it works. If you need more examples, you > can download on my web site (http://dubois.ensae.net/grocer.html) the > version of my toolbox for Siclab-4.1.2 and the one for Scilab-5.> and > compare the html and xml files resulting from this translation. > > Hope it will help. > > Eric. > > > > 2009/12/24 Jos? Luis Volta Grau > > Hi, >> I've tried to add a help chapter for my functions to the Scilab-5.2.0 help >> system, as I did with version 4.1.2 >> But Scilab rises an error when I try to access the global constant >> "%helps", and nothing happens when I use the "add_help_chapter" function (my >> help chapter doesn't appear). >> What's the difference between the 5.2.0 and 4.1.2 versions ? >> >> I would appreciate some help, >> J.L.V. >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Sat Dec 26 10:54:50 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 26 Dec 2009 10:54:50 +0100 Subject: [scilab-Users] Add chapters to Scilab help system In-Reply-To: <681D8E66219544C8A2396DB35FC61C9F@usera1d930417d> References: <43DD5CFB3D5341B8865D25CF81F7218B@usera1d930417d> <681D8E66219544C8A2396DB35FC61C9F@usera1d930417d> Message-ID: <1261821290.5359.44.camel@zlarin> Le vendredi 25 d?cembre 2009 ? 16:13 -0300, Jos? Luis Volta Grau a ?crit : > Thank you, Eric, that really help me a lot; > > I'd writen some help files in XML language, following the scheme of > the "help_skeleton" function; then I translate them using the > "xmltohtml" function; to load these .htmls' in the Scilab help system > I ran "add_help_chapter" function; this works fine in 4.1.2 release. > > Do you mean I should have to change "xmltohtml" by "xmltojar"; or > maybe I have to use the new version of XML "help_skeleton" with > Sci-5.2 ? I confirm what Eric just said. You need to use xmltojar to produce the jar file loaded by the help browser. Use xmltohtml, xmltopdf, etc if you want to export the documentation on a website for example. Sylvestre From sylvestre.ledru at scilab.org Sat Dec 26 11:00:50 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 26 Dec 2009 11:00:50 +0100 Subject: [scilab-Users] Add chapters to Scilab help system In-Reply-To: References: <43DD5CFB3D5341B8865D25CF81F7218B@usera1d930417d> Message-ID: <1261821650.5359.50.camel@zlarin> Le vendredi 25 d?cembre 2009 ? 10:51 +0100, Eric Dubois a ?crit : > Hi > > There are indeed big differences between the 4.1.2 and the 5.2.0. > > The greatest is that help files must now be written in the XML langage > and strictly comply with Scilab specifications. To be more precise, it is not "Scilab specifications" but Docbook: http://en.wikipedia.org/wiki/Docbook Thanks to that, you can use many Docbook related software. Otherwise, if you want to convert >= 4.X to 5.X help files, you can use the module: xmltodocbook http://www.scilab.org/contrib/download.php?fileID=1163&attachFileName=xmltodocbook.zip (which we should provide through ATOMS) Sylvestre From charlesmarchetti at yahoo.com Sat Dec 26 12:42:51 2009 From: charlesmarchetti at yahoo.com (charles marchetti) Date: Sat, 26 Dec 2009 03:42:51 -0800 (PST) Subject: Description of Kalm function Message-ID: <273714.88777.qm@web24103.mail.ird.yahoo.com> Hello In the description of the Kalm function,there is no test about the covariance matrices. As you can know these matrices should be transposed... I used undefined matrices and the algorithm worked... > Good morning, > I wanted to use the kalm function developed in scilab. > I used a model very simple in dimension 2. > However, by typing equations of the kalman filter, and > by making turned the algorithm on an iteration, I didn't > get > the same results. > Then, I went on the site of Del Moral and I saw that > initial conditions must be used to initialize? updated > equation and not that of prediction > On a long interval of time, if the filter converges, it's > not bad. Yet, with treatment on the estimation at the > begining, it's obviously awfull. > There are two schools: So the description of this function > is not so clear... From joerg.rudnick at t-online.de Wed Dec 30 10:13:28 2009 From: joerg.rudnick at t-online.de (=?UTF-8?B?SsO2cmcgUm9tYW4gUnVkbmljaw==?=) Date: Wed, 30 Dec 2009 10:13:28 +0100 Subject: How to create links with Xcos In-Reply-To: <1262076141.29681.ezmlm@lists.scilab.org> References: <1262076141.29681.ezmlm@lists.scilab.org> Message-ID: <4B3B19B8.8070104@t-online.de> Hi all, just intending to replace Scicos by Xcos in my teaching, I stumbled over a silly problem I must admit I was not able to find a solution for so far: How to create links with Xcos... Moving over the edges/connections (blue lines...) I did not find a context menu entry nor a keyboard shortcut, web search did not reveal helpful documents. In my misery, I began even trying to copy the yellow squares, which did not lead to a useful result. Guessing it might be a Linux problem, I installed Scliab 5.2 on Windows (XP) -- with the result of the same behaviour. Is there anybody able to give me a hint?? Thank you very much in advance, Nick From Samuel.Gougeon at univ-lemans.fr Wed Dec 30 21:42:24 2009 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Wed, 30 Dec 2009 21:42:24 +0100 Subject: [scilab-Users] How to create links with Xcos In-Reply-To: <4B3B19B8.8070104@t-online.de> References: <1262076141.29681.ezmlm@lists.scilab.org> <4B3B19B8.8070104@t-online.de> Message-ID: <20091230214224.34351ad6vznxbxhc@webmail2.univ-lemans.fr> Hi, J?rg Roman Rudnick a ?crit?: > Hi all, > > just intending to replace Scicos by Xcos in my teaching, I stumbled > over a silly problem I must admit I was not able to find a solution > for so far: How to create links with Xcos... Do you mean between blocks?? click left (if you are right-handy) on the input|output triangle of a block; stay pressed and drag the link up to the output|input triangle of another block; release the button. It should be ok. Does this help? Regards Samuel From charlesmarchetti at yahoo.com Mon Dec 28 11:23:31 2009 From: charlesmarchetti at yahoo.com (charles marchetti) Date: Mon, 28 Dec 2009 02:23:31 -0800 (PST) Subject: About the quaternions Message-ID: <416191.91991.qm@web24104.mail.ird.yahoo.com> Hello, I was trying to use the quaternions. So on some web pages, there were some functions as rt_quaternion... It was written in Scilab/Scicos... But today, Scicos is obsolete we need to use xcos and there is nothing about the quaternions... With the previous version Scilab 5.1.1 It was possible to use some commands like CTRL P CTRL A Etc... I am working on Mac Book Pro... under the Leopard environment. Today these things are impossible? Thanks for your help Charles Marchetti From joerg.rudnick at t-online.de Thu Dec 31 15:58:04 2009 From: joerg.rudnick at t-online.de (=?ISO-8859-1?Q?J=F6rg_Roman_Rudnick?=) Date: Thu, 31 Dec 2009 15:58:04 +0100 Subject: [scilab-Users] How to create links with Xcos In-Reply-To: <20091230214224.34351ad6vznxbxhc@webmail2.univ-lemans.fr> References: <1262076141.29681.ezmlm@lists.scilab.org> <4B3B19B8.8070104@t-online.de> <20091230214224.34351ad6vznxbxhc@webmail2.univ-lemans.fr> Message-ID: <4B3CBBFC.90804@t-online.de> Hi Samuel, someone to help -- great... :-) Ok Samuel, let's imagine we now have connection from block A to block B -- such a stylish blue line. So far fine... How do I now achieve a branching (fr. ?branchement?) -- this is given the term 'link' in Scicos -- by one of these chic *yellow squares* upon the blue line from A to B, leading to a third block, C? Thanks a lot in advance, an a happy 2010, Nick Samuel Gougeon wrote: > Hi, > J?rg Roman Rudnick a ?crit : > >> Hi all, >> >> just intending to replace Scicos by Xcos in my teaching, I stumbled >> over a silly problem I must admit I was not able to find a solution >> for so far: How to create links with Xcos... > > Do you mean between blocks?? click left (if you are right-handy) on > the input|output triangle of a block; stay pressed and drag the > link up to the output|input triangle of another block; release > the button. It should be ok. > > Does this help? > Regards > Samuel > >