From sgougeon at free.fr Sun Jul 1 17:11:29 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 01 Jul 2012 17:11:29 +0200 Subject: gcf().resizefcn(h): How to refer to the triggering figure through h? Message-ID: <4FF068A1.40607@free.fr> Hello, Scilab 5.4.0 provides the new figure attribute resizefcn, that is a callback called when the related figure is resized. However, this one is not necessarily the current one, in such a way that resizefcn="do(gcf())" is not relevant. It is possible to - tag the figure - to put the tag as input arg of the resizefcn callback - to findobj(tag) inside the callback but is there a shorter way to refer to "this" figure, i mean a kind of "this" implicit handle? Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From dungnguyenbk at gmail.com Mon Jul 2 03:53:53 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Sun, 1 Jul 2012 18:53:53 -0700 (PDT) Subject: How to add MarkStyle for cscope block of xcos Message-ID: <1341194033928-4024476.post@n3.nabble.com> I try to draw my graph like that. http://mailinglists.scilab.org/file/n4024476/graph.png How to setting, add new or update cscope block of xcos to have the same functions ? -- View this message in context: http://mailinglists.scilab.org/How-to-add-MarkStyle-for-cscope-block-of-xcos-tp4024476.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vincent.couvert at scilab-enterprises.com Mon Jul 2 13:57:41 2012 From: vincent.couvert at scilab-enterprises.com (Vincent COUVERT) Date: Mon, 02 Jul 2012 13:57:41 +0200 Subject: [scilab-Users] gcf().resizefcn(h): How to refer to the triggering figure through h? In-Reply-To: <4FF068A1.40607@free.fr> References: <4FF068A1.40607@free.fr> Message-ID: <4FF18CB5.6000901@scilab-enterprises.com> Hello Samuel, Could you report a bug for this issue? Regards, Vincent Le 01/07/12 17:11, Samuel Gougeon a ?crit : > Hello, > > Scilab 5.4.0 provides the new figure attribute resizefcn, > that is a callback called when the related figure is resized. > > However, this one is not necessarily the current one, in such > a way that resizefcn="do(gcf())" is not relevant. > It is possible to > - tag the figure > - to put the tag as input arg of the resizefcn callback > - to findobj(tag) inside the callback > > but is there a shorter way to refer to "this" figure, i mean a kind > of "this" implicit handle? > > Samuel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Mon Jul 2 16:38:54 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Mon, 02 Jul 2012 16:38:54 +0200 Subject: [scilab-Users] gcf().resizefcn(h): How to refer to the triggering figure through h? In-Reply-To: <4FF18CB5.6000901@scilab-enterprises.com> References: <4FF068A1.40607@free.fr> <4FF18CB5.6000901@scilab-enterprises.com> Message-ID: <4FF1B27E.7050107@inria.fr> Le 02/07/2012 13:57, Vincent COUVERT a ?crit : > Hello Samuel, > > Could you report a bug for this issue? > > Regards, > Vincent > > > Le 01/07/12 17:11, Samuel Gougeon a ?crit : >> Hello, >> >> Scilab 5.4.0 provides the new figure attribute resizefcn, >> that is a callback called when the related figure is resized. >> >> However, this one is not necessarily the current one, in such >> a way that resizefcn="do(gcf())" is not relevant. >> It is possible to >> - tag the figure >> - to put the tag as input arg of the resizefcn callback >> - to findobj(tag) inside the callback >> >> but is there a shorter way to refer to "this" figure, i mean a kind >> of "this" implicit handle? >> >> Samuel >> > It is also possible to add an argument to the resizefcn function which will contain the win_number or the handle to the resized window. Serge -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Jul 2 20:37:25 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 2 Jul 2012 20:37:25 +0200 (CEST) Subject: [scilab-Users] gcf().resizefcn(h): How to refer to the triggering figure through h? In-Reply-To: <4FF1B27E.7050107@inria.fr> Message-ID: <165156018.594343.1341254245543.JavaMail.root@zimbra75-e12.priv.proxad.net> >It is also possible to add an argument to the resizefcn function which will contain the win_number or the handle to the resized >window. > >Serge That's right: As long as the syntax gcf().resizefcn is not allowed, assigning h.resizefcn="do(..)" needs to previously define h. So the chosen variable h can be used in the calling sequence of the call_back. It is by far the easiest way to do. I was wondering about how to do it in a more generic way, but it is useless. Thank you. Samuel From vincent.couvert at scilab-enterprises.com Tue Jul 3 09:24:01 2012 From: vincent.couvert at scilab-enterprises.com (Vincent COUVERT) Date: Tue, 03 Jul 2012 09:24:01 +0200 Subject: [scilab-Users] gcf().resizefcn(h): How to refer to the triggering figure through h? In-Reply-To: <165156018.594343.1341254245543.JavaMail.root@zimbra75-e12.priv.proxad.net> References: <165156018.594343.1341254245543.JavaMail.root@zimbra75-e12.priv.proxad.net> Message-ID: <4FF29E11.6050508@scilab-enterprises.com> Hi, I think the best way to do is to use the gcbo variable as in standard callback functions. Regards, Vincent Le 02/07/12 20:37, sgougeon at free.fr a ?crit : >> It is also possible to add an argument to the resizefcn function which will contain the win_number or the handle to the resized >window. >> >> Serge > That's right: As long as the syntax gcf().resizefcn is not allowed, > assigning h.resizefcn="do(..)" needs to previously define h. So the > chosen variable h can be used in the calling sequence of the call_back. > It is by far the easiest way to do. I was wondering about how to do it > in a more generic way, but it is useless. > Thank you. > > Samuel > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From rfabbri at gmail.com Tue Jul 3 23:03:32 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Tue, 3 Jul 2012 18:03:32 -0300 Subject: [scilab-Users] FW: How to install scilab 5.4.0-beta-1 on Ubuntu 11.10 In-Reply-To: <4feccbd3.e853b40a.4c55.ffff8d79@mx.google.com> References: <4feccbd3.e853b40a.4c55.ffff8d79@mx.google.com> Message-ID: Perhaps try apt-get install default-jdk or apt-get install openjdk-6-jdk Try other packages from apt-file find libjvm.so This doesn't seem to be your fault, entirely. The scilab package should not have installed without a jdk. Best, Ricardo Fabbri -- Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Thu, Jun 28, 2012 at 6:25 PM, samuel.enibe at unn.edu.ng wrote: > > > > Sent from my Nokia phone > -----Original Message----- > From: Samuel Enibe > Sent: ?28/06/2012 12.21.25 am > Subject: ?How to install scilab 5.4.0-beta-1 on Ubuntu 11.10 > > Sirs, > > I would like to explore the newly released SCILAB 5.4.0-beta-1 on my UBUNTU > 11.10 laptop (32-bit). I have downloaded and untarred the binary version of > the release. > > However, the software does not run, but rather gives this error message > > *"Could not load JVM dynamic library (libjava). > Error: libjvm.so: cannot open shared object file: No such file or directory > If you are using a binary version of Scilab, please report a bug > http://bugzilla.scilab.org/." > * > A similar problem prevented me from testing SCILAB 5.4.0-alpha-1. > > Could you please suggest what I should do to get it working. > -- > Samuel Ogbonna Enibe > University of Nigeria, Nsukka, Nigeria > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From Andreas.Stewering-Bone at gmx.de Tue Jul 3 23:07:19 2012 From: Andreas.Stewering-Bone at gmx.de (Andreas Stewering-Bone) Date: Tue, 03 Jul 2012 23:07:19 +0200 Subject: API Scilab Message-ID: <4FF35F07.3080304@gmx.de> Hello, Is there a possibility to create an array of tlist via Scilab API. Under Matlab there is the funtion mxCreateStructArray Greatings Andreas From dkajah at gmail.com Wed Jul 4 05:35:04 2012 From: dkajah at gmail.com (Daniel Penalva) Date: Wed, 4 Jul 2012 00:35:04 -0300 Subject: Plot error with concurrent thread support Message-ID: Hi fellows, I compiled the source from Nightly build today, my configuration details are: Ubuntu 12.04 in a Intel Core i7-3610QM machine, when i try to plot any thing i got: Info: XInitThreads() called for concurrent Thread support javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0 at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:216) at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:205) at java.lang.Thread.run(Thread.java:679) Caused by: java.lang.NullPointerException at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:412) at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:200) ... 2 more is this known ? thank you -- *Democracia Digital Direta Informe-se: * http://pontosdecultura.org.br/noticias/carta-democracia-direta-em-circulacao/ Daniel Penalva State related activity, currently: Phd - Physics in Institute for Theoretical Physics - http://www.ift.unesp.br/posgrad/ramais-alunos-pos.php Transparency portal: http://hera.ethymos.com.br:1080/paainel/casca/ *look for bolitutti user in Log AA/usu?rio pAAnel for my workflow* FLOSS and related ideas enthusiastic -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkajah at gmail.com Wed Jul 4 06:03:46 2012 From: dkajah at gmail.com (Daniel Penalva) Date: Wed, 4 Jul 2012 01:03:46 -0300 Subject: Plot error with concurrent thread support In-Reply-To: References: Message-ID: another thing, iam using a NVidia gpu, dont know if this change something On Wed, Jul 4, 2012 at 12:35 AM, Daniel Penalva wrote: > Hi fellows, > > I compiled the source from Nightly build today, my configuration details > are: > > Ubuntu 12.04 in a Intel Core i7-3610QM machine, when i try to plot any > thing i got: > > Info: XInitThreads() called for concurrent Thread support > javax.media.opengl.GLException: X11GLXDrawableFactory - Could not > initialize shared resources for :0 > at > jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:216) > at > jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:205) > at java.lang.Thread.run(Thread.java:679) > Caused by: java.lang.NullPointerException > at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:412) > at > jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:200) > ... 2 more > > is this known ? > > thank you > > -- > *Democracia Digital Direta > Informe-se: > > * > http://pontosdecultura.org.br/noticias/carta-democracia-direta-em-circulacao/ > > Daniel Penalva > > State related activity, currently: > Phd - Physics in Institute for Theoretical Physics - > http://www.ift.unesp.br/posgrad/ramais-alunos-pos.php > Transparency portal: http://hera.ethymos.com.br:1080/paainel/casca/ > *look for bolitutti user in Log AA/usu?rio pAAnel for my workflow* > > FLOSS and related ideas enthusiastic > > -- *Democracia Digital Direta Informe-se: * http://pontosdecultura.org.br/noticias/carta-democracia-direta-em-circulacao/ Daniel Penalva State related activity, currently: Phd - Physics in Institute for Theoretical Physics - http://www.ift.unesp.br/posgrad/ramais-alunos-pos.php Transparency portal: http://hera.ethymos.com.br:1080/paainel/casca/ *look for bolitutti user in Log AA/usu?rio pAAnel for my workflow* FLOSS and related ideas enthusiastic -------------- next part -------------- An HTML attachment was scrubbed... URL: From communication at scilab-enterprises.com Wed Jul 4 12:02:22 2012 From: communication at scilab-enterprises.com (Communication) Date: Wed, 04 Jul 2012 12:02:22 +0200 Subject: To contact us Message-ID: <4FF414AE.9080308@scilab-enterprises.com> Dear Scilab Users, We would like to thank you to use our mailing lists and hope they fulfill their purposes in helping the exchange between you and finding the answers to the questions you might have about using/developing Scilab. If necessary, you can still call on the expertise of Scilab developers in contacting us directly at support at scilab-enterprises.com which now replaces scilab.support at scilab.org. Sincerely, Communication Department ------------------------------------ Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From simon.mayr at gmail.com Wed Jul 4 13:04:18 2012 From: simon.mayr at gmail.com (simi99) Date: Wed, 4 Jul 2012 04:04:18 -0700 (PDT) Subject: wrong dll files (wants to load x64 dll in an x86 environment) in scilab 5.4.0 beta Message-ID: <1341399858356-4024498.post@n3.nabble.com> Hello Everbody! Looks this error message familiar to somebody? I tried to run the demos which are contained in xcos. Examples from the field "Electrical Systems" and "Modelica demos" didn't work! (OS: WinXP 32Bit, Scilab: 5.4.0 Beta) The following error message did appear: Error log: ___________________________________________ scilab-5.4.0-beta-1 Scilab Enterprises Consortium Scilab (DIGITEO) Copyright (c) 2011-2012 (Scilab Enterprises) Copyright (c) 1989-2012 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Starte Ausf?hrung: lade Startumgebung -->xcos --------------------------------------------\ Main Modelica : C:\DOKUME~1\S10105~1\LOKALE~1\Temp\SCI_TMP_5108_\Ball_Platform_im.mo Flat Modelica : C:\DOKUME~1\S10105~1\LOKALE~1\Temp\SCI_TMP_5108_\Ball_Platform_imf.mo Simulation C code :C:\DOKUME~1\S10105~1\LOKALE~1\Temp\SCI_TMP_5108_\Ball_Platform_im.c erzeuge eine Laderdatei erzeuge ein Makefile F?hre Makefile aus Kompilation von Ball_Platform_im.c erzeuge eine gemeisame Bibliothek (habe Sie Geduld) erzeuge eine Cleanerdatei link: kann keine x64 dll in einer x86 Umgebung laden c_pass1: build the modelica meta-block failed xcos_simulate: Error during block parameters update. How to reproduce the bug: Try to run a demo from the category "Electrical Systems" or "Modelica demos" Does anybody have an idea how to solve this problem? Thanks in advance! Best regards, Simon Mayr http://mailinglists.scilab.org/file/n4024498/ErrorMessage-Xcos.jpg http://mailinglists.scilab.org/file/n4024498/ErrorMessage-Console.jpg -- View this message in context: http://mailinglists.scilab.org/wrong-dll-files-wants-to-load-x64-dll-in-an-x86-environment-in-scilab-5-4-0-beta-tp4024498.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Wed Jul 4 13:17:08 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 4 Jul 2012 12:17:08 +0100 Subject: [scilab-Users] wrong dll files (wants to load x64 dll in an x86 environment) in scilab 5.4.0 beta In-Reply-To: <1341399858356-4024498.post@n3.nabble.com> Message-ID: Hi, I have logged this in the Bug Reporting system (see bug ID 11357). It is apparently because of the compiler used for 5.4.0-Beta-1. I got the same report about 64-bit DLL, but it seems to be a wrong message. I checked the DLL header and it is definitely a 32-bit DLL that gives the error. Try recompiling the DLL if you can, maybe with a newer compiler version, to see if that fixes it. Meanwhile I am waiting for some further feedback from the development team. HTH, Mike. -----Original Message----- From: simi99 [mailto:simon.mayr at gmail.com] Sent: 04 July 2012 12:04 To: users at lists.scilab.org Subject: [scilab-Users] wrong dll files (wants to load x64 dll in an x86 environment) in scilab 5.4.0 beta Hello Everbody! Looks this error message familiar to somebody? I tried to run the demos which are contained in xcos. Examples from the field "Electrical Systems" and "Modelica demos" didn't work! (OS: WinXP 32Bit, Scilab: 5.4.0 Beta) The following error message did appear: Error log: ___________________________________________ scilab-5.4.0-beta-1 Scilab Enterprises Consortium Scilab (DIGITEO) Copyright (c) 2011-2012 (Scilab Enterprises) Copyright (c) 1989-2012 (INRIA) Copyright (c) 1989-2007 (ENPC) ___________________________________________ Starte Ausf?hrung: lade Startumgebung -->xcos --------------------------------------------\ Main Modelica : C:\DOKUME~1\S10105~1\LOKALE~1\Temp\SCI_TMP_5108_\Ball_Platform_im.mo Flat Modelica : C:\DOKUME~1\S10105~1\LOKALE~1\Temp\SCI_TMP_5108_\Ball_Platform_imf.mo Simulation C code :C:\DOKUME~1\S10105~1\LOKALE~1\Temp\SCI_TMP_5108_\Ball_Platform_im.c erzeuge eine Laderdatei erzeuge ein Makefile F?hre Makefile aus Kompilation von Ball_Platform_im.c erzeuge eine gemeisame Bibliothek (habe Sie Geduld) erzeuge eine Cleanerdatei link: kann keine x64 dll in einer x86 Umgebung laden c_pass1: build the modelica meta-block failed xcos_simulate: Error during block parameters update. How to reproduce the bug: Try to run a demo from the category "Electrical Systems" or "Modelica demos" Does anybody have an idea how to solve this problem? Thanks in advance! Best regards, Simon Mayr http://mailinglists.scilab.org/file/n4024498/ErrorMessage-Xcos.jpg http://mailinglists.scilab.org/file/n4024498/ErrorMessage-Console.jpg -- View this message in context: http://mailinglists.scilab.org/wrong-dll-files-wants-to-load-x64-dll-in-an-x86-environment-in-scilab-5-4-0-beta-tp4024498.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2193 / Virus Database: 2437/5109 - Release Date: 07/03/12 From ychattah at iai.co.il Wed Jul 4 13:52:48 2012 From: ychattah at iai.co.il (computidoo) Date: Wed, 4 Jul 2012 04:52:48 -0700 (PDT) Subject: msscanf Message-ID: <1341402768159-4024500.post@n3.nabble.com> I have a line that i want to read GRID 1 05777.6319-69.400954.30913 0 the problem is that the numbers are connected. (the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0) I tried l=mgel(fid,1); Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); and i get an error BR computidoo -- View this message in context: http://mailinglists.scilab.org/msscanf-tp4024500.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Wed Jul 4 13:57:26 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Wed, 04 Jul 2012 13:57:26 +0200 Subject: [scilab-Users] msscanf In-Reply-To: <1341402768159-4024500.post@n3.nabble.com> References: <1341402768159-4024500.post@n3.nabble.com> Message-ID: <4FF42FA6.8040505@centre-cired.fr> On 04/07/2012 13:52, computidoo wrote: > I have a line that i want to read > GRID 1 05777.6319-69.400954.30913 0 > the problem is that the numbers are connected. > (the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0) > I tried > l=mgel(fid,1); > Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); > and i get an error > BR > computidoo > > > Where does the line come from? The problem should definitively be fixed upstream -------------- next part -------------- An HTML attachment was scrubbed... URL: From ychattah at iai.co.il Wed Jul 4 14:53:21 2012 From: ychattah at iai.co.il (computidoo) Date: Wed, 4 Jul 2012 05:53:21 -0700 (PDT) Subject: msscanf In-Reply-To: <4FF42FA6.8040505@centre-cired.fr> References: <1341402768159-4024500.post@n3.nabble.com> <4FF42FA6.8040505@centre-cired.fr> Message-ID: <300AE3014430B94EB16D93D3742BEEB3053025B9@EXS11.iai.co.il> Like this line(after it) I have around 500 lines so I read each line And save the relevant data The line came from patran mesh ________________________________ From: Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+s994242n4024501h56 at n3.nabble.com] Sent: Wednesday, July 04, 2012 1:58 PM To: Yehonatan Chattah Subject: Re: msscanf On 04/07/2012 13:52, computidoo wrote: I have a line that i want to read GRID 1 05777.6319-69.400954.30913 0 the problem is that the numbers are connected. (the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0) I tried l=mgel(fid,1); Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); and i get an error BR computidoo Where does the line come from? The problem should definitively be fixed upstream ________________________________ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/msscanf-tp4024500p4024501.html To unsubscribe from msscanf, click here. NAML The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. -- View this message in context: http://mailinglists.scilab.org/msscanf-tp4024500p4024502.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Wed Jul 4 15:25:17 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Wed, 04 Jul 2012 15:25:17 +0200 Subject: [scilab-Users] RE: msscanf In-Reply-To: <300AE3014430B94EB16D93D3742BEEB3053025B9@EXS11.iai.co.il> References: <1341402768159-4024500.post@n3.nabble.com> <4FF42FA6.8040505@centre-cired.fr> <300AE3014430B94EB16D93D3742BEEB3053025B9@EXS11.iai.co.il> Message-ID: <4FF4443D.8070203@centre-cired.fr> Can't you ask patran mesh to produce well formated output? On 04/07/2012 14:53, computidoo wrote: > > Like this line(after it) I have around 500 lines so I read each line > > And save the relevant data > > The line came from patran mesh > > ------------------------------------------------------------------------ > > *From:*Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] > [mailto:ml-node+[hidden email] > ] > *Sent:* Wednesday, July 04, 2012 1:58 PM > *To:* Yehonatan Chattah > *Subject:* Re: msscanf > > On 04/07/2012 13:52, computidoo wrote: > >> I have a line that i want to read >> GRID 1 05777.6319-69.400954.30913 0 >> the problem is that the numbers are connected. >> (the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0) >> I tried >> l=mgel(fid,1); >> Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); >> and i get an error >> BR >> computidoo >> >> >> > > Where does the line come from? > The problem should definitively be fixed upstream > > ------------------------------------------------------------------------ > > *If you reply to this email, your message will be added to the > discussion below:* > > http://mailinglists.scilab.org/msscanf-tp4024500p4024501.html > > To unsubscribe from msscanf, click here. > NAML > > > > *********************************************************************************************** > *Please consider the environment before printing this email * > The information contained in this communication is proprietary to > Israel Aerospace Industries Ltd. and/or third parties, may contain > confidential or privileged information, and is intended only for the > use of the intended addressee thereof. > If you are not the intended addressee, please be aware that any use, > disclosure, distribution and/or copying of this communication is > strictly prohibited. If you receive this communication in error, > please notify the sender immediately and delete it from your computer. > Thank you. > > ------------------------------------------------------------------------ > View this message in context: RE: msscanf > > Sent from the Scilab users - Mailing Lists Archives mailing list > archive > > at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ychattah at iai.co.il Wed Jul 4 15:32:13 2012 From: ychattah at iai.co.il (computidoo) Date: Wed, 4 Jul 2012 06:32:13 -0700 (PDT) Subject: msscanf In-Reply-To: <4FF4443D.8070203@centre-cired.fr> References: <1341402768159-4024500.post@n3.nabble.com> <4FF42FA6.8040505@centre-cired.fr> <300AE3014430B94EB16D93D3742BEEB3053025B9@EXS11.iai.co.il> <4FF4443D.8070203@centre-cired.fr> Message-ID: <300AE3014430B94EB16D93D3742BEEB3053025C6@EXS11.iai.co.il> Sorry but no, I fond that if I take only "05777.6319-69.400954.30913 0" and I write Msscanf(1,l,'%c %f %f %f %f') I get 0 5777.6319 -69.40095 4.30913 0 Can I define only to read 4 digit after the point (I tried %.4f and its not working) ________________________________ From: Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+s994242n4024503h18 at n3.nabble.com] Sent: Wednesday, July 04, 2012 3:26 PM To: Yehonatan Chattah Subject: RE: msscanf Can't you ask patran mesh to produce well formated output? On 04/07/2012 14:53, computidoo wrote: Like this line(after it) I have around 500 lines so I read each line And save the relevant data The line came from patran mesh ________________________________ From: Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] [[hidden email][hidden email]] Sent: Wednesday, July 04, 2012 1:58 PM To: Yehonatan Chattah Subject: Re: msscanf On 04/07/2012 13:52, computidoo wrote: I have a line that i want to read GRID 1 05777.6319-69.400954.30913 0 the problem is that the numbers are connected. (the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0) I tried l=mgel(fid,1); Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); and i get an error BR computidoo Where does the line come from? The problem should definitively be fixed upstream ________________________________ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/msscanf-tp4024500p4024501.html To unsubscribe from msscanf, click here. NAML *********************************************************************************************** Please consider the environment before printing this email The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. ________________________________ View this message in context: RE: msscanf Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ________________________________ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/msscanf-tp4024500p4024503.html To unsubscribe from msscanf, click here. NAML -- View this message in context: http://mailinglists.scilab.org/msscanf-tp4024500p4024504.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ycollette.nospam at free.fr Wed Jul 4 15:36:50 2012 From: ycollette.nospam at free.fr (ycollette.nospam at free.fr) Date: Wed, 4 Jul 2012 15:36:50 +0200 (CEST) Subject: [scilab-Users] RE: msscanf In-Reply-To: <300AE3014430B94EB16D93D3742BEEB3053025C6@EXS11.iai.co.il> Message-ID: <2082359767.5387030.1341409010958.JavaMail.root@zimbra35-e6.priv.proxad.net> Hello, Maybe you can try to have a look at the 'read' command. It supports fortran formatting. Otherwise, you will need to write your own fortran / c gateway function to read these kind of special formating. YC ----- Mail original ----- De: "computidoo" ?: users at lists.scilab.org Envoy?: Mercredi 4 Juillet 2012 15:32:13 Objet: [scilab-Users] RE: msscanf Sorry but no, I fond that if I take only " 05777.6319-69.400954.30913 0" and I write Msscanf(1,l,'%c %f %f %f %f') I get 0 5777.6319 -69.40095 4.30913 0 Can I define only to read 4 digit after the point (I tried %.4f and its not working) From: Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+ [hidden email] ] Sent: Wednesday, July 04, 2012 3:26 PM To: Yehonatan Chattah Subject: RE: msscanf Can't you ask patran mesh to produce well formated output? On 04/07/2012 14:53, computidoo wrote: Like this line(after it) I have around 500 lines so I read each line And save the relevant data The line came from patran mesh From: Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] [ [hidden email] [hidden email] ] Sent: Wednesday, July 04, 2012 1:58 PM To: Yehonatan Chattah Subject: Re: msscanf On 04/07/2012 13:52, computidoo wrote: I have a line that i want to read GRID???? 1????????? 05777.6319-69.400954.30913????? 0 the problem is that the numbers are connected. (the line mean GRID 1 0 5777.6319 -69.4009 54.30913?? 0) I tried l=mgel(fid,1); Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); and i get an error BR computidoo Where does the line come from? The problem should definitively be fixed upstream If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/msscanf-tp4024500p4024501.html To unsubscribe from msscanf, click here . NAML *********************************************************************************************** Please consider the environment before printing this emai l The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. View this message in context: RE: msscanf Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/msscanf-tp4024500p4024503.html To unsubscribe from msscanf, click here . NAML View this message in context: RE: msscanf Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Wed Jul 4 15:59:09 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 4 Jul 2012 14:59:09 +0100 Subject: [scilab-Users] RE: msscanf In-Reply-To: <300AE3014430B94EB16D93D3742BEEB3053025C6@EXS11.iai.co.il> Message-ID: Hi, I think if you do mopen and then mgetl, you will put the lines into Scilab string variables Then you can use part and evstr to extract the numerical sections. for example I made a file a bit like yours and did : fid=mopen('C:\Temp\tst.txt') a=mgetl(fid) a = !GRID 1 05777.6319-69.400954.30913 0 ! ! ! !GRID 2 15778.6319-69.500954.30914 2 ! ! ! !GRID 3 25779.6319-69.600954.30915 4 ! evstr(part(a(1),22:30)) ans = 5777.6 HTH, Mike. -----Original Message----- From: computidoo [mailto:ychattah at iai.co.il] Sent: 04 July 2012 14:32 To: users at lists.scilab.org Subject: [scilab-Users] RE: msscanf Sorry but no, I fond that if I take only "05777.6319-69.400954.30913 0" and I write Msscanf(1,l,'%c %f %f %f %f') I get 0 5777.6319 -69.40095 4.30913 0 Can I define only to read 4 digit after the point (I tried %.4f and its not working) ---------------------------------------------------------------------------- -- From: Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+[hidden email]] Sent: Wednesday, July 04, 2012 3:26 PM To: Yehonatan Chattah Subject: RE: msscanf Can't you ask patran mesh to produce well formated output? On 04/07/2012 14:53, computidoo wrote: Like this line(after it) I have around 500 lines so I read each line And save the relevant data The line came from patran mesh ---------------------------------------------------------------------------- From: Adrien Vogt-Schilb [via Scilab / Xcos - Mailing Lists Archives] [[hidden email][hidden email]] Sent: Wednesday, July 04, 2012 1:58 PM To: Yehonatan Chattah Subject: Re: msscanf On 04/07/2012 13:52, computidoo wrote: I have a line that i want to readGRID 1 05777.6319-69.400954.30913 0the problem is that the numbers are connected.(the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0)I tried l=mgel(fid,1);Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f);and i get an errorBRcomputidoo Where does the line come from? The problem should definitively be fixed upstream ---------------------------------------------------------------------------- If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/msscanf-tp4024500p4024501.html To unsubscribe from msscanf, click here. NAML ************************************************************************ *********************** Please consider the environment before printing this email The information contained in this communication is proprietary to Israel Aerospace Industries Ltd. and/or third parties, may contain confidential or privileged information, and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. Thank you. ---------------------------------------------------------------------------- View this message in context: RE: msscanf Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/msscanf-tp4024500p4024503.html To unsubscribe from msscanf, click here. NAML ---------------------------------------------------------------------------- -- View this message in context: RE: msscanf Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2193 / Virus Database: 2437/5109 - Release Date: 07/03/12 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Wed Jul 4 16:50:03 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Wed, 04 Jul 2012 16:50:03 +0200 Subject: [scilab-Users] msscanf In-Reply-To: <1341402768159-4024500.post@n3.nabble.com> References: <1341402768159-4024500.post@n3.nabble.com> Message-ID: <4FF4581B.7020409@inria.fr> msscanf(1,l,"%s %d %1d%9f%8f%8f%8f") will read your data Serge Steer Le 04/07/2012 13:52, computidoo a ?crit : > I have a line that i want to read > GRID 1 05777.6319-69.400954.30913 0 > the problem is that the numbers are connected. > (the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0) > I tried > l=mgel(fid,1); > Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); > and i get an error > BR > computidoo > > > > -- > View this message in context: http://mailinglists.scilab.org/msscanf-tp4024500.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > From sgougeon at free.fr Wed Jul 4 16:53:13 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Wed, 4 Jul 2012 16:53:13 +0200 (CEST) Subject: [scilab-Users] msscanf In-Reply-To: <1341402768159-4024500.post@n3.nabble.com> Message-ID: <1749739509.10469896.1341413593084.JavaMail.root@zimbra75-e12.priv.proxad.net> >I have a line that i want to read >GRID 1 05777.6319-69.400954.30913 0 >the problem is that the numbers are connected. >(the line mean GRID 1 0 5777.6319 -69.4009 54.30913 0) >I tried >l=mgel(fid,1); >Tline=msscanf(1,l,'%s %f %.4f %.4f %.4f %.0f); >and i get an error The last float has 5 decimal figures, not 4: .30913 So? From gurunath_gurrala at yahoo.co.in Thu Jul 5 18:33:44 2012 From: gurunath_gurrala at yahoo.co.in (gurunath) Date: Thu, 5 Jul 2012 09:33:44 -0700 (PDT) Subject: Need help, XCOS superblock Mask Customization Error Message-ID: <1341506024071-4024521.post@n3.nabble.com> Hi I am trying to create a XCos superblock. I have put few blocks of code as a superblock and created a mask. After that when I am trying to customize it to give parameters so that I can use the block several times. I am getting following error when I click Superblock Mask customize Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.scilab.modules.xcos.block.actions.SuperblockMaskCustomizeAction$CustomizeFrame$CustomizeFrameModel.importFromBlock(Unknown Source) at org.scilab.modules.xcos.block.actions.SuperblockMaskCustomizeAction.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) I looked at several error reports but I didn't find solution. My scilab version is as follows !Scilab Version: 5.3.3.1311149487 ! ! ! !Operating System: Windows 7 6.1 ! ! ! !Java version : 1.6.0_18 ! ! ! !Java runtime information : Java(TM) SE Runtime Environment (build 1.6.0_18-b07) ! ! ! !Java vm information : Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode) ! ! ! !Vendor specification: Sun Microsystems Inc. ! -- View this message in context: http://mailinglists.scilab.org/Need-help-XCOS-superblock-Mask-Customization-Error-tp4024521.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rcbsimoes at hotmail.com Thu Jul 5 19:30:08 2012 From: rcbsimoes at hotmail.com (rui simoes) Date: Thu, 5 Jul 2012 17:30:08 +0000 Subject: how to Message-ID: Hi, i've been trying to execute ansys from scilab, (host command??) but i can't.is there a reason? i did that in matlab with: !"G:\Ansys Inc\V121\ANSYS\bin\WINX64\ansys121" -b -i "ermida0000.txt" -o "ermida0000.out" thanksgreetingsrui -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Fri Jul 6 08:40:49 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 06 Jul 2012 08:40:49 +0200 Subject: [scilab-Users] how to In-Reply-To: References: Message-ID: <4FF68871.8080903@free.fr> Hello, You may try with command = """G:\Ansys Inc\V121\ANSYS\bin\WINX64\ansys121"" -b -i ermida0000.txt -o ermida0000.out " unix(command) Note the double-quote around the path, since this one includes some spaces. Samuel Le 05/07/2012 19:30, rui simoes a ?crit : > Hi, > > i've been trying to execute ansys from scilab, (host command??) but i > can't. > is there a reason? > > i did that in matlab with: > > !"G:\Ansys Inc\V121\ANSYS\bin\WINX64\ansys121" -b -i "ermida0000.txt" > -o "ermida0000.out" > > thanks > greetings > rui > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcbsimoes at hotmail.com Fri Jul 6 16:23:44 2012 From: rcbsimoes at hotmail.com (rcbsimoes) Date: Fri, 6 Jul 2012 07:23:44 -0700 (PDT) Subject: how to In-Reply-To: <4FF68871.8080903@free.fr> References: <4FF68871.8080903@free.fr> Message-ID: <1341584624572-4024535.post@n3.nabble.com> hi! thanks it worked just fine!!! greetings rui -- View this message in context: http://mailinglists.scilab.org/how-to-tp4024522p4024535.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Sun Jul 8 04:11:57 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sat, 07 Jul 2012 20:11:57 -0600 Subject: [scilab-Users] Need help, XCOS superblock Mask Customization Error In-Reply-To: <1341506024071-4024521.post@n3.nabble.com> References: <1341506024071-4024521.post@n3.nabble.com> Message-ID: <4FF8EC6D.5000205@scilab-enterprises.com> Le 05/07/2012 10:33, gurunath a ?crit : > Hi > > I am trying to create a XCos superblock. I have put few blocks of code as a > superblock and created a mask. After that when I am trying to customize it > to give parameters so that I can use the block several times. > > I am getting following error when I click Superblock Mask customize > Many bugs related to superblocks have been fixed in the 5.4.0 beta. Could you give it a try ? Thanks, S -- Sylvestre Ledru Operations Manager / Community Manager ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From gurunath_gurrala at yahoo.co.in Mon Jul 9 02:31:57 2012 From: gurunath_gurrala at yahoo.co.in (gurunath gurrala) Date: Mon, 9 Jul 2012 08:31:57 +0800 (SGT) Subject: [scilab-Users] Need help, XCOS superblock Mask Customization Error In-Reply-To: <4FF8EC6D.5000205@scilab-enterprises.com> References: <1341506024071-4024521.post@n3.nabble.com> <4FF8EC6D.5000205@scilab-enterprises.com> Message-ID: <1341793917.608.YahooMailNeo@web192204.mail.sg3.yahoo.com> Hi ? I have tested the model on SciLab 5.4 beta also.?The same error is poping up here also. I also observed few errors ? I have changed the working directory to my local folder in D drive. I have executed a code which is working in Scilab 3.3. ? I got the following error with "input" function. ? ?!--error 4 Undefined variable: input. ? Then I clicked the help button on the menu. The following error popped up. ? help(); ?????? !--error 4 Undefined variable: help while executing a callback ? I hope this will help you. I am a seriously considering SciLab for migrating from MATLAB. Hope that these finer things will be resolved at the earliest. ? regards Gurunath ? ________________________________ From: Sylvestre Ledru To: users at lists.scilab.org; gurunath_gurrala at yahoo.co.in Sent: Saturday, 7 July 2012 9:11 PM Subject: Re: [scilab-Users] Need help, XCOS superblock Mask Customization Error Le 05/07/2012 10:33, gurunath a ?crit : > Hi > > I am trying to create a XCos superblock. I have put few blocks of code as a > superblock and created a mask. After that when I am trying to customize it > to give parameters so that I can use the block several times. > > I am getting following error when I click Superblock Mask customize > Many bugs related to superblocks have been fixed in the 5.4.0 beta. Could you give it a try ? Thanks, S -- Sylvestre Ledru Operations Manager / Community Manager ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Mon Jul 9 02:37:47 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sun, 08 Jul 2012 18:37:47 -0600 Subject: [scilab-Users] Need help, XCOS superblock Mask Customization Error In-Reply-To: <1341793917.608.YahooMailNeo@web192204.mail.sg3.yahoo.com> References: <1341506024071-4024521.post@n3.nabble.com> <4FF8EC6D.5000205@scilab-enterprises.com> <1341793917.608.YahooMailNeo@web192204.mail.sg3.yahoo.com> Message-ID: <4FFA27DB.208@scilab-enterprises.com> Le 08/07/2012 18:31, gurunath gurrala a ?crit : > Hi > > I have tested the model on SciLab 5.4 beta also. The same error is > poping up here also. If you have an exception with superblock with the beta-1 of 5.4.0, please report a bug with a way to reproduce it. > I also observed few errors > > I have changed the working directory to my local folder in D drive. I > have executed a code which is working in Scilab 3.3. > > I got the following error with "input" function. > > !--error 4 > Undefined variable: input. > Please report a bug with a way to reproduce it. > Then I clicked the help button on the menu. The following error popped up. > > help(); > !--error 4 > Undefined variable: help > while executing a callback > That is wierd. Please report a bug also. > I hope this will help you. I am a seriously considering SciLab for > migrating from MATLAB. Hope that these finer things will be resolved > at the earliest. > All feedbacks and bug reports help us a lot. It is how we improve the software. Thanks for your time, Sylvestre -- Sylvestre Ledru Operations Manager / Community Manager ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcbsimoes at hotmail.com Mon Jul 9 23:32:46 2012 From: rcbsimoes at hotmail.com (rcbsimoes) Date: Mon, 9 Jul 2012 14:32:46 -0700 (PDT) Subject: Genetic Algoritm Message-ID: <1341869566053-4024549.post@n3.nabble.com> Hi All, i'm looking for a nice tutorial (with examples) for genetic algorithms. specificaly descrete (not continous) input variables. can same one point me a link? i've seen the presentation from http://www.scilab.org/support/documentation/tutorials -> Optimization in Scilab this one is nice, but i would like same more tutorials. greetings from pt, and thanks in advance. rui -- View this message in context: http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.baudin at contrib.scilab.org Tue Jul 10 10:06:11 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Tue, 10 Jul 2012 10:06:11 +0200 Subject: [scilab-Users] Genetic Algoritm In-Reply-To: <1341869566053-4024549.post@n3.nabble.com> References: <1341869566053-4024549.post@n3.nabble.com> Message-ID: <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> Hi, You are right, the "Optimization in Scilab" document does not provide examples of the GA with integer variables. But the demos of Scilab can help - please type : demo_gui() in the console, and search for the "Optimization and Simulation > Genetic Algorithms > Genetic Algorithms" demo. If you click this, it will execute the demo. The graphics window then contains a button "View Code", which lets you explore the code. The "binary" example is at the end of the script. We used this demo in a training dedicated to optimization we did last year, because it shows the sensitivity of the encoding on the convergence on the algorithm. In this example, the real variable is encoded in binary form. This requires to change the objective function, which now gets x as a string which contains a binary coding of the real variable. Before calling the function func (which manages real inputs), we convert the binary string into a real with the convert_to_float function which is provided by the GA toolbox. function y=f(x) BinLen = get_param(ga_params,'binary_length') tmp = convert_to_float(x, BinLen, Max, Min) y = func(tmp) endfunction Then there are some particular settings for managing the binary coding of the problem. We first have to set the 'binary_length' option which counts the number of bits used in the encoding and then set the crossover_ga_binary, mutation_ga_binary and coding_ga_binary functions. ga_params = add_param(ga_params,'binary_length',8); ga_params = set_param(ga_params,'crossover_func',crossover_ga_binary); ga_params = set_param(ga_params,'mutation_func',mutation_ga_binary); ga_params = set_param(ga_params,'codage_func',coding_ga_binary); In another context, working with integer variables may force you to write dedicated crossover_func, mutation_func and codage_func functions. But you may be able to use the current functions with binary encoding : just multiply the output of convert_to_float by 2^8 and you get an integer, uniform in the [0,2^8-1] range. -->floor(convert_to_float("11010101",8, 1, 0)*2^8) ans = 213. -->floor(convert_to_float("00000000",8, 1, 0)*2^8) ans = 0. Notice that, in multi-dimensional problems, the string x is the concatenation of the strings in all dimensions. For example, if the problem is in dimension 2, then the 8-bytes string x="11111111" can represent two different 4-bytes values. Best regards, Micha?l PS The convert_to_float function has no help page : http://bugzilla.scilab.org/show_bug.cgi?id=7912 On Mon, 9 Jul 2012 14:32:46 -0700 (PDT), rcbsimoes wrote: > Hi All, > > i'm looking for a nice tutorial (with examples) for genetic > algorithms. > specificaly descrete (not continous) input variables. > > can same one point me a link? > > i've seen the presentation from > http://www.scilab.org/support/documentation/tutorials -> > Optimization in > Scilab > > this one is nice, but i would like same more tutorials. > > greetings from pt, and thanks in advance. > rui > > > -- > View this message in context: > http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From michael.baudin at contrib.scilab.org Tue Jul 10 10:14:36 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Tue, 10 Jul 2012 10:14:36 +0200 Subject: [scilab-Users] Genetic Algoritm In-Reply-To: <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> Message-ID: <8edc4dc2b43ad9a06effea0ced635f51@contrib.scilab.org> Hi, Sorry for the bug in my previous message. s*convert_to_float(x,8,1,0) returns an integer in the range [0,s], if s=2^8-1. Best regards, Micha?l On Tue, 10 Jul 2012 10:06:11 +0200, wrote: > Hi, > > You are right, the "Optimization in Scilab" document does not provide > examples of the GA with integer variables. But the demos of Scilab > can > help - please type : > > demo_gui() > > in the console, and search for the "Optimization and Simulation > > Genetic Algorithms > Genetic Algorithms" demo. If you click this, it > will execute the demo. The graphics window then contains a button > "View Code", which lets you explore the code. The "binary" example is > at the end of the script. We used this demo in a training dedicated > to > optimization we did last year, because it shows the sensitivity of > the > encoding on the convergence on the algorithm. > > In this example, the real variable is encoded in binary form. This > requires to change the objective function, which now gets x as a > string which contains a binary coding of the real variable. Before > calling the function func (which manages real inputs), we convert the > binary string into a real with the convert_to_float function which is > provided by the GA toolbox. > > function y=f(x) > BinLen = get_param(ga_params,'binary_length') > tmp = convert_to_float(x, BinLen, Max, Min) > y = func(tmp) > endfunction > > Then there are some particular settings for managing the binary > coding of the problem. We first have to set the 'binary_length' > option > which counts the number of bits used in the encoding and then set the > crossover_ga_binary, mutation_ga_binary and coding_ga_binary > functions. > > ga_params = add_param(ga_params,'binary_length',8); > ga_params = > set_param(ga_params,'crossover_func',crossover_ga_binary); > ga_params = set_param(ga_params,'mutation_func',mutation_ga_binary); > ga_params = set_param(ga_params,'codage_func',coding_ga_binary); > > In another context, working with integer variables may force you to > write dedicated crossover_func, mutation_func and codage_func > functions. But you may be able to use the current functions with > binary encoding : just multiply the output of convert_to_float by 2^8 > and you get an integer, uniform in the [0,2^8-1] range. > > -->floor(convert_to_float("11010101",8, 1, 0)*2^8) > ans = > 213. > -->floor(convert_to_float("00000000",8, 1, 0)*2^8) > ans = > 0. > > Notice that, in multi-dimensional problems, the string x is the > concatenation of the strings in all dimensions. For example, if the > problem is in dimension 2, then the 8-bytes string x="11111111" can > represent two different 4-bytes values. > > Best regards, > > Micha?l > > PS > The convert_to_float function has no help page : > > http://bugzilla.scilab.org/show_bug.cgi?id=7912 > > On Mon, 9 Jul 2012 14:32:46 -0700 (PDT), rcbsimoes > wrote: >> Hi All, >> >> i'm looking for a nice tutorial (with examples) for genetic >> algorithms. >> specificaly descrete (not continous) input variables. >> >> can same one point me a link? >> >> i've seen the presentation from >> http://www.scilab.org/support/documentation/tutorials -> >> Optimization in >> Scilab >> >> this one is nice, but i would like same more tutorials. >> >> greetings from pt, and thanks in advance. >> rui >> >> >> -- >> View this message in context: >> http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549.html >> Sent from the Scilab users - Mailing Lists Archives mailing list >> archive at Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From gadepall at iith.ac.in Tue Jul 10 11:05:02 2012 From: gadepall at iith.ac.in (Gadepalli Sharma) Date: Tue, 10 Jul 2012 14:35:02 +0530 Subject: Create own library In-Reply-To: <8edc4dc2b43ad9a06effea0ced635f51@contrib.scilab.org> References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> <8edc4dc2b43ad9a06effea0ced635f51@contrib.scilab.org> Message-ID: I have a set of functions that I would like to put in a folder and be able to call from anywhere in Scilab. What is the simplest way to do this? The toolbox creation process is too tedious. regards, vishwanath. From hayder_wil.yandun at uao.edu.co Wed Jul 11 01:25:06 2012 From: hayder_wil.yandun at uao.edu.co (HAYDER WILLIAMS YANDUN PINZA) Date: Tue, 10 Jul 2012 23:25:06 +0000 Subject: A Question about Scilab Message-ID: <8C3DA6E89E1DAB418A887E58626E52A87EEC36@nobel.uao.edu.co> Hello, Good Afternoon My name is Jaider Yandun, actually i'm studying electronic engineering and i'm developing a prototype of a DAQ (Data Acquisition) Card with a uController and an ADC (Analog-Digital converter). the uController is a PIC 18F4550, this micro controller has USB comunication, the questions are 1. Scilab has a library or a module to work with USB protocol (read a USB device), if its true, are those libraries or modules compatibles with linux and windows? 2. With scilab, Can i do timed tasks ?, for example each 100ms read a USB device because, I need catch the data with the Ucontroller to after send to Scilab through usb. please i need a tutorial or information about how to do it please Help me, Thanks very much for you attention, [X] La informaci?n contenida en este correo electr?nico y en todos sus archivos anexos es confidencial y privilegiada, y no necesariamente trasmite el pensamiento o convicciones de la Universidad Aut?noma de Occidente. Si por alg?n motivo recibe esta comunicaci?n y usted no es el destinatario autorizado, s?rvase borrarlo de inmediato, notificarle de su error a la persona que lo envi? y abstenerse de divulgar su contenido y anexos, ya que esta informaci?n solo puede ser utilizada por la persona a quien est? dirigida. Est? prohibido cualquier uso inadecuado de esta informaci?n, as? como la generaci?n de copias de este mensaje. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dungnguyenbk at gmail.com Wed Jul 11 06:34:55 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Tue, 10 Jul 2012 21:34:55 -0700 (PDT) Subject: Link computational function written in Scilab language In-Reply-To: <4F2556E1.4040902@centre-cired.fr> References: <1327839019485-3697371.post@n3.nabble.com> <4F2556E1.4040902@centre-cired.fr> Message-ID: <1341981295278-4024554.post@n3.nabble.com> I implement my module. My computation written by c language. In some case. c computation will call interface written by scilab. Could you tell me how to call interface written by scilab form c computation. -- View this message in context: http://mailinglists.scilab.org/Link-computational-function-written-in-Scilab-language-tp3697371p4024554.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Wed Jul 11 09:11:16 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 11 Jul 2012 09:11:16 +0200 Subject: [scilab-Users] Create own library In-Reply-To: References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> <8edc4dc2b43ad9a06effea0ced635f51@contrib.scilab.org> Message-ID: <4FFD2714.60202@free.fr> Hello, Le 10/07/2012 11:05, Gadepalli Sharma a ?crit : > I have a set of functions that I would like to put in a folder and be able to call from anywhere in Scilab. What is the simplest way to do this? The toolbox creation process is too tedious. > genlib() to bundle functions set in a directory into a Scilab library, and lib() that declares a library in the current session are for you. Regards Samuel Gougeon From Mike at Page-One.Waitrose.com Wed Jul 11 10:16:33 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 11 Jul 2012 09:16:33 +0100 Subject: [scilab-Users] A Question about Scilab In-Reply-To: <8C3DA6E89E1DAB418A887E58626E52A87EEC36@nobel.uao.edu.co> Message-ID: Hi, For question 2, you can use Scilab real-time functions. For example in your initialisation code include realtimeinit (0.001); realtime (0);Then inside your loop include (where Delay is required loop time in ms) realtime (Delay); realtimeinit (0.001); realtime (0);I have used this successfully in the past. There is more info in Scilab's help (see under realtime). HTH, Mike. -----Original Message----- From: HAYDER WILLIAMS YANDUN PINZA [mailto:hayder_wil.yandun at uao.edu.co] Sent: 11 July 2012 00:25 To: ,; , Subject: [scilab-Users] A Question about Scilab Importance: High Hello, Good Afternoon My name is Jaider Yandun, actually i'm studying electronic engineering and i'm developing a prototype of a DAQ (Data Acquisition) Card with a uController and an ADC (Analog-Digital converter). the uController is a PIC 18F4550, this micro controller has USB comunication, the questions are 1. Scilab has a library or a module to work with USB protocol (read a USB device), if its true, are those libraries or modules compatibles with linux and windows? 2. With scilab, Can i do timed tasks ?, for example each 100ms read a USB device because, I need catch the data with the Ucontroller to after send to Scilab through usb. please i need a tutorial or information about how to do it please Help me, Thanks very much for you attention, La informaci?n contenida en este correo electr?nico y en todos sus archivos anexos es confidencial y privilegiada, y no necesariamente trasmite el pensamiento o convicciones de la Universidad Aut?noma de Occidente. Si por alg?n motivo recibe esta comunicaci?n y usted no es el destinatario autorizado, s?rvase borrarlo de inmediato, notificarle de su error a la persona que lo envi? y abstenerse de divulgar su contenido y anexos, ya que esta informaci?n solo puede ser utilizada por la persona a quien est? dirigida. Est? prohibido cualquier uso inadecuado de esta informaci?n, as? como la generaci?n de copias de este mensaje. No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2195 / Virus Database: 2437/5123 - Release Date: 07/10/12 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Wed Jul 11 10:29:15 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 11 Jul 2012 09:29:15 +0100 Subject: [scilab-Users] Re: Link computational function written in Scilab language In-Reply-To: <1341981295278-4024554.post@n3.nabble.com> Message-ID: Hi, If you want to call Scilab functions from within C code, you can use SendScilabJob. This is described in the help system. Don't forget to include the necessary files in your C files: #include "call_scilab.h" #include "api_scilab.h" And also add LibScilab.lib (assuming Windows) to your linker. If you want to do it the other way round (call a module written in C from within Scilab) you need to build the C code into a DLL (again Windows) and link that into Scilab using: link ("Path\filename.dll", functions, "c"); where functions is a string vector of entry point names. For more help see "link" in the Scilab help. There are other ways to do this - see help for more info. HTH, Mike. -----Original Message----- From: hehiha [mailto:dungnguyenbk at gmail.com] Sent: 11 July 2012 05:35 To: users at lists.scilab.org Subject: [scilab-Users] Re: Link computational function written in Scilab language I implement my module. My computation written by c language. In some case. c computation will call interface written by scilab. Could you tell me how to call interface written by scilab form c computation. -- View this message in context: http://mailinglists.scilab.org/Link-computational-function-written-in-Scilab -language-tp3697371p4024554.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2195 / Virus Database: 2437/5123 - Release Date: 07/10/12 From dungnguyenbk at gmail.com Wed Jul 11 11:15:51 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Wed, 11 Jul 2012 02:15:51 -0700 (PDT) Subject: Link computational function written in Scilab language In-Reply-To: References: <1327839019485-3697371.post@n3.nabble.com> <4F2556E1.4040902@centre-cired.fr> <1341981295278-4024554.post@n3.nabble.com> Message-ID: <1341998151673-4024558.post@n3.nabble.com> Sorry Mike. I didn't find LibScilab.lib. I am beginner in scilab. I'm writing external module. My module in some case call scilab function. My code have macro file and c file. macro file implement scilabfoo function and c file will call scilabfoo function. But I didn't know method to do. Could you tell me ? Here is my code marco file. EX6.sci function r = scilabfoo(x,y) r = x + y; block_parameter_error(msprintf(gettext("Wrong value for ''%d''."), r), .. gettext("Strictly positive integer expected.")); endfunction function [x, y, typ] = EX6(job, arg1, arg2) x = []; y = []; typ = []; select job case 'plot' then standard_draw(arg1) case 'getinputs' then [x, y, typ] = standard_inputs(arg1) case 'getoutputs' then [x, y, typ] = standard_outputs(arg1) case 'getorigin' then [x, y] = standard_origin(arg1) case 'set' then x = arg1; graphics = arg1.graphics; exprs = graphics.exprs model = arg1.model; block_parameter_error(msprintf(gettext("Wrong value for ''%s''."), gettext("Input Size")), .. gettext("Strictly positive integer expected.")); while %t do [ok, P1, P2, P3, exprs] = getvalue(.. 'Set Parameters',.. ['parameter 1';.. 'parameter 2';.. 'parameter 3'],.. list('vec', 1, 'vec', 1, 'vec', 1),.. exprs) if ~ok then break, end model.rpar = [P1; P2; P3] graphics.exprs = exprs x.graphics = graphics x.model = model break end case 'define' then P1 = 0 P2 = 5 P3 = 50 model = scicos_model() model.sim = list('EX6', 4) model.out = [1] model.state = [0] model.dstate = [] model.rpar = [P1; P2; P3] model.blocktype = 'c' model.dep_ut = [%f %t] exprs = string(model.rpar); gr_i = [ 'x=orig(1), y=orig(2), w=sz(1), h=sz(2)'; 'txt=[''CPU'';''Power generator'']'; 'xstringb(x + 0.25*w, y + 0.20*h, txt, 0.50*w, 0.60*h, ''fill'')';] x = standard_define([4 2], model, exprs, gr_i) end endfunction My computation code EX6.c #include "scicos_block.h" #include #include #include #include "call_scilab.h" #include "api_scilab.h" void EX6(scicos_block *blk, int flag) { SendScilabJob("myMatrix=['sample','for the help']");//I want to call scilabfoo function switch (flag) { case Initialization: blk->outptr[0][0] = blk->rpar[0] + blk->rpar[1] +blk->rpar[2]; break; case Ending: break; case OutputUpdate: blk->outptr[0][0] = blk->rpar[0] + blk->rpar[1] +blk->rpar[2]; break; default: break; } } -- View this message in context: http://mailinglists.scilab.org/Link-computational-function-written-in-Scilab-language-tp3697371p4024558.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Wed Jul 11 11:49:29 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 11 Jul 2012 10:49:29 +0100 Subject: [scilab-Users] Re: Link computational function written in Scilab language In-Reply-To: <1341998151673-4024558.post@n3.nabble.com> Message-ID: Hi, On my (Windows) system, LibScilab.lib is in C:\Program Files\scilab-5.3.2\bin. If you use a different OS, you'll have to find it yourself. I think you can use SendScilabJob to send any valid Scilab command to the Scilab engine. Before anything else, initialise the Scilab engine by calling: if (StartScilab (NULL, NULL, 0) == FALSE) { printf ("Error : StartScilab\n"); } Then you can call like in your code: SendScilabJob("myMatrix=['sample','for the help']");//I want to call This will create a string vector variable myMatrix in the Scilab workspace. You might want to check the return code (int) from this to be sure there is no error (== 0). If you get an error (usually 999) from a particular SendScilabJob message, it probably indicates that Scilab did not understand that particular message. After you've finished, shut down the Scilab engine by calling: if (TerminateScilab (NULL) == FALSE) { printf ("Error : TerminateScilab\n"); } To call your own function, first you need to send Scilab the function definition, either by sending the function definition line-by-line or sending "exec('myscilabfile');". Note the use of single quotes within C. Then you can send another string with your function call "r = scilabfoo(x,y)". Finally, I should say that I have only used this in Scilab, not Scicos, so there may be differences ;-) HTH, Mike. -----Original Message----- From: hehiha [mailto:dungnguyenbk at gmail.com] Sent: 11 July 2012 10:16 To: users at lists.scilab.org Subject: [scilab-Users] Re: Link computational function written in Scilab language Sorry Mike. I didn't find LibScilab.lib. I am beginner in scilab. I'm writing external module. My module in some case call scilab function. My code have macro file and c file. macro file implement scilabfoo function and c file will call scilabfoo function. But I didn't know method to do. Could you tell me ? Here is my code marco file. EX6.sci function r = scilabfoo(x,y) r = x + y; block_parameter_error(msprintf(gettext("Wrong value for ''%d''."), r), .. gettext("Strictly positive integer expected.")); endfunction function [x, y, typ] = EX6(job, arg1, arg2) x = []; y = []; typ = []; select job case 'plot' then standard_draw(arg1) case 'getinputs' then [x, y, typ] = standard_inputs(arg1) case 'getoutputs' then [x, y, typ] = standard_outputs(arg1) case 'getorigin' then [x, y] = standard_origin(arg1) case 'set' then x = arg1; graphics = arg1.graphics; exprs = graphics.exprs model = arg1.model; block_parameter_error(msprintf(gettext("Wrong value for ''%s''."), gettext("Input Size")), .. gettext("Strictly positive integer expected.")); while %t do [ok, P1, P2, P3, exprs] = getvalue(.. 'Set Parameters',.. ['parameter 1';.. 'parameter 2';.. 'parameter 3'],.. list('vec', 1, 'vec', 1, 'vec', 1),.. exprs) if ~ok then break, end model.rpar = [P1; P2; P3] graphics.exprs = exprs x.graphics = graphics x.model = model break end case 'define' then P1 = 0 P2 = 5 P3 = 50 model = scicos_model() model.sim = list('EX6', 4) model.out = [1] model.state = [0] model.dstate = [] model.rpar = [P1; P2; P3] model.blocktype = 'c' model.dep_ut = [%f %t] exprs = string(model.rpar); gr_i = [ 'x=orig(1), y=orig(2), w=sz(1), h=sz(2)'; 'txt=[''CPU'';''Power generator'']'; 'xstringb(x + 0.25*w, y + 0.20*h, txt, 0.50*w, 0.60*h, ''fill'')';] x = standard_define([4 2], model, exprs, gr_i) end endfunction My computation code EX6.c #include "scicos_block.h" #include #include #include #include "call_scilab.h" #include "api_scilab.h" void EX6(scicos_block *blk, int flag) { SendScilabJob("myMatrix=['sample','for the help']");//I want to call scilabfoo function switch (flag) { case Initialization: blk->outptr[0][0] = blk->rpar[0] + blk->rpar[1] +blk->rpar[2]; break; case Ending: break; case OutputUpdate: blk->outptr[0][0] = blk->rpar[0] + blk->rpar[1] +blk->rpar[2]; break; default: break; } } -- View this message in context: http://mailinglists.scilab.org/Link-computational-function-written-in-Scilab -language-tp3697371p4024558.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2195 / Virus Database: 2437/5124 - Release Date: 07/10/12 From dungnguyenbk at gmail.com Wed Jul 11 11:29:56 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Wed, 11 Jul 2012 02:29:56 -0700 (PDT) Subject: Use of SendScilabJob In-Reply-To: <1333453025975-3880580.post@n3.nabble.com> References: <1333453025975-3880580.post@n3.nabble.com> Message-ID: <1341998996890-4024559.post@n3.nabble.com> Hi I implement external module. my module have block ABC In ABC.sci file I implement 2 function 1. Function to show interface ABC block 2. Function XYZ in ABC.C file computation file do some thing for ABC block and call XYZ function. Do I use SendScilabJob function, all right ? How to use SendScilabJob function for my code ? -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024559.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rcbsimoes at hotmail.com Wed Jul 11 11:49:30 2012 From: rcbsimoes at hotmail.com (rcbsimoes) Date: Wed, 11 Jul 2012 02:49:30 -0700 (PDT) Subject: Genetic Algoritm In-Reply-To: <1341869566053-4024549.post@n3.nabble.com> References: <1341869566053-4024549.post@n3.nabble.com> Message-ID: <1342000170022-4024560.post@n3.nabble.com> thanks Mr Micha?l i'll give it a try today! greetings rui -- View this message in context: http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549p4024560.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Wed Jul 11 13:12:33 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Wed, 11 Jul 2012 12:12:33 +0100 Subject: [scilab-Users] Re: Use of SendScilabJob In-Reply-To: <1341998996890-4024559.post@n3.nabble.com> Message-ID: Hi Not sure which part of my previous explanation you didn't understand... Yes - you can use SendScilabJob from your C code. This function does exactly what would happen if you typed the string at the Scilab console. So if you do SendScilabJob("disp(%pi)"); it will cause 3.1416 to be printed on the terminal. So you need first to send a string to exec your function file, then another string to call the function, just like you would at the Scilab console. If you want to pass and retrieve large argument arrays, use createNamedMatrixOfDouble and readNamedMatrixOfDouble (see help text or example below). If not, just insert the argument values into the string in C using for example sprintf. Maybe an example would make it easier to follow. Have you tried the example provided (SendScilabJob("myMatrix=['sample','for the help']");) that you quoted in your code? Did it work? If not, what happened? Did it fail to compile or fail to link? What was the error? I can't write your code for you, but here's an example that works for me. It's more complicated than you need, but it might help. Mike. ========================================================== #include #include #include #include "call_scilab.h" #include "api_scilab.h" HANDLE PlotCmd[2]; HANDLE Reply; double x[100]; double y[100]; /*-------------------------------------------------------------------------- */ static void SciPlot (void* Params) { DWORD Event; BOOL Exit = FALSE; if (StartScilab (NULL, NULL, 0) == FALSE) { printf ("Error : StartScilab\n"); } Reply = CreateEvent (NULL, FALSE, FALSE, NULL); while (!Exit) { Event = WaitForMultipleObjects (2, PlotCmd, FALSE, INFINITE); switch (Event) { case (WAIT_OBJECT_0 + 0): { createNamedMatrixOfDouble (pvApiCtx, "x", 1, 100, x); createNamedMatrixOfDouble (pvApiCtx, "y", 1, 100, y); SendScilabJob ("delete (e);"); SendScilabJob ("plot2d(x,y);"); SendScilabJob ("e = gce ();"); printf ("...Plot started\n"); SetEvent (Reply); break; } case (WAIT_OBJECT_0 + 1): { Exit = TRUE; break; } } } if (TerminateScilab (NULL) == FALSE) { printf ("Error : TerminateScilab\n"); } SetEvent (Reply); } /*-------------------------------------------------------------------------- */ int main(void) { int i, j; printf ("Starting\n"); PlotCmd[0] = CreateEvent (NULL, FALSE, FALSE, NULL); PlotCmd[1] = CreateEvent (NULL, FALSE, FALSE, NULL); _beginthread (SciPlot, 0, NULL); Sleep (1000); for (j=1; j<100; j++) { x[j] = j; } for (i=0; i<10; i++) { for (j=1; j<100; j++) { y[j] = (2.0 *(double)rand () / (double)RAND_MAX) - 1.0; } printf ("Update Plot\n"); SetEvent (PlotCmd[0]); WaitForSingleObject (Reply, INFINITE); Sleep (1000); } printf ("Terminate Plot\n"); SetEvent (PlotCmd[1]); WaitForSingleObject (Reply, INFINITE); CloseHandle (PlotCmd[0]); CloseHandle (PlotCmd[1]); return 0; } /*-------------------------------------------------------------------------- */ ========================================================== -----Original Message----- From: hehiha [mailto:dungnguyenbk at gmail.com] Sent: 11 July 2012 10:30 To: users at lists.scilab.org Subject: [scilab-Users] Re: Use of SendScilabJob Hi I implement external module. my module have block ABC In ABC.sci file I implement 2 function 1. Function to show interface ABC block 2. Function XYZ in ABC.C file computation file do some thing for ABC block and call XYZ function. Do I use SendScilabJob function, all right ? How to use SendScilabJob function for my code ? -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024559.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2195 / Virus Database: 2437/5124 - Release Date: 07/10/12 From michael.baudin at contrib.scilab.org Wed Jul 11 15:20:27 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Wed, 11 Jul 2012 15:20:27 +0200 Subject: [scilab-Users] Create own library In-Reply-To: <4FFD2714.60202@free.fr> References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> <8edc4dc2b43ad9a06effea0ced635f51@contrib.scilab.org> <4FFD2714.60202@free.fr> Message-ID: <63a929c3a521ea3071ced413cac556d6@contrib.scilab.org> Hi, On this topic, see "Introduction to Scilab", section 6.3 "Function libraries" : http://forge.scilab.org/index.php/p/docintrotoscilab/downloads/ Best regards, Micha?l On Wed, 11 Jul 2012 09:11:16 +0200, Samuel Gougeon wrote: > Hello, > > Le 10/07/2012 11:05, Gadepalli Sharma a ?crit : >> I have a set of functions that I would like to put in a folder and >> be able to call from anywhere in Scilab. What is the simplest way to >> do this? The toolbox creation process is too tedious. >> genlib() to bundle functions set in a directory into a Scilab >> library, and > lib() that declares a library in the current session > are for you. > > Regards > Samuel Gougeon > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From mwwalmar at gmail.com Wed Jul 11 16:27:23 2012 From: mwwalmar at gmail.com (Marcin Walczak) Date: Wed, 11 Jul 2012 16:27:23 +0200 Subject: Different results while using scilab 4.1.2 and 5.3 Message-ID: Hi I was using scilab 4.1.2 and lately I've decided to change it to version 5.3. When I was testing the newer scilab 5.3 I noticed that there are some differences between results from the older version. I don't know what is the reason of such behaviour. I'm sending you a picture with curves (look at the values on the left) and the code so you could see it on your own. I would be glad if you could help me with solving this problem I'm looking foward for your reply Martin s=poly(0,'s'); Uo=6;Da=0.5;Go=1/15;L=0.00009;Rl=0.05;C=0.0004;Rc=0.1; Rt=0.2; Rd=0.07 Rz=Rl+Rt*Da+Rd*(1-Da);Cz=C*(1+Rc*Go);A0=Uo*Rz;A1=Uo*(L+C*Rc*Rz);A2=Uo*L*C*Rc;B0=1+Rz*Go;B1=L*Go+C*Rc+Rz*Cz;B2=L*Cz; H=syslin('c',-(A2*s^2+A1*s+A0)/(B2*s^2+B1*s+B0)); t=[0:0.000001:0.005];y=csim('step',t,H);plot(t,y) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scilab 4.1.2 vs 5.3.JPG Type: image/jpeg Size: 35652 bytes Desc: not available URL: From vogt at centre-cired.fr Thu Jul 12 00:17:57 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 12 Jul 2012 00:17:57 +0200 Subject: [scilab-Users] Different results while using scilab 4.1.2 and 5.3 In-Reply-To: References: Message-ID: <4FFDFB95.2060105@centre-cired.fr> Hi In 4.1, this line: y=csim('step',t,H); executes quietly. In Sci 5.3, it produces a warning: "the direct action is set to 0" (or similar, in my locale the message is displayed in french) I guess your problem has something to do with this. On 11/07/2012 16:27, Marcin Walczak wrote: > Hi > > I was using scilab 4.1.2 and lately I've decided to change it to version 5.3. When I was testing the newer scilab 5.3 I noticed that there are some differences between results from the older version. I don't know what is the reason of such behaviour. I'm sending you a picture with curves (look at the values on the left) and the code so you could see it on your own. I would be glad if you could help me with solving this problem > > I'm looking foward for your reply > > Martin > > > s=poly(0,'s'); > Uo=6; > Da=0.5; > Go=1/15; > L=0.00009; > Rl=0.05; > C=0.0004; > Rc=0.1; > Rt=0.2; > Rd=0.07 > > Rz=Rl+Rt*Da+Rd*(1-Da); > Cz=C*(1+Rc*Go);A0=Uo*Rz; > A1=Uo*(L+C*Rc*Rz); > A2=Uo*L*C*Rc; > B0=1+Rz*Go; > B1=L*Go+C*Rc+Rz*Cz; > B2=L*Cz; > > H=syslin('c',-(A2*s^2+A1*s+A0)/(B2*s^2+B1*s+B0)); > > t=[0:0.000001:0.005]; > y=csim('step',t,H); > plot(t,y) > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From dungnguyenbk at gmail.com Thu Jul 12 05:32:58 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Wed, 11 Jul 2012 20:32:58 -0700 (PDT) Subject: Use of SendScilabJob In-Reply-To: References: <1333453025975-3880580.post@n3.nabble.com> <1341998996890-4024559.post@n3.nabble.com> Message-ID: <1342063978433-4024567.post@n3.nabble.com> Hi Mike. Thank for your help. I try build this code for scilab-5.3.3, scilab-5.3.2, scilab-5.4.0-beta1 for windows and have same problem. Step1: I build this code. Have error with link c-strack.h fatal error C1189: #error : Using stack-c.h is deprecated! Step2: I remove include //#include "call_scilab.h" //#include "api_scilab.h" And rebuild no error. But when I run have error can not opne JVM library. Step3: I change if (StartScilab (NULL, NULL, 0) == FALSE) to if (Call_ScilabOpen(NULL, FALSE, NULL, 0)== FALSE) And rebuild no error. But when I run no happen. Scilab it hanger. It not show anything. Process can not normal exit. I must force this process. I don't know why. -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024567.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Thu Jul 12 10:53:57 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 12 Jul 2012 09:53:57 +0100 Subject: [scilab-Users] Re: Use of SendScilabJob In-Reply-To: <1342063978433-4024567.post@n3.nabble.com> Message-ID: Hi The stack-c problem is quite normal, but I think it should still work, at least up to Scilab-5.3.2 (which is what I use). When I build the original example (as given in the Scilab help system) with Visual C++ 2010, I get the build log: 1>------ Build started: Project: CallScilab, Configuration: Debug Win32 ------ 1> CallScilabTest.c 1> Using stack-c.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack-c.h API will be removed after Scilab 6.0. 1> Using stack-def.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack-def.h API will be removed after Scilab 6.0. 1> Using stack1.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack1.h API will be removed after Scilab 6.0. 1> Using stack2.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack2.h API will be removed after Scilab 6.0. 1> Using stack3.h is deprecated. Please use api_scilab instead (try 'help api_scilab'). Note the stack3.h API will be removed after Scilab 6.0. 1>c:\documents and settings\mike\my documents\visual studio 2010\projects\callscilab\callscilab\callscilabtest.c(59): warning C4047: 'function' : 'int' differs in levels of indirection from 'void *' 1>c:\documents and settings\mike\my documents\visual studio 2010\projects\callscilab\callscilab\callscilabtest.c(59): warning C4024: 'StartScilab' : different types for formal and actual parameter 3 1> CallScilab.vcxproj -> C:\Documents and Settings\Mike\My Documents\Visual Studio 2010\Projects\CallScilab\Debug\CallScilab.exe ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== So although I see a message about stack-c, I don't get a compiler error and the build succeeds and the final code runs perfectly. When I build my example (that I sent you), I get no errors or warnings. The build log is: 1>------ Rebuild All started: Project: CallSciExample, Configuration: Debug Win32 ------ 1> CallsciC.c 1> CallSciExample.vcxproj -> C:\Documents and Settings\Mike\My Documents\Visual Studio 2010\Projects\CallSciExample\Debug\CallSciExample.exe ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ========== If I comment out //#include "call_scilab.h" //#include "api_scilab.h" then I get a lot of undefined symbol errors as I would expect. I can't see how you can build this without any errors. Symbols like StartScilab should be flagged up as undefined. My best guess is that you have your PC or Visual C++ configured differently from me. All I can say is that the example I sent builds perfectly for me. It may be that you don't have all the right include or lib files. Just to be sure, I have packaged all the C project files for this example in a zip file and mailed it to you (dungnguyenbk-AT-gmail-DOT-com) off-list. Try that to see if it works. If it does, you need to work back to find what's different in your own example code. If that doesn't fix it, I don't think I can help any more - I am just a Scilab user. Maybe one of the experts on this forum has some ideas. Regards, Mike. -----Original Message----- From: hehiha [mailto:dungnguyenbk at gmail.com] Sent: 12 July 2012 04:33 To: users at lists.scilab.org Subject: [scilab-Users] Re: Use of SendScilabJob Hi Mike. Thank for your help. I try build this code for scilab-5.3.3, scilab-5.3.2, scilab-5.4.0-beta1 for windows and have same problem. Step1: I build this code. Have error with link c-strack.h fatal error C1189: #error : Using stack-c.h is deprecated! Step2: I remove include //#include "call_scilab.h" //#include "api_scilab.h" And rebuild no error. But when I run have error can not opne JVM library. Step3: I change if (StartScilab (NULL, NULL, 0) == FALSE) to if (Call_ScilabOpen(NULL, FALSE, NULL, 0)== FALSE) And rebuild no error. But when I run no happen. Scilab it hanger. It not show anything. Process can not normal exit. I must force this process. I don't know why. -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024567.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2195 / Virus Database: 2437/5125 - Release Date: 07/11/12 From dungnguyenbk at gmail.com Thu Jul 12 11:16:43 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Thu, 12 Jul 2012 02:16:43 -0700 (PDT) Subject: Use of SendScilabJob In-Reply-To: References: <1333453025975-3880580.post@n3.nabble.com> <1341998996890-4024559.post@n3.nabble.com> <1342063978433-4024567.post@n3.nabble.com> Message-ID: <1342084603331-4024571.post@n3.nabble.com> Hi Mike Thank you very much. I think have difference because I implement my xcos external module and build by scilab console. I don't know method to build xcos external module by visual C++. I am beginner with xcos and scilab. I don't understand xcos well. I really appreciate your help. -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024571.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dungnguyenbk at gmail.com Fri Jul 13 05:51:50 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Thu, 12 Jul 2012 20:51:50 -0700 (PDT) Subject: examples In-Reply-To: References: Message-ID: <1342151510037-4024573.post@n3.nabble.com> If you want to add your block in xcos. You must implement external module. You can use example code to investigate. Here link code you can use. 1. You download source code http://atoms.scilab.org/toolboxes/xcos_toolbox_skeleton 2. extract 3. Open scilab 4. go to folder source code (2) and use cmd exec builder.sce 5. load block to xcos pallete exec loader.sce Note: 1. You must install visual studio c++ express or ... to build 2. If you use scilab-5.4.0-beta1. Please change file type image/h5/*.h5 => image/h5/*.sod -- View this message in context: http://mailinglists.scilab.org/examples-tp4024404p4024573.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dungnguyenbk at gmail.com Fri Jul 13 06:00:47 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Thu, 12 Jul 2012 21:00:47 -0700 (PDT) Subject: Use of SendScilabJob In-Reply-To: <1342084603331-4024571.post@n3.nabble.com> References: <1333453025975-3880580.post@n3.nabble.com> <1341998996890-4024559.post@n3.nabble.com> <1342063978433-4024567.post@n3.nabble.com> <1342084603331-4024571.post@n3.nabble.com> Message-ID: <1342152047151-4024574.post@n3.nabble.com> Hi Mike I'm sorry to disturb you. But I want to run your program (CallSciExample). I can build your source code. But I don't know method to run scilab program in visual studio. Could you tell me how to run your program. I want to understand more about scilab. Thank you. -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024574.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dungnguyenbk at gmail.com Fri Jul 13 06:52:29 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Thu, 12 Jul 2012 21:52:29 -0700 (PDT) Subject: Use of SendScilabJob In-Reply-To: <1342084603331-4024571.post@n3.nabble.com> References: <1333453025975-3880580.post@n3.nabble.com> <1341998996890-4024559.post@n3.nabble.com> <1342063978433-4024567.post@n3.nabble.com> <1342084603331-4024571.post@n3.nabble.com> Message-ID: <1342155149015-4024575.post@n3.nabble.com> Hi Mike I am sorry to disturb you. But I want run your program (CallSciExample) to understand more about scilab. Case 1: I had setting your code with visual studio c++ 2010 Express and I can build this source code. But I don't know method to run it. Case 2: I ref this link http://wiki.scilab.org/How%20to%20debug%20an%20external%20source%20code%20linked%20to%20scilab%20with%20Visual%20Studio I can build your source code with scilab-5.3.2 but when I run this program have error. "Scilab can not open JVM library" Do you have the same error ? Could you tell my wrong step ? Sorry about my disturb. Thank you. -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024575.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Fri Jul 13 09:55:10 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Fri, 13 Jul 2012 08:55:10 +0100 Subject: [scilab-Users] Re: Use of SendScilabJob In-Reply-To: <1342155149015-4024575.post@n3.nabble.com> Message-ID: Hi, When I run it, a Scilab plot window appears, updates the graph with random data a few times and then disappears again. The first time of running, it may not quite work properly, because of the delay in loading all the required DLLs, but the next time it runs perfectly for me. You just run the code from within Visual C++ by pressing the run button (or menu Debug, Start Debugging). Alternatively you can just double click the file CallSciExample.exe that is created by the build. The Scilab plotting obviously uses Java, so you need to have the JVM installed. You should be able to see it in the list of installed programs (Control Panel, Add or Remove Software). Mine shows "Java(TM) 7 Update 5". If you don't have Java, you can download it and install it from www.java.com. But since Scilab plotting requires Java, you would not be able to plot with Scilab unless you have it already. If you type plot() at the Scilab console, do you see the graphs? If that works, but my code gives you the error "Scilab can not open JVM library", then I don't know what is wrong. Perhaps an expert on this forum might know. HTH, Mike. -----Original Message----- From: hehiha [mailto:dungnguyenbk at gmail.com] Sent: 13 July 2012 05:52 To: users at lists.scilab.org Subject: [scilab-Users] Re: Use of SendScilabJob Hi Mike I am sorry to disturb you. But I want run your program (CallSciExample) to understand more about scilab. Case 1: I had setting your code with visual studio c++ 2010 Express and I can build this source code. But I don't know method to run it. Case 2: I ref this link http://wiki.scilab.org/How%20to%20debug%20an%20external%20source%20code%20li nked%20to%20scilab%20with%20Visual%20Studio I can build your source code with scilab-5.3.2 but when I run this program have error. "Scilab can not open JVM library" Do you have the same error ? Could you tell my wrong step ? Sorry about my disturb. Thank you. -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024575.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2195 / Virus Database: 2437/5127 - Release Date: 07/12/12 From dungnguyenbk at gmail.com Fri Jul 13 13:00:23 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Fri, 13 Jul 2012 04:00:23 -0700 (PDT) Subject: Use of SendScilabJob In-Reply-To: References: <1333453025975-3880580.post@n3.nabble.com> <1341998996890-4024559.post@n3.nabble.com> <1342063978433-4024567.post@n3.nabble.com> <1342084603331-4024571.post@n3.nabble.com> <1342155149015-4024575.post@n3.nabble.com> Message-ID: <1342177223619-4024578.post@n3.nabble.com> Hi Mike I can use plot() function to show graph. I have install "Java(TM) 7 Update 5". I do the same you. After build with visualstudio. I pressing run on menu Debug. But have error that "this application has failed start because call_scilab.dll was not found. Re-installing the application may fix this problem." Could you know about this error ? -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024578.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Mike at Page-One.Waitrose.com Fri Jul 13 15:45:52 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Fri, 13 Jul 2012 14:45:52 +0100 Subject: [scilab-Users] Re: Use of SendScilabJob In-Reply-To: <1342177223619-4024578.post@n3.nabble.com> Message-ID: Hi, This is just a common problem with Windows. It searches for DLLs in a defined set of directories. That set won't by default include the place where the Scilab DLLs are located. If you are interested, there is an article on this on the Microsoft website (http://msdn.microsoft.com/en-us/library/ms682586.aspx). There are two ways to fix this. The simplest is to add C:\Program Files\scilab-5.3.2\bin (or wherever is the correct location on your PC) to the PATH variable. The other is just to copy the required DLLs from there to the same directory as the executable you are running (probably ...\My Documents\Visual Studio 2010\Projects\CallScilab\Debug). This second method sounds easy, but it usually takes a while to work out all the required DLLs. If you just copy over call_scilab.dll, you will find the next error relates to another DLL. This process can go on for a long time until you find them all. Alternatively, you can find all the required DLLs using a tool like "Depends" (http://www.dependencywalker.com/). I think you can also do this using the Manifest builder in Visual C++, but I'm afraid I don't know how :-( I suggest you try the first method, but it depends how you want your PC to be configured. If you do this for every program you want to run, the PATH becomes very long and this can also cause problems where multiple (different) copies of the same DLL exist on one PC. Good luck! Mike. -----Original Message----- From: hehiha [mailto:dungnguyenbk at gmail.com] Sent: 13 July 2012 12:00 To: users at lists.scilab.org Subject: [scilab-Users] Re: Use of SendScilabJob Hi Mike I can use plot() function to show graph. I have install "Java(TM) 7 Update 5". I do the same you. After build with visualstudio. I pressing run on menu Debug. But have error that "this application has failed start because call_scilab.dll was not found. Re-installing the application may fix this problem." Could you know about this error ? -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024578.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2195 / Virus Database: 2437/5128 - Release Date: 07/12/12 From sgougeon at free.fr Sun Jul 15 18:35:49 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 15 Jul 2012 18:35:49 +0200 Subject: Hidden modules in online ATOMS? Message-ID: <5002F165.6090300@free.fr> Hello, I was wondering why http://atoms.scilab.org/toolboxes/CEMEF-UTN is not listed in the ATOMS full list, whatever is the sorting criterium. Is it a feature, or a bug? Regards Samuel Gougeon -------------- next part -------------- An HTML attachment was scrubbed... URL: From gadepall at iith.ac.in Mon Jul 16 03:28:32 2012 From: gadepall at iith.ac.in (Gadepalli Sharma) Date: Mon, 16 Jul 2012 06:58:32 +0530 Subject: Atoms Installation: Scilab 5.4.0-beta1 Message-ID: Hi, I'm on Mac Snow Leopard. When I try to open the atoms module manager under applications, I get the following error on the console. atomsDownload: The following file hasn't been downloaded: - URL : 'http://atoms.scilab.org/5.4/TOOLBOXES/64/macosx.gz' - Local location : '/private/var/folders/1s/1sFVbdNiGLG09KPlWM5vsE+++TI/-Tmp-/SCI_TMP_1005_XHsiJh/.atoms/1_TOOLBOXES.gz' My internet connection is fine. I have downloaded this version of scilab a few times and the problem persists. I have the 5.3.3 stable version, which is absolutely fine. Please resolve the above problem. thanks, Vishwanath. From anuragjain at gimtkkr.com Mon Jul 16 07:15:39 2012 From: anuragjain at gimtkkr.com (Anurag Jain) Date: Sun, 15 Jul 2012 22:15:39 -0700 Subject: please answer one query Message-ID: sir I am Anurag Jain, Assistant Professor in Computer Science department of Geeta Institute of Management & Technology, Kanipla, Kurukshetra. We are going to organize "Spoken Tutorial" workshop through IITBombay on SCI Lab for our M.Tech. students. Our students want to ensure that following tools are available in SCI Lab or not 1. Image Processing Tool 2. Genetic Algorithm Tool 3. Neural Network Tool They want to know this thing because they want to to do their thesis in one of the topic. If these are not available in that case we have to switch on MATLAB. But i personally want to use SCI lab. So please answer this. I also want to know that do you conduct any workshop on SCI lab only for teachers also so that one of the faculty member can attend the workshop Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at contrib.scilab.org Mon Jul 16 10:20:55 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Mon, 16 Jul 2012 10:20:55 +0200 Subject: [scilab-Users] please answer one query In-Reply-To: References: Message-ID: <3496273485c45aec17b9f76b3027f256@contrib.scilab.org> Hi, There are two neural networks modules packaged in Atoms : ANN and Lolimot. Here is the link : http://atoms.scilab.org/categories/Data_Analysis_And_Statistics/Neural_networks There is a review of the ANN toolbox at : http://wiki.scilab.org/New%20Scientific%20Features%20in%202010#A7th_of_September_2010:_ANN_Toolbox There are 4 built-in functions for genetic algorithms. The simplest is optim_ga : help.scilab.org/optim_ga For more details on GA in Scilab, you may read the section "Genetic Algorithms" of the Scilab Optimization Datasheet : http://wiki.scilab.org/Scilab%20Optimization%20Datasheet or the Chapter 6 "Genetic algorithms" of "Optimization in Scilab" : http://forge.scilab.org/index.php/p/docoptimscilab/downloads/ Best regards, Micha?l On Sun, 15 Jul 2012 22:15:39 -0700, Anurag Jain wrote: > sir > I am Anurag Jain, Assistant Professor in Computer Science department > of Geeta Institute of Management & Technology, Kanipla, Kurukshetra. > We are going to organize "Spoken Tutorial" workshop through IITBombay > on SCI Lab for our M.Tech. students. Our students want to ensure that > following tools are available in SCI Lab or not > 1. Image Processing Tool > 2. Genetic Algorithm Tool > 3. Neural Network Tool > > They want to know this thing because they want to to do their thesis > in one of the topic. If these are not available in that case we have > to switch on MATLAB. But i personally want to use SCI lab. So please > answer this. > I also want to know that do you conduct any workshop on SCI lab only > for teachers also so that one of the faculty member can attend the > workshop > Thanks From eduardo.torrecillas at gmail.com Mon Jul 16 16:04:51 2012 From: eduardo.torrecillas at gmail.com (Eduardo Torrecillas) Date: Mon, 16 Jul 2012 11:04:51 -0300 Subject: fsolve with external fortran subroutine Message-ID: Hi everybody, I am trying to use fsolve with a fortran subroutine as argument. For example, consider the following calling sequence: X0=[0 0] tol=1E-15 [X,v]=fsolve(X0,'fequil_fortran',tol) In this case 'fequil_fortran' is my external fortran subroutine, given below: -------------------------------------------------------------------- subroutine fequil_fortran(n,x,v,iflag) implicit none integer,intent(in)::n,iflag real(kind=8),dimension(n),intent(in)::x real(kind=8),dimension(n),intent(out)::vreal(kind=8)::a,b a=1.0_dp b=2.0_dp v(1)=a*x(1)+b*x(2)-1.0_dp v(2)=2.0_dp*a*x(1)-b*x(2)-5.0_dp end subroutine fequil_fortran --------------------------------------------------------------------- It worked fine and fsolve found the solution. Now, suppose I have to pass arguments to the fortran subroutine, in addition to the default (n,x,v,iflag). For instance, imagine I had to pass the 'a' and 'b' variables from Scilab to the fortran subroutine in the code above. I have already performed something like this but with "optim". In fact, "optim" gives you the possibility to pass a list of integer, real or double variables to the external code. Is there anything similar to be used with fsolve? Regards, -- Eduardo Torrecillas AER-09 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Mon Jul 16 16:22:52 2012 From: paul.carrico at esterline.com (Carrico, Paul) Date: Mon, 16 Jul 2012 16:22:52 +0200 Subject: Nelder-Mead optimization Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B7732B@exchsrv.AUXITROL1> Dear All, I would like to re-use an routine written more than a year ago ... but it failed ; I can understand thinks have been done in order to improve the function, but : - I don't remember what's optimbase_configure ... - what's wrong ? Any advice ? Regards Paul The main routine is something like : // 8 parameters lower_bounds = [0.22 2.337 18.72 14.859 19.05 14.5 1.85 0.]; upper_bounds = [0.28 2.388 18.771 15.0119 19.075 14.6 1.95 0.68]; data = list(lower_bounds,upper_bounds); printf("\n The initial parameters are the following :\n"); thickness = 0.28; height = 2.380; D_ext = 18.771; D_int = 14.859; groove_ext_radius = 19.075; groove_int_radius = 14.50; housing_deepth = 1.85; COEF_FRICTION = 0.4; initial_parameters = [thickness height D_ext D_int groove_ext_radius groove_int_radius housing_deepth COEF_FRICTION]; // CPU time : start time_start = tic(); // Nelder-mead optimization nm = neldermead_new (); nm = neldermead_configure(nm,"-numberofvariables",8); // Number of variables nm = neldermead_configure(nm,"-function",optimization_nm); nm = neldermead_configure(nm,"-x0",initial_parameters'); // BE CAREFUL : nitial_parameters' = transposed matrix nm = neldermead_configure(nm,"-method","box"); // box => brackets are taken into account nm = neldermead_configure(nm,"-maxiter",10000); nm = neldermead_configure(nm,"-boundsmin",lower_bounds); nm = neldermead_configure(nm,"-boundsmax",upper_bounds); nm = neldermead_configure(nm,"-costfargument",data); nm = neldermead_configure(nm,"-simplex0method","randbounds"); [nm,SSE] = neldermead_function(nm,initial_parameters'); nm = neldermead_search(nm); // start optimization process optimized_parameters = neldermead_get(nm,"-xopt"); // extract of the results nm = neldermead_destroy(nm); The error message is : AVERTISSEMENT : La fonctionnalit? optimbase_configure est obsol?te. AVERTISSEMENT : Veuillez utiliser -function ? la place. AVERTISSEMENT : Cette fonctionnalit? va ?tre d?finitivement supprim?e dans Scilab 5.4.1 ######################################################### * Iteration No : 1 * thickness = 0.28 * height = 2.38 * D_ext = 18.771 * D_int = 14.859 * groove_ext_radius = 19.075 * groove_int_radius = 14.5 * housing_deepth = 1.85 * COEF_FRICTION = 0.4 !--error 58 Nombre erron? d'arguments d'entr?e.at line 73 of function __optimbase_f__ called by : at line 66 of function optimbase_function called by : at line 7 of function neldermead_function called by : [nm,SSE] = neldermead_function(nm,initial_parameters'); at line 65 of exec file called by : -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Mon Jul 16 17:15:51 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Mon, 16 Jul 2012 17:15:51 +0200 Subject: [scilab-Users] fsolve with external fortran subroutine In-Reply-To: References: Message-ID: <50043027.7070807@inria.fr> Le 16/07/2012 16:04, Eduardo Torrecillas a ?crit : > > Hi everybody, > > I am trying to use fsolve with a fortran subroutine as argument. For > example, consider the following calling sequence: > > X0=[0 0] > > tol=1E-15 > > [X,v]=fsolve(X0,'fequil_fortran',tol) > > In this case 'fequil_fortran' is my external fortran subroutine, given > below: > > -------------------------------------------------------------------- > > subroutine fequil_fortran(n,x,v,iflag) > > implicit none > > integer,intent(in)::n,iflag > > real(kind=8),dimension(n),intent(in)::x > > real(kind=8),dimension(n),intent(out)::vreal(kind=8)::a,b > > a=1.0_dp > > b=2.0_dp > > v(1)=a*x(1)+b*x(2)-1.0_dp > > v(2)=2.0_dp*a*x(1)-b*x(2)-5.0_dp > > end subroutine fequil_fortran > > --------------------------------------------------------------------- > > It worked fine and fsolve found the solution. Now, suppose I have to > pass arguments to the fortran subroutine, in addition to the default > (n,x,v,iflag). For instance, imagine I had to pass the 'a' and 'b' > variables from Scilab to the fortran subroutine in the code above. I > have already performed something like this but with "optim". In fact, > "optim" gives you the possibility to pass a list of integer, real or > double variables to the external code. Is there anything similar to be > used with fsolve? > The answer is no, the underlying code does not handle extra arguments for the external function. It is however possible to declare a and b as elements of a common and to set their value using another fortran code called using the function call something like subroutine fequil_settings(a,b) ... end Also add the common declaration in fequil_fortran, compile and link both function with Scilab And then in Scilab you can do a=... b=... call("fequil_settings",a,1,"d",b,2,"d","out",[1 1],"d"); [X,v]=fsolve(X0,'fequil_fortran',tol) > Regards, > > -- > Eduardo Torrecillas > AER-09 From paul.carrico at free.fr Mon Jul 16 19:25:39 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Mon, 16 Jul 2012 19:25:39 +0200 (CEST) Subject: [scilab-Users] Nelder-Mead optimization In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B7732B@exchsrv.AUXITROL1> Message-ID: <851272005.28763150.1342459539962.JavaMail.root@zimbra5-e1.priv.proxad.net> sorry for the request ... but it seems that some changes have been made in my solver as well ... Paul ----- Mail original ----- De: "Paul Carrico" ?: users at lists.scilab.org Envoy?: Lundi 16 Juillet 2012 16:22:52 Objet: [scilab-Users] Nelder-Mead optimization Dear All, I would like to re-use an routine written more than a year ago ... but it failed ; I can understand thinks have been done in order to improve the function, but : - I don't remember what's optimbase_configure ... - what's wrong ? Any advice ? Regards Paul The main routine is something like : // 8 parameters lower_bounds = [ 0.22 2.337 18.72 14.859 19.05 14.5 1.85 0. ] ; upper_bounds = [ 0.28 2.388 18.771 15.0119 19.075 14.6 1.95 0.68 ] ; data = list ( lower_bounds , upper_bounds ) ; printf ( " \n The initial parameters are the following :\n " ) ; thickness = 0.28 ; height = 2.380 ; D_ext = 18.771 ; D_int = 14.859 ; groove_ext_radius = 19.075 ; groove_int_radius = 14.50 ; housing_deepth = 1.85 ; COEF_FRICTION = 0.4 ; initial_parameters = [ thickness height D_ext D_int groove_ext_radius groove_int_radius housing_deepth COEF_FRICTION ] ; // CPU time : start time_start = tic ( ) ; // Nelder-mead optimization nm = neldermead_new ( ) ; nm = neldermead_configure ( nm , " -numberofvariables " , 8 ) ; // Number of variables nm = neldermead_configure ( nm , " -function " , optimization_nm ) ; nm = neldermead_configure ( nm , " -x0 " , initial_parameters ' ) ; // BE CAREFUL : nitial_parameters ' = transposed matrix nm = neldermead_configure ( nm , " -method " , " box " ) ; // box = > brackets are taken into account nm = neldermead_configure ( nm , " -maxiter " , 10000 ) ; nm = neldermead_configure ( nm , " -boundsmin " , lower_bounds ) ; nm = neldermead_configure ( nm , " -boundsmax " , upper_bounds ) ; nm = neldermead_configure ( nm , " -costfargument " , data ) ; nm = neldermead_configure ( nm , " -simplex0method " , " randbounds " ) ; [ nm , SSE ] = neldermead_function ( nm , initial_parameters ' ) ; nm = neldermead_search ( nm ) ; // start optimization process optimized_parameters = neldermead_get ( nm , " -xopt " ) ; // extract of the results nm = neldermead_destroy ( nm ) ; The error message is : AVERTISSEMENT : La fonctionnalit? optimbase_configure est obsol?te. AVERTISSEMENT : Veuillez utiliser -function ? la place. AVERTISSEMENT : Cette fonctionnalit? va ?tre d?finitivement supprim?e dans Scilab 5.4.1 ######################################################### * Iteration No : 1 * thickness = 0.28 * height = 2.38 * D_ext = 18.771 * D_int = 14.859 * groove_ext_radius = 19.075 * groove_int_radius = 14.5 * housing_deepth = 1.85 * COEF_FRICTION = 0.4 !--error 58 Nombre erron? d'arguments d'entr?e.at line????? 73 of function __optimbase_f__ called by : at line????? 66 of function optimbase_function called by : at line?????? 7 of function neldermead_function called by : [nm,SSE] = neldermead_function(nm,initial_parameters'); at line????? 65 of exec file called by : -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From hayder_wil.yandun at uao.edu.co Mon Jul 16 21:46:27 2012 From: hayder_wil.yandun at uao.edu.co (HAYDER WILLIAMS YANDUN PINZA) Date: Mon, 16 Jul 2012 19:46:27 +0000 Subject: RV: A Question about Scilab In-Reply-To: <8C3DA6E89E1DAB418A887E58626E52A87EEC36@nobel.uao.edu.co> References: <8C3DA6E89E1DAB418A887E58626E52A87EEC36@nobel.uao.edu.co> Message-ID: <8C3DA6E89E1DAB418A887E58626E52A87EF071@nobel.uao.edu.co> Hello, Good Afternoon My name is Jaider Yandun, actually i'm studying electronic engineering and i'm developing a prototype of a DAQ (Data Acquisition) Card with a uController and an ADC (Analog-Digital converter). the uController is a PIC 18F4550, this micro controller has USB comunication, the questions are 1. Scilab has a library or a module to work with USB protocol (read a USB device), if its true, are those libraries or modules compatibles with linux and windows? 2. With scilab, Can i do timed tasks ?, for example each 100ms read a USB device because, I need catch the data with the Ucontroller to after send to Scilab through usb. please i need a tutorial or information about how to do it please Help me, Thanks very much for you attention, [X] La informaci?n contenida en este correo electr?nico y en todos sus archivos anexos es confidencial y privilegiada, y no necesariamente trasmite el pensamiento o convicciones de la Universidad Aut?noma de Occidente. Si por alg?n motivo recibe esta comunicaci?n y usted no es el destinatario autorizado, s?rvase borrarlo de inmediato, notificarle de su error a la persona que lo envi? y abstenerse de divulgar su contenido y anexos, ya que esta informaci?n solo puede ser utilizada por la persona a quien est? dirigida. Est? prohibido cualquier uso inadecuado de esta informaci?n, as? como la generaci?n de copias de este mensaje. -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at contrib.scilab.org Mon Jul 16 22:22:27 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Mon, 16 Jul 2012 22:22:27 +0200 Subject: [scilab-Users] Nelder-Mead optimization In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B7732B@exchsrv.AUXITROL1> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B7732B@exchsrv.AUXITROL1> Message-ID: Dear Paul, There were several changes in Scilab v5.4 which simplify the use of the neldermead component. For the first warning, you get this message because you use the -costfargument option, which is now obsolete. Tagged -costfargument option of optimbase as obsolete: will be maintained for backward compatibility until 5.4.1. The -fun option can now be a list, where the element #1 is a function, and the elements #2 to the end are automatically appended to the calling sequence. To update your code, replace: nm = neldermead_configure(nm,"-function",myfun); nm = neldermead_configure(nm,"-costfargument",mystuff); with nm = neldermead_configure(nm,"-function",list(myfun,mystuff)); You will find the required details in the "Changes in Scilab 5.4" section of : http://help.scilab.org/docs/5.4.0-beta-1/en_US/neldermead.html See also the "Example #6: Passing extra parameters" section for extra arguments. Does this fix the error too ? Best regards, Micha?l On Mon, 16 Jul 2012 16:22:52 +0200, "Carrico, Paul" wrote: > Dear All, > > I would like to re-use an routine written more than a year ago ... > but > it failed ; > > I can understand thinks have been done in order to improve the > function, but : > - I don't remember what's optimbase_configure ... > - what's wrong ? > > Any advice ? > > Regards > > Paul > > The main routine is something like : > > // 8 parameters > lower_bounds = [0.22 2.337 18.72 14.859 19.05 14.5 1.85 0.]; > upper_bounds = [0.28 2.388 18.771 15.0119 19.075 14.6 1.95 0.68]; > data = list(lower_bounds,upper_bounds); > > printf("n The initial parameters are the following :n"); > thickness = 0.28; > height = 2.380; > D_ext = 18.771; > D_int = 14.859; > groove_ext_radius = 19.075; > groove_int_radius = 14.50; > housing_deepth = 1.85; > COEF_FRICTION = 0.4; > > initial_parameters = [thickness height D_ext D_int groove_ext_radius > groove_int_radius housing_deepth COEF_FRICTION]; > > // CPU time : start > time_start = tic(); > > // Nelder-mead optimization > nm = neldermead_new (); > nm = neldermead_configure(nm,"-numberofvariables",8); // Number of > variables > nm = neldermead_configure(nm,"-function",optimization_nm); > nm = neldermead_configure(nm,"-x0",initial_parameters'); // BE > CAREFUL > : nitial_parameters' = transposed matrix > nm = neldermead_configure(nm,"-method","box"); // box => brackets are > taken into account > nm = neldermead_configure(nm,"-maxiter",10000); > nm = neldermead_configure(nm,"-boundsmin",lower_bounds); > nm = neldermead_configure(nm,"-boundsmax",upper_bounds); > nm = neldermead_configure(nm,"-costfargument",data); > nm = neldermead_configure(nm,"-simplex0method","randbounds"); > [nm,SSE] = neldermead_function(nm,initial_parameters'); > nm = neldermead_search(nm); // start optimization process > optimized_parameters = neldermead_get(nm,"-xopt"); // extract of the > results > nm = neldermead_destroy(nm); > > The error message is : > > AVERTISSEMENT : La fonctionnalit? optimbase_configure est obsol?te. > AVERTISSEMENT : Veuillez utiliser -function ? la place. > AVERTISSEMENT : Cette fonctionnalit? va ?tre d?finitivement > supprim?e dans Scilab 5.4.1 > > ######################################################### > * Iteration No : 1 > * thickness = 0.28 > * height = 2.38 > * D_ext = 18.771 > * D_int = 14.859 > * groove_ext_radius = 19.075 > * groove_int_radius = 14.5 > * housing_deepth = 1.85 > * COEF_FRICTION = 0.4 > !--error 58 > Nombre erron? d'arguments d'entr?e.at line 73 of function > __optimbase_f__ called by : > at line 66 of function optimbase_function called by : > at line 7 of function neldermead_function called by : > [nm,SSE] = neldermead_function(nm,initial_parameters'); > at line 65 of exec file called by : > > > -------------------------------------------------------------------------------- > Le pr?sent mail et ses pi?ces jointes sont confidentiels et > destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous > avez re?u cet e-mail par erreur, veuillez contacter imm?diatement > l'exp?diteur et effacer le message de votre syst?me. Toute > divulgation, copie ou distribution de cet e-mail est strictement > interdite. This email and any files transmitted with it are > confidential and intended solely for the use of the individual or > entity to whom they are addressed. If you have received this email in > error, please contact the sender and delete the email from your > system. If you are not the named addressee you should not > disseminate, > distribute or copy this email. From chaitanya.athale at gmail.com Tue Jul 17 04:14:56 2012 From: chaitanya.athale at gmail.com (chai-tea) Date: Mon, 16 Jul 2012 19:14:56 -0700 (PDT) Subject: SciLab 5.4.0 Mac OSX 10.7: AWT exception Message-ID: <1342491296327-4024595.post@n3.nabble.com> Dear all, I was excited to be able to finally run SciLab on my Mac OSX 10.7. However when I load the runtime, I get the following error (and a strange no-entry sign on the launch-bar): Startup execution: loading initial environment Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0 at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:501) at javax.swing.JTable.convertRowIndexToModel(JTable.java:2611) at javax.swing.JTable.getValueAt(JTable.java:2686) at javax.swing.JTable.prepareRenderer(JTable.java:5703) at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2072) at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1974) at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1770) at javax.swing.plaf.ComponentUI.update(ComponentUI.java:153) at javax.swing.JComponent.paintComponent(JComponent.java:752) at javax.swing.JComponent.paint(JComponent.java:1029) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JViewport.paint(JViewport.java:795) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at org.scilab.modules.gui.bridge.tab.SwingScilabTab.paintChildren(Unknown Source) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1976) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1976) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1976) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1030) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1976) at javax.swing.JComponent.paintChildren(JComponent.java:862) at javax.swing.JComponent.paint(JComponent.java:1038) at javax.swing.JComponent._paintImmediately(JComponent.java:5098) at javax.swing.JComponent.paintImmediately(JComponent.java:4882) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:812) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:694) at javax.swing.RepaintManager.access$700(RepaintManager.java:41) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1672) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:682) at java.awt.EventQueue.access$000(EventQueue.java:85) at java.awt.EventQueue$1.run(EventQueue.java:643) at java.awt.EventQueue$1.run(EventQueue.java:641) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:652) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Indeed it is probably a windowing problem, and I haven't done anything serious with it to test it, but if anybody has suggestions, I'd be grateful. Chai-Tea -- View this message in context: http://mailinglists.scilab.org/SciLab-5-4-0-Mac-OSX-10-7-AWT-exception-tp4024595.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dungnguyenbk at gmail.com Tue Jul 17 05:48:13 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Mon, 16 Jul 2012 20:48:13 -0700 (PDT) Subject: how to set parameter for PDE block ? Message-ID: <1342496893325-4024596.post@n3.nabble.com> Hi. I try to use PDE block. But I don't know method to set parameter for PDE block. Could you help me ? -- View this message in context: http://mailinglists.scilab.org/how-to-set-parameter-for-PDE-block-tp4024596.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dungnguyenbk at gmail.com Tue Jul 17 05:55:12 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Mon, 16 Jul 2012 20:55:12 -0700 (PDT) Subject: Use of SendScilabJob In-Reply-To: References: <1333453025975-3880580.post@n3.nabble.com> <1341998996890-4024559.post@n3.nabble.com> <1342063978433-4024567.post@n3.nabble.com> <1342084603331-4024571.post@n3.nabble.com> <1342155149015-4024575.post@n3.nabble.com> <1342177223619-4024578.post@n3.nabble.com> Message-ID: <1342497312620-4024597.post@n3.nabble.com> Hi Mike. Thank you very much. Now, I can run your program. SendScilabJob function still have error with my xcos module. I don't understand Xcos well. So I will investigate. Thank for your time. -- View this message in context: http://mailinglists.scilab.org/Use-of-SendScilabJob-tp3880580p4024597.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From paul.carrico at esterline.com Tue Jul 17 08:47:49 2012 From: paul.carrico at esterline.com (Carrico, Paul) Date: Tue, 17 Jul 2012 08:47:49 +0200 Subject: [scilab-Users] Nelder-Mead optimization In-Reply-To: References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B7732B@exchsrv.AUXITROL1> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B7732D@exchsrv.AUXITROL1> Dear Micha?l, First, thanks for your answer. I finally found the mistake I made .... :-)))) For my information, is(are) there significative improvement(s) (or new interesting options) on the latest scilab release for Nelder-mead optimization function ? Regards Paul -----Message d'origine----- De : michael.baudin at contrib.scilab.org [mailto:michael.baudin at contrib.scilab.org] Envoy? : lundi 16 juillet 2012 22:22 ? : users at lists.scilab.org Objet : Re: [scilab-Users] Nelder-Mead optimization Dear Paul, There were several changes in Scilab v5.4 which simplify the use of the neldermead component. For the first warning, you get this message because you use the -costfargument option, which is now obsolete. Tagged -costfargument option of optimbase as obsolete: will be maintained for backward compatibility until 5.4.1. The -fun option can now be a list, where the element #1 is a function, and the elements #2 to the end are automatically appended to the calling sequence. To update your code, replace: nm = neldermead_configure(nm,"-function",myfun); nm = neldermead_configure(nm,"-costfargument",mystuff); with nm = neldermead_configure(nm,"-function",list(myfun,mystuff)); You will find the required details in the "Changes in Scilab 5.4" section of : http://help.scilab.org/docs/5.4.0-beta-1/en_US/neldermead.html See also the "Example #6: Passing extra parameters" section for extra arguments. Does this fix the error too ? Best regards, Micha?l On Mon, 16 Jul 2012 16:22:52 +0200, "Carrico, Paul" wrote: > Dear All, > > I would like to re-use an routine written more than a year ago ... > but > it failed ; > > I can understand thinks have been done in order to improve the > function, but : > - I don't remember what's optimbase_configure ... > - what's wrong ? > > Any advice ? > > Regards > > Paul > > The main routine is something like : > > // 8 parameters > lower_bounds = [0.22 2.337 18.72 14.859 19.05 14.5 1.85 0.]; > upper_bounds = [0.28 2.388 18.771 15.0119 19.075 14.6 1.95 0.68]; > data = list(lower_bounds,upper_bounds); > > printf("n The initial parameters are the following :n"); > thickness = 0.28; > height = 2.380; > D_ext = 18.771; > D_int = 14.859; > groove_ext_radius = 19.075; > groove_int_radius = 14.50; > housing_deepth = 1.85; > COEF_FRICTION = 0.4; > > initial_parameters = [thickness height D_ext D_int groove_ext_radius > groove_int_radius housing_deepth COEF_FRICTION]; > > // CPU time : start > time_start = tic(); > > // Nelder-mead optimization > nm = neldermead_new (); > nm = neldermead_configure(nm,"-numberofvariables",8); // Number of > variables > nm = neldermead_configure(nm,"-function",optimization_nm); > nm = neldermead_configure(nm,"-x0",initial_parameters'); // BE > CAREFUL > : nitial_parameters' = transposed matrix > nm = neldermead_configure(nm,"-method","box"); // box => brackets are > taken into account > nm = neldermead_configure(nm,"-maxiter",10000); > nm = neldermead_configure(nm,"-boundsmin",lower_bounds); > nm = neldermead_configure(nm,"-boundsmax",upper_bounds); > nm = neldermead_configure(nm,"-costfargument",data); > nm = neldermead_configure(nm,"-simplex0method","randbounds"); > [nm,SSE] = neldermead_function(nm,initial_parameters'); > nm = neldermead_search(nm); // start optimization process > optimized_parameters = neldermead_get(nm,"-xopt"); // extract of the > results > nm = neldermead_destroy(nm); > > The error message is : > > AVERTISSEMENT : La fonctionnalit? optimbase_configure est obsol?te. > AVERTISSEMENT : Veuillez utiliser -function ? la place. > AVERTISSEMENT : Cette fonctionnalit? va ?tre d?finitivement > supprim?e dans Scilab 5.4.1 > > ######################################################### > * Iteration No : 1 > * thickness = 0.28 > * height = 2.38 > * D_ext = 18.771 > * D_int = 14.859 > * groove_ext_radius = 19.075 > * groove_int_radius = 14.5 > * housing_deepth = 1.85 > * COEF_FRICTION = 0.4 > !--error 58 > Nombre erron? d'arguments d'entr?e.at line 73 of function > __optimbase_f__ called by : > at line 66 of function optimbase_function called by : > at line 7 of function neldermead_function called by : > [nm,SSE] = neldermead_function(nm,initial_parameters'); > at line 65 of exec file called by : > > > -------------------------------------------------------------------------------- > Le pr?sent mail et ses pi?ces jointes sont confidentiels et > destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous > avez re?u cet e-mail par erreur, veuillez contacter imm?diatement > l'exp?diteur et effacer le message de votre syst?me. Toute > divulgation, copie ou distribution de cet e-mail est strictement > interdite. This email and any files transmitted with it are > confidential and intended solely for the use of the individual or > entity to whom they are addressed. If you have received this email in > error, please contact the sender and delete the email from your > system. If you are not the named addressee you should not > disseminate, > distribute or copy this email. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From pranav8iisc at gmail.com Wed Jul 18 12:21:22 2012 From: pranav8iisc at gmail.com (pranav) Date: Wed, 18 Jul 2012 03:21:22 -0700 (PDT) Subject: Grid for selected cluster of 3D points Message-ID: <1342606882723-4024600.post@n3.nabble.com> Hi, Is it possible to create grid on a cluster of 3D points.For example i want to display a checkerboard(with 3D coordinates) in form of a grid. -- View this message in context: http://mailinglists.scilab.org/Grid-for-selected-cluster-of-3D-points-tp4024600.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From eduardo.torrecillas at gmail.com Wed Jul 18 14:34:21 2012 From: eduardo.torrecillas at gmail.com (Eduardo Torrecillas) Date: Wed, 18 Jul 2012 09:34:21 -0300 Subject: [scilab-Users] fsolve with external fortran subroutine In-Reply-To: <50043027.7070807@inria.fr> References: <50043027.7070807@inria.fr> Message-ID: Hello Serge, Thanks for your reply, the solution is really clever. Unfortunately, I am having some troubles on implementing it. Please see below: I tried using global variables using modules, for example, the file mod_01.f90: module mod01 implicit none integer, parameter,public :: dp=8 real(kind=dp),parameter,public::pi=ATAN(1.0_dp)*4.0_dp real(kind=dp),public::Apub end module mod01 And then, tried using it on another f90 subroutine, subroutine fprepara_var_equil(a,dummyout) use mod01 implicit none real(kind=dp),intent(in)::a real(kind=dp),intent(out)::dummysai Apub=a dummysai=0.0_dp end subroutine fprepara_var_equil Everything goes fine during compilation, but when trying to link libraries "exec floader.sce", I get the following message: undefined symbol: __mod01_MOD_apub When trying to use the same strategy using pure fortran, the code compiles and runs perfectly. Any suggestion? Regards, On Mon, Jul 16, 2012 at 12:15 PM, Serge Steer wrote: > Le 16/07/2012 16:04, Eduardo Torrecillas a ?crit : > > >> Hi everybody, >> >> I am trying to use fsolve with a fortran subroutine as argument. For >> example, consider the following calling sequence: >> >> X0=[0 0] >> >> tol=1E-15 >> >> [X,v]=fsolve(X0,'fequil_**fortran',tol) >> >> In this case 'fequil_fortran' is my external fortran subroutine, given >> below: >> >> ------------------------------**------------------------------**-------- >> >> subroutine fequil_fortran(n,x,v,iflag) >> >> implicit none >> >> integer,intent(in)::n,iflag >> >> real(kind=8),dimension(n),**intent(in)::x >> >> real(kind=8),dimension(n),**intent(out)::vreal(kind=8)::a,**b >> >> a=1.0_dp >> >> b=2.0_dp >> >> v(1)=a*x(1)+b*x(2)-1.0_dp >> >> v(2)=2.0_dp*a*x(1)-b*x(2)-5.0_**dp >> >> end subroutine fequil_fortran >> >> ------------------------------**------------------------------**--------- >> >> It worked fine and fsolve found the solution. Now, suppose I have to pass >> arguments to the fortran subroutine, in addition to the default >> (n,x,v,iflag). For instance, imagine I had to pass the 'a' and 'b' >> variables from Scilab to the fortran subroutine in the code above. I have >> already performed something like this but with "optim". In fact, "optim" >> gives you the possibility to pass a list of integer, real or double >> variables to the external code. Is there anything similar to be used with >> fsolve? >> >> The answer is no, the underlying code does not handle extra arguments > for the external function. > > It is however possible to declare a and b as elements of a common and to > set their value using another fortran code called using the function call > > something like > subroutine fequil_settings(a,b) > ... > end > > Also add the common declaration in fequil_fortran, compile and link both > function with Scilab > > And then in Scilab you can do > a=... > b=... > call("fequil_settings",a,1,"d"**,b,2,"d","out",[1 1],"d"); > [X,v]=fsolve(X0,'fequil_**fortran',tol) > > Regards, >> >> -- >> Eduardo Torrecillas >> AER-09 >> > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.**scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.**org/ > > -- Eduardo Torrecillas AER-09 -------------- next part -------------- An HTML attachment was scrubbed... URL: From allsey87 at gmail.com Wed Jul 18 15:07:16 2012 From: allsey87 at gmail.com (allsey87) Date: Wed, 18 Jul 2012 06:07:16 -0700 (PDT) Subject: How to force SCILAB to stop changing the range of the plot Message-ID: <1342616836549-4024602.post@n3.nabble.com> Hi, I think I must have tried almost everything to get SCILAB to stop changing the range of the plot, and nothing has been working! How can I force SCILAB to restrict the plotting range over a given interval, respectively with a given aspect ratio, and not change the minimum and maximum values on the axis regardless of whether the data is within the given range. This seems so trivial but the documentation is a bit incomplete in this area I think, it seems to hint that setting the data_bounds member of the axis will do what I want, but regardless of how and when I set the data_bounds member the plot changes its range as soon as the data does not fit. A couple related questions I have on this topic are: 1.clf; clear figure / does this also reset all axis members to their defaults? 2. what is the difference between these two calls: ax = get("current_axes"); and ax = gca(); 3. What impact does this command have, ax.auto_scale = "off"; 4. after I modify ax, is this actually referring to my current axes, or is it just a copy that I must then reapply using a set("current_axes", ax)? Please help! =) -- View this message in context: http://mailinglists.scilab.org/How-to-force-SCILAB-to-stop-changing-the-range-of-the-plot-tp4024602.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From denis.crete at thalesgroup.com Wed Jul 18 16:03:19 2012 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Wed, 18 Jul 2012 16:03:19 +0200 Subject: [scilab-Users] How to force SCILAB to stop changing the range of the plot In-Reply-To: <1342616836549-4024602.post@n3.nabble.com> References: <1342616836549-4024602.post@n3.nabble.com> Message-ID: <17321_1342620199_5006C227_17321_3873_1_908CBC9017354841B2F32BBEC70A05A101C37C892EDC@THSONEA01CMS01P.one.grp> Hello, With plot2d(), specify option frameflag=0, e.g. plot2d(X,Y, frameflag=0) 2: no difference between ax = get("current_axes"); and ax = gca(); HTH Denis -----Message d'origine----- De?: allsey87 [mailto:allsey87 at gmail.com] Envoy??: mercredi 18 juillet 2012 15:07 ??: users at lists.scilab.org Objet?: [scilab-Users] How to force SCILAB to stop changing the range of the plot Hi, I think I must have tried almost everything to get SCILAB to stop changing the range of the plot, and nothing has been working! How can I force SCILAB to restrict the plotting range over a given interval, respectively with a given aspect ratio, and not change the minimum and maximum values on the axis regardless of whether the data is within the given range. This seems so trivial but the documentation is a bit incomplete in this area I think, it seems to hint that setting the data_bounds member of the axis will do what I want, but regardless of how and when I set the data_bounds member the plot changes its range as soon as the data does not fit. A couple related questions I have on this topic are: 1.clf; clear figure / does this also reset all axis members to their defaults? 2. what is the difference between these two calls: ax = get("current_axes"); and ax = gca(); 3. What impact does this command have, ax.auto_scale = "off"; 4. after I modify ax, is this actually referring to my current axes, or is it just a copy that I must then reapply using a set("current_axes", ax)? Please help! =) -- View this message in context: http://mailinglists.scilab.org/How-to-force-SCILAB-to-stop-changing-the-range-of-the-plot-tp4024602.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From Serge.Steer at inria.fr Wed Jul 18 16:11:01 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Wed, 18 Jul 2012 16:11:01 +0200 Subject: [scilab-Users] How to force SCILAB to stop changing the range of the plot In-Reply-To: <17321_1342620199_5006C227_17321_3873_1_908CBC9017354841B2F32BBEC70A05A101C37C892EDC@THSONEA01CMS01P.one.grp> References: <1342616836549-4024602.post@n3.nabble.com> <17321_1342620199_5006C227_17321_3873_1_908CBC9017354841B2F32BBEC70A05A101C37C892EDC@THSONEA01CMS01P.one.grp> Message-ID: <5006C3F5.9080509@inria.fr> Le 18/07/2012 16:03, CRETE Denis a ?crit : > Hello, > With plot2d(), specify option frameflag=0, e.g. plot2d(X,Y, frameflag=0) > > 2: no difference between ax = get("current_axes"); and ax = gca(); > HTH > Denis > > -----Message d'origine----- > De : allsey87 [mailto:allsey87 at gmail.com] > Envoy? : mercredi 18 juillet 2012 15:07 > ? : users at lists.scilab.org > Objet : [scilab-Users] How to force SCILAB to stop changing the range of the plot > > Hi, > > I think I must have tried almost everything to get SCILAB to stop changing the range of the plot, and nothing has been working! > > How can I force SCILAB to restrict the plotting range over a given interval, respectively with a given aspect ratio, and not change the minimum and maximum values on the axis regardless of whether the data is within the given range. > > This seems so trivial but the documentation is a bit incomplete in this area I think, it seems to hint that setting the data_bounds member of the axis will do what I want, but regardless of how and when I set the data_bounds member the plot changes its range as soon as the data does not fit. > > A couple related questions I have on this topic are: > > 1.clf; clear figure / does this also reset all axis members to their defaults? yes > 2. what is the difference between these two calls: ax = get("current_axes"); and ax = gca(); none > 3. What impact does this command have, ax.auto_scale = "off"; It just what you are looking for: plot(1:5); ax=gca(); ax.auto_scale='off'; plot(2:6,'r') > > 4. after I modify ax, is this actually referring to my current axes, exactly, see the example just above > or is it just a copy that I must then reapply using a set("current_axes", ax)? > Please help! =) > > -- > View this message in context: http://mailinglists.scilab.org/How-to-force-SCILAB-to-stop-changing-the-range-of-the-plot-tp4024602.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see http://mailinglists.scilab.org/ > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > From Serge.Steer at inria.fr Wed Jul 18 16:14:06 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Wed, 18 Jul 2012 16:14:06 +0200 Subject: [scilab-Users] fsolve with external fortran subroutine In-Reply-To: References: <50043027.7070807@inria.fr> Message-ID: <5006C4AE.4040209@inria.fr> Le 18/07/2012 14:34, Eduardo Torrecillas a ?crit : > Hello Serge, > > Thanks for your reply, the solution is really clever. Unfortunately, I > am having some troubles on implementing it. Please see below: > > I tried using global variables using modules, for example, the file > mod_01.f90: > > module mod01 > implicit none > integer, parameter,public :: dp=8 > real(kind=dp),parameter,public::pi=ATAN(1.0_dp)*4.0_dp > real(kind=dp),public::Apub > > end module mod01 > > > And then, tried using it on another f90 subroutine, > > subroutine fprepara_var_equil(a,dummyout) > use mod01 > implicit none > real(kind=dp),intent(in)::a > real(kind=dp),intent(out)::dummysai > > Apub=a > dummysai=0.0_dp > > end subroutine fprepara_var_equil > > Everything goes fine during compilation, but when trying to link > libraries "exec floader.sce", I get the following message: > > undefined symbol: __mod01_MOD_apub > > When trying to use the same strategy using pure fortran, the code > compiles and runs perfectly. Any suggestion? > Sorry I know very few thing about f90. May be some one else can help you... Serge > Regards, > > On Mon, Jul 16, 2012 at 12:15 PM, Serge Steer > wrote: > > Le 16/07/2012 16:04, Eduardo Torrecillas a ?crit : > > > Hi everybody, > > I am trying to use fsolve with a fortran subroutine as > argument. For example, consider the following calling sequence: > > X0=[0 0] > > tol=1E-15 > > [X,v]=fsolve(X0,'fequil_fortran',tol) > > In this case 'fequil_fortran' is my external fortran > subroutine, given below: > > -------------------------------------------------------------------- > > subroutine fequil_fortran(n,x,v,iflag) > > implicit none > > integer,intent(in)::n,iflag > > real(kind=8),dimension(n),intent(in)::x > > real(kind=8),dimension(n),intent(out)::vreal(kind=8)::a,b > > a=1.0_dp > > b=2.0_dp > > v(1)=a*x(1)+b*x(2)-1.0_dp > > v(2)=2.0_dp*a*x(1)-b*x(2)-5.0_dp > > end subroutine fequil_fortran > > --------------------------------------------------------------------- > > It worked fine and fsolve found the solution. Now, suppose I > have to pass arguments to the fortran subroutine, in addition > to the default (n,x,v,iflag). For instance, imagine I had to > pass the 'a' and 'b' variables from Scilab to the fortran > subroutine in the code above. I have already performed > something like this but with "optim". In fact, "optim" gives > you the possibility to pass a list of integer, real or double > variables to the external code. Is there anything similar to > be used with fsolve? > > The answer is no, the underlying code does not handle extra > arguments for the external function. > > It is however possible to declare a and b as elements of a common > and to set their value using another fortran code called using the > function call > > something like > subroutine fequil_settings(a,b) > ... > end > > Also add the common declaration in fequil_fortran, compile and > link both function with Scilab > > And then in Scilab you can do > a=... > b=... > call("fequil_settings",a,1,"d",b,2,"d","out",[1 1],"d"); > [X,v]=fsolve(X0,'fequil_fortran',tol) > > Regards, > > -- > Eduardo Torrecillas > AER-09 > > > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > > > -- > Eduardo Torrecillas > AER-09 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Thu Jul 19 09:46:21 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 19 Jul 2012 09:46:21 +0200 Subject: [scilab-Users] Grid for selected cluster of 3D points In-Reply-To: <1342606882723-4024600.post@n3.nabble.com> References: <1342606882723-4024600.post@n3.nabble.com> Message-ID: <5007BB4D.1080700@free.fr> Le 18/07/2012 12:21, pranav a ?crit : > Hi, > Is it possible to create grid on a cluster of 3D points.For example i want > to display a checkerboard(with 3D coordinates) in form of a grid. > Do you mean like this: [X,Y] = meshgrid(1:8); clf Matplot(pmodulo(X+Y,2)+1) a = gca(); a.rotation_angles = [75, 330]; -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: moz-screenshot-1.png Type: image/png Size: 9497 bytes Desc: not available URL: From rcbsimoes at hotmail.com Thu Jul 19 11:30:50 2012 From: rcbsimoes at hotmail.com (rcbsimoes) Date: Thu, 19 Jul 2012 02:30:50 -0700 (PDT) Subject: Genetic Algoritm In-Reply-To: <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> Message-ID: <1342690250979-4024608.post@n3.nabble.com> ok, back again. i've used the continuous optimization which worked great! but now while trying to use discrete ga (or binary/integer as you call it), i could not understand a couple of things. maybe you can make them clear... please. ;) 1) when you state binary length, here: BinLen = get_param(ga_params,'binary_length') is this the string length produced by the algorithm regardless of the dimension? for instance, if i have a 3 dimension problem which requires 2 bit lenght for each variable (x='01', y='00', z='11') should i set dimension as one, and 6 bits as string lenght? or should i set dimension to 3 and lenght to 2?? 2) this question is related to the other one also. your original rastingin is a 2 dimension func, when you convert the string to float: *---------------------code------------------------ function y=f(x) BinLen = get_param(ga_params,'binary_length') tmp = convert_to_float(x, BinLen, Max, Min) y = func(tmp) endfunction --------------------------------------------------* is this tmp variable a matrix? has it converted the 8 bit string in two floats (4 for each)? the thing is i don't understand what happening inside this function: if i do:* -----------------code-------------------------------------------- clc clear func = 'rastrigin'; function y = rastrigin(x) y = x(1)^2+x(2)^2-cos(12*x(1))-cos(18*x(2)); endfunction deff('y=f(x)','BinLen = 8; ... tmp = convert_to_float(x, BinLen, 1, -1); ... y = '+func+'(tmp);','n'); ? what is 'n' for ? ------------------------------------------------------------------------------------ * i can call the rastrigin func but i don't know how to call the new f function. *--------------------------------code--------------------------------------- rastrigin([1 2]) ans = 4.2841097 f(['11110000' '01010101']) !--error 15 Submatrix incorrectly defined. at line 5 of function convert_to_float called by : = convert_to_float(x, BinLen, 1, -1); y = rastrigin(tm at line 2 of function f called by : f(['11110000' '01010101']) ----------------------------------------------------------------------* how should i call the f function?? thanks sorry for the longness. greetings rui -- View this message in context: http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549p4024608.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.baudin at contrib.scilab.org Thu Jul 19 15:36:01 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Thu, 19 Jul 2012 15:36:01 +0200 Subject: [scilab-Users] Re: Genetic Algoritm In-Reply-To: <1342690250979-4024608.post@n3.nabble.com> References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> <1342690250979-4024608.post@n3.nabble.com> Message-ID: Hi, On Thu, 19 Jul 2012 02:30:50 -0700 (PDT), rcbsimoes wrote: > ok, back again. > > i've used the continuous optimization which worked great! That's good to hear ! > 1) > when you state binary length, here: > BinLen = get_param(ga_params,'binary_length') > is this the string length produced by the algorithm regardless of the > dimension? > > for instance, > if i have a 3 dimension problem which requires 2 bit lenght for each > variable (x='01', y='00', z='11') > should i set dimension as one, and 6 bits as string lenght? > or should i set dimension to 3 and lenght to 2?? This is dimension=3 and binlen=2. > 2) > [...] > > ? what is 'n' for ? "n" is an option of the "deff" function : function is not "compiled". This means that you can see the code more easily as opposed to a profiled function. > * [...] > f(['11110000' '01010101']) > !--error 15 > Submatrix incorrectly defined. > > at line 5 of function convert_to_float called by : > = convert_to_float(x, BinLen, 1, -1); y = > rastrigin(tm > at line 2 of function f called by : > f(['11110000' '01010101']) The example you give has two errors: * The minimum and maximum bounds should be vectors which size corresponds to the dimension of the problem. * The argument is "1111000001010101" and not ['11110000' '01010101']. The algorithm works directly with the concatenation of two separate genes. Here is the example with works. function y = rastrigin(x) y = x(1)^2+x(2)^2-cos(12*x(1))-cos(18*x(2)); endfunction function y=f(x) BinLen = 8 tmp = convert_to_float(x, BinLen, [1 1], [-1 -1]) y = rastrigin(tmp) endfunction y=f("1111000001010101") The previous script produces: -->y=f("1111000001010101") y = 0.3256550 Here is an intermediate computation: -->convert_to_float("1111000001010101", 8, [1 1], [-1 -1]) ans = 0.8823529 - 0.3333333 You may see the bug report : http://bugzilla.scilab.org/show_bug.cgi?id=7912 for more details and examples. Best regards, Micha?l From david.cheze at cea.fr Thu Jul 19 16:01:09 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Thu, 19 Jul 2012 07:01:09 -0700 (PDT) Subject: web server requests - new features ? Message-ID: <1342706469780-4024610.post@n3.nabble.com> hi, i'm wondering if there is new features in scilab dealing with communication with web servers? For scilab application on windows desktop up to now I'm using curl.exe to send http requests to the server php script but since it was noticed in previous messages in this list it is not mutliplatform and probably not as fast as builtin functions would be : is there any undergoing development in that way ? Thanks, David -- View this message in context: http://mailinglists.scilab.org/web-server-requests-new-features-tp4024610.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Thu Jul 19 16:07:39 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 19 Jul 2012 16:07:39 +0200 Subject: [scilab-Users] web server requests - new features ? In-Reply-To: <1342706469780-4024610.post@n3.nabble.com> References: <1342706469780-4024610.post@n3.nabble.com> Message-ID: <500814AB.5000202@scilab-enterprises.com> Bonjour David, Le 19/07/2012 16:01, David Ch?ze a ?crit : > hi, > > i'm wondering if there is new features in scilab dealing with communication > with web servers? > For scilab application on windows desktop up to now I'm using curl.exe to > send http requests to the server php script but since it was noticed in > previous messages in this list it is not mutliplatform and probably not as > fast as builtin functions would be : is there any undergoing development in > that way ? Scilab remote file access is probably what you are looking for: http://forge.scilab.org/index.php/p/scicurl/ Sylvestre -- Sylvestre Ledru Operation Manager / Community Manager ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From lucisandor at gmail.com Thu Jul 19 19:38:48 2012 From: lucisandor at gmail.com (Lucian Sandor) Date: Thu, 19 Jul 2012 10:38:48 -0700 (PDT) Subject: histplot confusing behavior Message-ID: <1342719528603-4024614.post@n3.nabble.com> Hello, I have a series of numbers that came from a picture. I got them into Scilab with imread(), converted them to double with double(), flattened them into a linear array with matrix(myarray,1,-1)), and I am trying to create a histogram. I tried: histplot (40, myarray) and I got: !--error 999 dsearch : the array val (arg 2) is not well ordered at line 88 of function histplot called by : histplot (40, myarray) Not being sure what the order is about, I did sort it with myarray = gsort (myarray) and still got the same error. I even transposed it, with no effect in the error. The mention of dsearch is confusing, because dsearch does work. For example, dsearch (myarray, 0:10:260) proceeds without errors. Am I doing something obviously wrong? Or did I run into a bug? I am new to Scilab, but experienced with Matlab. Thank you, Lucian Sandor -- View this message in context: http://mailinglists.scilab.org/histplot-confusing-behavior-tp4024614.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rcbsimoes at hotmail.com Thu Jul 19 23:23:02 2012 From: rcbsimoes at hotmail.com (rcbsimoes) Date: Thu, 19 Jul 2012 14:23:02 -0700 (PDT) Subject: Genetic Algoritm In-Reply-To: References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> <1342690250979-4024608.post@n3.nabble.com> Message-ID: <1342732982054-4024615.post@n3.nabble.com> thanks again mr Micha?l, i belive i can use the integer GA now. greetings rui -- View this message in context: http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549p4024615.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rcbsimoes at hotmail.com Fri Jul 20 08:18:25 2012 From: rcbsimoes at hotmail.com (rcbsimoes) Date: Thu, 19 Jul 2012 23:18:25 -0700 (PDT) Subject: Genetic Algoritm In-Reply-To: <1342732982054-4024615.post@n3.nabble.com> References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> <1342690250979-4024608.post@n3.nabble.com> <1342732982054-4024615.post@n3.nabble.com> Message-ID: <1342765105084-4024617.post@n3.nabble.com> hi, it worked!! only... i couldn't understand the numeber of function calls the GA makes. if: *// example of use of the genetic algorithm // PopSize = 10; Proba_cross = 0.7; Proba_mut = 0.1; NbGen = 2; NbCouples = 110; Log = %T; nb_disp = 10; // Nb point to display from the optimal population pressure = 0.05; ga_params = init_param(); // Parameters to adapt to the shape of the optimization problem ga_params = add_param(ga_params,'minbound',1); ga_params = add_param(ga_params,'maxbound',4); ga_params = add_param(ga_params,'dimension',3); ga_params = add_param(ga_params,'beta',0); ga_params = add_param(ga_params,'delta',0.1); // Parameters to fine tune the Genetic algorithm. All these parameters are optional for continuous optimization // If you need to adapt the GA to a special problem, you ga_params = add_param(ga_params,'init_func',init_ga_default); ga_params = add_param(ga_params,'crossover_func',crossover_ga_default); ga_params = add_param(ga_params,'mutation_func',mutation_ga_default); ga_params = add_param(ga_params,'codage_func',coding_ga_identity); ga_params = add_param(ga_params,'selection_func',selection_ga_elitist); //ga_params = add_param(ga_params,'selection_func',selection_ga_random); ga_params = add_param(ga_params,'nb_couples',NbCouples); ga_params = add_param(ga_params,'pressure',pressure); /////// Genetic Algorithm for binary codage // ga_params = add_param(ga_params,'binary_length',6); ga_params = set_param(ga_params,'crossover_func',crossover_ga_binary); ga_params = set_param(ga_params,'mutation_func',mutation_ga_binary); ga_params = set_param(ga_params,'codage_func',coding_ga_binary); ga_params = add_param(ga_params,'multi_cross',%T); ga_params = add_param(ga_params,'multi_cross_nb',3); [pop_opt, fobj_pop_opt, pop_init, fobj_pop_init] = optim_ga(opt_bin, PopSize, NbGen, Proba_mut, Proba_cross, Log, ga_params); * shouldn't the number of calls be 20 (= PopSize * NbGen) ?? with this settings I had 345. greetings rui -- View this message in context: http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549p4024617.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.baudin at contrib.scilab.org Fri Jul 20 09:43:28 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Fri, 20 Jul 2012 09:43:28 +0200 Subject: [scilab-Users] Re: Genetic Algoritm In-Reply-To: <1342765105084-4024617.post@n3.nabble.com> References: <1341869566053-4024549.post@n3.nabble.com> <01c9ea6cff7935aa86d5cc70867de12e@contrib.scilab.org> <1342690250979-4024608.post@n3.nabble.com> <1342732982054-4024615.post@n3.nabble.com> <1342765105084-4024617.post@n3.nabble.com> Message-ID: <11dd19161790aef2de9aa02bd988f824@contrib.scilab.org> Hi, I am not sure, but you may have to include the number of calls required to create the initial population. Regards, Micha?l On Thu, 19 Jul 2012 23:18:25 -0700 (PDT), rcbsimoes wrote: > hi, > > it worked!! > only... > i couldn't understand the numeber of function calls the GA makes. > > if: > > *// example of use of the genetic algorithm // > PopSize = 10; > Proba_cross = 0.7; > Proba_mut = 0.1; > NbGen = 2; > NbCouples = 110; > Log = %T; > nb_disp = 10; // Nb point to display from the optimal population > pressure = 0.05; > > ga_params = init_param(); > // Parameters to adapt to the shape of the optimization problem > ga_params = add_param(ga_params,'minbound',1); > ga_params = add_param(ga_params,'maxbound',4); > ga_params = add_param(ga_params,'dimension',3); > ga_params = add_param(ga_params,'beta',0); > ga_params = add_param(ga_params,'delta',0.1); > // Parameters to fine tune the Genetic algorithm. All these > parameters are > optional for continuous optimization > // If you need to adapt the GA to a special problem, you > ga_params = add_param(ga_params,'init_func',init_ga_default); > ga_params = > add_param(ga_params,'crossover_func',crossover_ga_default); > ga_params = add_param(ga_params,'mutation_func',mutation_ga_default); > ga_params = add_param(ga_params,'codage_func',coding_ga_identity); > ga_params = > add_param(ga_params,'selection_func',selection_ga_elitist); > //ga_params = > add_param(ga_params,'selection_func',selection_ga_random); > ga_params = add_param(ga_params,'nb_couples',NbCouples); > ga_params = add_param(ga_params,'pressure',pressure); > > /////// Genetic Algorithm for binary codage // > > ga_params = add_param(ga_params,'binary_length',6); > ga_params = > set_param(ga_params,'crossover_func',crossover_ga_binary); > ga_params = set_param(ga_params,'mutation_func',mutation_ga_binary); > ga_params = set_param(ga_params,'codage_func',coding_ga_binary); > ga_params = add_param(ga_params,'multi_cross',%T); > ga_params = add_param(ga_params,'multi_cross_nb',3); > > [pop_opt, fobj_pop_opt, pop_init, fobj_pop_init] = optim_ga(opt_bin, > PopSize, NbGen, Proba_mut, Proba_cross, Log, ga_params); > > * > > shouldn't the number of calls be 20 (= PopSize * NbGen) ?? > with this settings I had 345. > > greetings > rui > > > -- > View this message in context: > > http://mailinglists.scilab.org/Genetic-Algoritm-tp4024549p4024617.html > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From michael.baudin at contrib.scilab.org Fri Jul 20 10:16:27 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Fri, 20 Jul 2012 10:16:27 +0200 Subject: [scilab-Users] histplot confusing behavior In-Reply-To: <1342719528603-4024614.post@n3.nabble.com> References: <1342719528603-4024614.post@n3.nabble.com> Message-ID: <1dcb0d24ef617a9daea43ab970ab13e4@contrib.scilab.org> Hello, I guess that this is this bug: http://bugzilla.scilab.org/show_bug.cgi?id=8640 If yes, it may mean that your data is weird, because I doubt that you expected to manage only one single value... This does not imply that histplot has not a bug: this is still a bug of histplot, and not of your data. Best regards, Micha?l On Thu, 19 Jul 2012 10:38:48 -0700 (PDT), Lucian Sandor wrote: > Hello, I have a series of numbers that came from a picture. I got > them > into Scilab with imread(), converted them to double with double(), > flattened them into a linear array with matrix(myarray,1,-1)), and I > am trying to create a histogram. I tried: histplot (40, myarray) and > I > got: !--error 999 dsearch : the array val (arg 2) is not well ordered > at line 88 of function histplot called by : histplot (40, myarray) > Not > being sure what the order is about, I did sort it with myarray = > gsort > (myarray) and still got the same error. I even transposed it, with no > effect in the error. The mention of dsearch is confusing, because > dsearch does work. For example, dsearch (myarray, 0:10:260) proceeds > without errors. Am I doing something obviously wrong? Or did I run > into a bug? I am new to Scilab, but experienced with Matlab. Thank > you, Lucian Sandor > > ------------------------- > View this message in context: histplot confusing behavior [1] > Sent from the Scilab users - Mailing Lists Archives mailing list > archive [2] at Nabble.com. > > > Links: > ------ > [1] > > http://mailinglists.scilab.org/histplot-confusing-behavior-tp4024614.html > [2] > > http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html From nomiya at galaxy.dti.ne.jp Sat Jul 21 07:35:30 2012 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Sat, 21 Jul 2012 14:35:30 +0900 Subject: Can't compile git head (5.4.0.Beta1) Message-ID: <87a9ytu15p.wl%nomiya@galaxy.dti.ne.jp> Hello, I got the git head (5.4.0.beta1), and tried to compile. But I got the error; [...] [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:970: cannot find symbol [javac] symbol : class AbstractTextureDataProvider [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor [javac] private class ColorMapTextureDataProvider extends AbstractTextureDataProvider { [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:16: cannot find symbol [javac] symbol : class AbstractTextureDataProvider [javac] location: package org.scilab.forge.scirenderer.texture [javac] import org.scilab.forge.scirenderer.texture.AbstractTextureDataProvider; [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:9: cannot find symbol [javac] symbol : class AbstractTextureDataProvider [javac] location: package org.scilab.forge.scirenderer.texture [javac] import org.scilab.forge.scirenderer.texture.AbstractTextureDataProvider; [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:176: cannot find symbol [javac] symbol : class AbstractTextureDataProvider [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer [javac] private class FecColorTexture extends AbstractTextureDataProvider { [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:61: cannot find symbol [javac] symbol : class AbstractTextureDataProvider [javac] location: class org.scilab.modules.renderer.JoGLView.ScilabTextureManager [javac] private class ScilabTextureDataProvider extends AbstractTextureDataProvider implements GraphicView { [javac] [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:933: setDataProvider(org.scilab.forge.scirenderer.texture.TextureDataProvider) in org.scilab.forge.scirenderer.texture.Texture cannot be applied to (org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider) [javac] colorMapTexture.setDataProvider(colorMapTextureDataProvider); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:974: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:989: cannot find symbol [javac] symbol : method toByte(java.lang.Double) [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider [javac] buffer.put(toByte(data[i])); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:990: cannot find symbol [javac] symbol : method toByte(float) [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider [javac] buffer.put(toByte(data[i + colorMap.getSize()].floatValue())); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:991: cannot find symbol [javac] symbol : method toByte(float) [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider [javac] buffer.put(toByte(data[i + 2 * colorMap.getSize()].floatValue())); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:992: cannot find symbol [javac] symbol : method toByte(int) [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider [javac] buffer.put(toByte(1)); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:979: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:998: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:1008: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:1014: cannot find symbol [javac] symbol : method fireUpdate() [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider [javac] fireUpdate(); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:52: setDataProvider(org.scilab.forge.scirenderer.texture.TextureDataProvider) in org.scilab.forge.scirenderer.texture.Texture cannot be applied to (org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider) [javac] texture.setDataProvider(new ScilabTextureDataProvider(identifier)); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:73: register(org.scilab.modules.graphic_objects.graphicView.GraphicView) in org.scilab.modules.graphic_objects.graphicController.GraphicController cannot be applied to (org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider) [javac] GraphicController.getController().register(this); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:80: cannot find symbol [javac] symbol : method fireUpdate() [javac] location: class org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider [javac] fireUpdate(); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:83: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:92: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:107: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:122: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:139: unregister(org.scilab.modules.graphic_objects.graphicView.GraphicView) in org.scilab.modules.graphic_objects.graphicController.GraphicController cannot be applied to (org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider) [javac] GraphicController.getController().unregister(this); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:114: setDataProvider(org.scilab.forge.scirenderer.texture.TextureDataProvider) in org.scilab.forge.scirenderer.texture.Texture cannot be applied to (org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture) [javac] texture.setDataProvider(new FecColorTexture(fec)); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:189: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:214: cannot find symbol [javac] symbol : method toByte(float[]) [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, min))); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:216: cannot find symbol [javac] symbol : method toByte(float[]) [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, outsideColor[0]))); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:219: cannot find symbol [javac] symbol : method toByte(float[]) [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, -2))); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:223: cannot find symbol [javac] symbol : method toByte(float[]) [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, i))); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:227: cannot find symbol [javac] symbol : method toByte(float[]) [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, max))); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:229: cannot find symbol [javac] symbol : method toByte(float[]) [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, outsideColor[1]))); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:232: cannot find symbol [javac] symbol : method toByte(float[]) [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, -2))); [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:194: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:239: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:256: method does not override or implement a method from a supertype [javac] @Override [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/util/OutOfMemoryException.java:17: warning: [serial] serializable class org.scilab.modules.renderer.JoGLView.util.OutOfMemoryException has no definition of serialVersionUID [javac] public class OutOfMemoryException extends Exception { [javac] ^ [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/editor/FigureFrame.java:25: warning: [serial] serializable class org.scilab.modules.renderer.JoGLView.editor.FigureFrame has no definition of serialVersionUID [javac] public class FigureFrame extends JFrame { [javac] ^ [javac] 36 errors [javac] 2 warnings BUILD FAILED /tmp/mas/scilab/scilab/modules/prebuildjava/build.xml:82: The following error occurred while executing this line: /tmp/mas/scilab/scilab/build.incl.xml:112: Compile failed; see the compiler error output for details. Total time: 6 seconds make[2]: *** [java] Error 1 make[2]: Leaving directory `/tmp/mas/scilab/scilab/modules/prebuildjava' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/mas/scilab/scilab/modules' make: *** [all-recursive] Error 1 Any hint? Thanks in advance. Regards, --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From calixte.denizet at scilab-enterprises.com Sat Jul 21 09:11:40 2012 From: calixte.denizet at scilab-enterprises.com (Calixte DENIZET) Date: Sat, 21 Jul 2012 09:11:40 +0200 Subject: [scilab-Users] Can't compile git head (5.4.0.Beta1) In-Reply-To: <87a9ytu15p.wl%nomiya@galaxy.dti.ne.jp> References: <87a9ytu15p.wl%nomiya@galaxy.dti.ne.jp> Message-ID: <500A562C.5080503@scilab-enterprises.com> Hi Masaru, You need to update scirenderer: http://forge.scilab.org/index.php/p/scirenderer/ Regards, Calixte On 21/07/2012 07:35, Masaru Nomiya wrote: > Hello, > > I got the git head (5.4.0.beta1), and tried to compile. > But I got the error; > > [...] > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:970: cannot find symbol > [javac] symbol : class AbstractTextureDataProvider > [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor > [javac] private class ColorMapTextureDataProvider extends AbstractTextureDataProvider { > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:16: cannot find symbol > [javac] symbol : class AbstractTextureDataProvider > [javac] location: package org.scilab.forge.scirenderer.texture > [javac] import org.scilab.forge.scirenderer.texture.AbstractTextureDataProvider; > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:9: cannot find symbol > [javac] symbol : class AbstractTextureDataProvider > [javac] location: package org.scilab.forge.scirenderer.texture > [javac] import org.scilab.forge.scirenderer.texture.AbstractTextureDataProvider; > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:176: cannot find symbol > [javac] symbol : class AbstractTextureDataProvider > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer > [javac] private class FecColorTexture extends AbstractTextureDataProvider { > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:61: cannot find symbol > [javac] symbol : class AbstractTextureDataProvider > [javac] location: class org.scilab.modules.renderer.JoGLView.ScilabTextureManager > [javac] private class ScilabTextureDataProvider extends AbstractTextureDataProvider implements GraphicView { > [javac] > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:933: setDataProvider(org.scilab.forge.scirenderer.texture.TextureDataProvider) in org.scilab.forge.scirenderer.texture.Texture cannot be applied to (org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider) > [javac] colorMapTexture.setDataProvider(colorMapTextureDataProvider); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:974: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:989: cannot find symbol > [javac] symbol : method toByte(java.lang.Double) > [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider > [javac] buffer.put(toByte(data[i])); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:990: cannot find symbol > [javac] symbol : method toByte(float) > [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider > [javac] buffer.put(toByte(data[i + colorMap.getSize()].floatValue())); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:991: cannot find symbol > [javac] symbol : method toByte(float) > [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider > [javac] buffer.put(toByte(data[i + 2 * colorMap.getSize()].floatValue())); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:992: cannot find symbol > [javac] symbol : method toByte(int) > [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider > [javac] buffer.put(toByte(1)); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:979: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:998: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:1008: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/DrawerVisitor.java:1014: cannot find symbol > [javac] symbol : method fireUpdate() > [javac] location: class org.scilab.modules.renderer.JoGLView.DrawerVisitor.ColorMapTextureDataProvider > [javac] fireUpdate(); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:52: setDataProvider(org.scilab.forge.scirenderer.texture.TextureDataProvider) in org.scilab.forge.scirenderer.texture.Texture cannot be applied to (org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider) > [javac] texture.setDataProvider(new ScilabTextureDataProvider(identifier)); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:73: register(org.scilab.modules.graphic_objects.graphicView.GraphicView) in org.scilab.modules.graphic_objects.graphicController.GraphicController cannot be applied to (org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider) > [javac] GraphicController.getController().register(this); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:80: cannot find symbol > [javac] symbol : method fireUpdate() > [javac] location: class org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider > [javac] fireUpdate(); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:83: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:92: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:107: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:122: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] > /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/ScilabTextureManager.java:139: unregister(org.scilab.modules.graphic_objects.graphicView.GraphicView) in org.scilab.modules.graphic_objects.graphicController.GraphicController cannot be applied to (org.scilab.modules.renderer.JoGLView.ScilabTextureManager.ScilabTextureDataProvider) > [javac] GraphicController.getController().unregister(this); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:114: setDataProvider(org.scilab.forge.scirenderer.texture.TextureDataProvider) in org.scilab.forge.scirenderer.texture.Texture cannot be applied to (org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture) > [javac] texture.setDataProvider(new FecColorTexture(fec)); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:189: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:214: cannot find symbol > [javac] symbol : method toByte(float[]) > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture > [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, min))); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:216: cannot find symbol > [javac] symbol : method toByte(float[]) > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture > [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, outsideColor[0]))); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:219: cannot find symbol > [javac] symbol : method toByte(float[]) > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture > [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, -2))); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:223: cannot find symbol > [javac] symbol : method toByte(float[]) > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture > [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, i))); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:227: cannot find symbol > [javac] symbol : method toByte(float[]) > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture > [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, max))); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:229: cannot find symbol > [javac] symbol : method toByte(float[]) > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture > [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, outsideColor[1]))); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:232: cannot find symbol > [javac] symbol : method toByte(float[]) > [javac] location: class org.scilab.modules.renderer.JoGLView.FecDrawer.FecColorTexture > [javac] buffer.put(toByte(ColorFactory.createRGBAColor(colorMap, -2))); > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:194: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:239: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/FecDrawer.java:256: method does not override or implement a method from a supertype > [javac] @Override > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/util/OutOfMemoryException.java:17: warning: [serial] serializable class org.scilab.modules.renderer.JoGLView.util.OutOfMemoryException has no definition of serialVersionUID > [javac] public class OutOfMemoryException extends Exception { > [javac] ^ > [javac] /tmp/mas/scilab/scilab/modules/renderer/src/java/org/scilab/modules/renderer/JoGLView/editor/FigureFrame.java:25: warning: [serial] serializable class org.scilab.modules.renderer.JoGLView.editor.FigureFrame has no definition of serialVersionUID > [javac] public class FigureFrame extends JFrame { > [javac] ^ > [javac] 36 errors > [javac] 2 warnings > > BUILD FAILED > /tmp/mas/scilab/scilab/modules/prebuildjava/build.xml:82: The following error occurred while executing this line: > /tmp/mas/scilab/scilab/build.incl.xml:112: Compile failed; see the compiler error output for details. > > Total time: 6 seconds > make[2]: *** [java] Error 1 > make[2]: Leaving directory `/tmp/mas/scilab/scilab/modules/prebuildjava' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/tmp/mas/scilab/scilab/modules' > make: *** [all-recursive] Error 1 > > Any hint? > > Thanks in advance. > > Regards, > > --- > ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp > ???? > ???? "Bill! You married with Computers. > Not with Me!" > "No..., with money." > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From nomiya at galaxy.dti.ne.jp Sat Jul 21 13:05:02 2012 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Sat, 21 Jul 2012 20:05:02 +0900 Subject: [scilab-Users] Can't compile git head (5.4.0.Beta1) In-Reply-To: <500A562C.5080503@scilab-enterprises.com> References: <87a9ytu15p.wl%nomiya@galaxy.dti.ne.jp> <500A562C.5080503@scilab-enterprises.com> Message-ID: <87wr1x1ijl.wl%nomiya@galaxy.dti.ne.jp> Hello, In the Message; Subject : Re: [scilab-Users] Can't compile git head (5.4.0.Beta1) Message-ID : <500A562C.5080503 at scilab-enterprises.com> Date & Time: Sat, 21 Jul 2012 09:11:40 +0200 Calixte DENIZET has written: > Hi Masaru, > You need to update scirenderer: > http://forge.scilab.org/index.php/p/scirenderer/ Thanks! I could comile. Regards, --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From clarkj at rogers.com Sun Jul 22 01:07:13 2012 From: clarkj at rogers.com (clarkj) Date: Sat, 21 Jul 2012 16:07:13 -0700 (PDT) Subject: Linear Filter: "analpf" transform to hpf, or bpf Message-ID: <1342912033603-4024626.post@n3.nabble.com> The function "analpf" creates a linear low pass filter. Is there a function that will transform this h(s) into a high pass filter or band pass filter similar to what "trans" does for digital filters? -- View this message in context: http://mailinglists.scilab.org/Linear-Filter-analpf-transform-to-hpf-or-bpf-tp4024626.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sandroschugk at gmx.de Sun Jul 22 01:06:33 2012 From: sandroschugk at gmx.de (knivil) Date: Sat, 21 Jul 2012 16:06:33 -0700 (PDT) Subject: Scilab and Windows Message-ID: <1342911993394-4024625.post@n3.nabble.com> Hi, I am running Windows 8 and installed scilab-5.3.3 (64-bit). Everythink went fine, but when i start scilab a warning ("Scilab requires Windows 2000 or more") is shown and nothing else happens. How kann i fix this Problem? Thanks in advance. -- View this message in context: http://mailinglists.scilab.org/Scilab-and-Windows-tp4024625.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From simon.gareste at scilab.org Mon Jul 23 10:09:17 2012 From: simon.gareste at scilab.org (Simon Gareste) Date: Mon, 23 Jul 2012 10:09:17 +0200 Subject: [scilab-Users] Hidden modules in online ATOMS? In-Reply-To: <5002F165.6090300@free.fr> References: <5002F165.6090300@free.fr> Message-ID: <500D06AD.5020409@scilab.org> This is a bug coming from atoms.scilab.org. CEMEF-UTN has been moved to fileexchange.scilab.org. I'll try to correct this problem this week. Simon On 07/15/2012 06:35 PM, Samuel Gougeon wrote: > Hello, > > I was wondering why http://atoms.scilab.org/toolboxes/CEMEF-UTN > is not listed in the ATOMS full list, whatever is the sorting criterium. > Is it a feature, or a bug? > > Regards > Samuel Gougeon > -- Simon Gareste Support & Development Engineer -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Jul 23 10:45:11 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 23 Jul 2012 10:45:11 +0200 Subject: [scilab-Users] Hidden modules in online ATOMS? In-Reply-To: <500D06AD.5020409@scilab.org> References: <5002F165.6090300@free.fr> <500D06AD.5020409@scilab.org> Message-ID: <500D0F17.50400@free.fr> Hello Simon, Le 23/07/2012 10:09, Simon Gareste a ?crit : > This is a bug coming from atoms.scilab.org. CEMEF-UTN has been moved > to fileexchange.scilab.org. I'll try to correct this problem this week. The strange thing is that there are other modules that are both on ATOMS and on fileexchange, for instance: http://atoms.scilab.org/toolboxes/ADS_CoLiSyS http://fileexchange.scilab.org/toolboxes/ADS_CoLiSyS But then they appear on both lists. When a comment is posted on a side (say filexechange), the same comment appears on the other one (ATOMS), showing that ATOMS and fileexchange are two distincts exports of the same database and publishing system. It is also the case for the CEMEF-UTN module : The comment i posted on FE last week also appears on ATOMS. But exceptionnally, and contrarily to other "shared" modules, this one is not listed in ATOMS. There is a specific trick for it. It is hard to catch why CEMEF-UTN should be served only on FileExchange rather than on ATOMS. As a user, i would regret to not see it through the ATOMS GUI, since it would be a consequence of keeping it only on FileExchange. I have posted a fully packaged release of this module, as a module's comment. This module includes only macros, no gateways that could be subject to recompilation issues from a Scilab version to another one. It is much simpler to instal through the ATOMS GUI -- for all Scilab supported OSes -- than many other modules, but it is not a single file: in addition to its macros, it includes help pages, and a demo. Regards Samuel > > Simon > On 07/15/2012 06:35 PM, Samuel Gougeon wrote: >> Hello, >> >> I was wondering why http://atoms.scilab.org/toolboxes/CEMEF-UTN >> is not listed in the ATOMS full list, whatever is the sorting criterium. >> Is it a feature, or a bug? >> >> Regards >> Samuel Gougeon >> > > -- > Simon Gareste > Support& Development Engineer > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.gareste at scilab-enterprises.com Mon Jul 23 11:25:34 2012 From: simon.gareste at scilab-enterprises.com (Simon GARESTE) Date: Mon, 23 Jul 2012 11:25:34 +0200 Subject: [scilab-Users] Hidden modules in online ATOMS? In-Reply-To: <500D0F17.50400@free.fr> References: <5002F165.6090300@free.fr> <500D06AD.5020409@scilab.org> <500D0F17.50400@free.fr> Message-ID: <500D188E.5020002@scilab-enterprises.com> Regarding CEMEF-UTN, I suggest you to get in touch with Marcos Ruggeri, the maintainer, to see if he would allow you to be a maintainer of the module. If so, I could switch the file to atoms, upload your file, and then have it as an available atoms package. Simon On 07/23/2012 10:45 AM, Samuel Gougeon wrote: > Hello Simon, > > Le 23/07/2012 10:09, Simon Gareste a ?crit : >> This is a bug coming from atoms.scilab.org. CEMEF-UTN has been moved >> to fileexchange.scilab.org. I'll try to correct this problem this week. > The strange thing is that there are other modules that are both > on ATOMS and on fileexchange, for instance: > > http://atoms.scilab.org/toolboxes/ADS_CoLiSyS > http://fileexchange.scilab.org/toolboxes/ADS_CoLiSyS > > But then they appear on both lists. When a comment is posted > on a side (say filexechange), the same comment appears on the > other one (ATOMS), showing that ATOMS and fileexchange are > two distincts exports of the same database and publishing system. > > It is also the case for the CEMEF-UTN module : The comment i posted > on FE last week also appears on ATOMS. But exceptionnally, and > contrarily to other "shared" modules, this one is not listed in ATOMS. > There is a specific trick for it. > > It is hard to catch why CEMEF-UTN should be served only on FileExchange > rather than on ATOMS. As a user, i would regret to not see it through the > ATOMS GUI, since it would be a consequence of keeping it only on > FileExchange. > I have posted a fully packaged release of this module, as a module's > comment. > This module includes only macros, no gateways that could be subject to > recompilation issues from a Scilab version to another one. It is much > simpler > to instal through the ATOMS GUI -- for all Scilab supported OSes -- than > many other modules, but it is not a single file: in addition to its > macros, it > includes help pages, and a demo. > > Regards > Samuel > >> >> Simon >> On 07/15/2012 06:35 PM, Samuel Gougeon wrote: >>> Hello, >>> >>> I was wondering why http://atoms.scilab.org/toolboxes/CEMEF-UTN >>> is not listed in the ATOMS full list, whatever is the sorting criterium. >>> Is it a feature, or a bug? >>> >>> Regards >>> Samuel Gougeon >>> >> >> -- >> Simon Gareste >> Support & Development Engineer >> >> >> > -- Simon Gareste Support & Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clarkj at rogers.com Tue Jul 24 02:40:03 2012 From: clarkj at rogers.com (clarkj) Date: Mon, 23 Jul 2012 17:40:03 -0700 (PDT) Subject: Linear Filter: "analpf" transform to hpf, or bpf In-Reply-To: <1342912033603-4024626.post@n3.nabble.com> References: <1342912033603-4024626.post@n3.nabble.com> Message-ID: <1343090403806-4024631.post@n3.nabble.com> Ok figured it out. Page 268 of DSP by Paulo Diniz gives s transformations to go from a normalized LPF to HPF and BPF. -- View this message in context: http://mailinglists.scilab.org/Linear-Filter-analpf-transform-to-hpf-or-bpf-tp4024626p4024631.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vincent.couvert at scilab-enterprises.com Tue Jul 24 15:24:47 2012 From: vincent.couvert at scilab-enterprises.com (Vincent COUVERT) Date: Tue, 24 Jul 2012 15:24:47 +0200 Subject: [scilab-Users] Scilab and Windows In-Reply-To: <1342911993394-4024625.post@n3.nabble.com> References: <1342911993394-4024625.post@n3.nabble.com> Message-ID: <500EA21F.9000901@scilab-enterprises.com> Hello, This problem comes from a too restrictive condition at Scilab startup. Did you try to install Scilab 5.4.0beta-1? Regards. Le 22/07/12 01:06, knivil a ?crit : > Hi, > > I am running Windows 8 and installed scilab-5.3.3 (64-bit). Everythink went > fine, but when i start scilab a warning ("Scilab requires Windows 2000 or > more") is shown and nothing else happens. How kann i fix this Problem? > > Thanks in advance. > > > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-and-Windows-tp4024625.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From allan.cornet.scilab at gmail.com Tue Jul 24 15:35:10 2012 From: allan.cornet.scilab at gmail.com (allan cornet) Date: Tue, 24 Jul 2012 15:35:10 +0200 Subject: [scilab-Users] Scilab and Windows In-Reply-To: <500EA21F.9000901@scilab-enterprises.com> References: <1342911993394-4024625.post@n3.nabble.com> <500EA21F.9000901@scilab-enterprises.com> Message-ID: Hi, 1. Close Scilab if open 2. Navigate to C:\Program Files (x86)\Scilab-5.3.3 3. Right click wscilex.exe, select Properties 4. Click on on Compatibility tab 5. Check compatibility mode box and select Windows 7 6. Click ok, then run Scilab should work again. Allan 2012/7/24 Vincent COUVERT > Hello, > > This problem comes from a too restrictive condition at Scilab startup. > > Did you try to install Scilab 5.4.0beta-1? > > Regards. > > Le 22/07/12 01:06, knivil a ?crit : > > Hi, >> >> I am running Windows 8 and installed scilab-5.3.3 (64-bit). Everythink >> went >> fine, but when i start scilab a warning ("Scilab requires Windows 2000 or >> more") is shown and nothing else happens. How kann i fix this Problem? >> >> Thanks in advance. >> >> >> >> -- >> View this message in context: http://mailinglists.scilab.** >> org/Scilab-and-Windows-**tp4024625.html >> Sent from the Scilab users - Mailing Lists Archives mailing list archive >> at Nabble.com. >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.**scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.**org/ >> >> > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.**scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.**org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sahallacy at hotmail.com Wed Jul 25 00:16:48 2012 From: sahallacy at hotmail.com (steven hallacy) Date: Tue, 24 Jul 2012 17:16:48 -0500 Subject: Converting from continuous to discrete time tranfer function. Message-ID: Hello, With Scilab, I know of two ways of converting from a continuous time transfer function (e.g. 1/s) to a discrete time transfer funtion: 1st way: s=poly(0,'s') ss2tf(cls2dls(tf2ss(syslin('c',1/s)),0.1)) This way requires a lot of typing. 2nd Way: s=poly(0,'s');z=poly(0,'z'); sl=syslin('c',1/s); sl2=horner(sl,(2/0.1)*(z-1)/(z+1)) This way requires me to remember the tustin approximation. Does matlab have anything like Matlab's c2d function? Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Wed Jul 25 22:46:59 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Wed, 25 Jul 2012 22:46:59 +0200 Subject: General callback for events on figures Message-ID: <50105B43.9080100@free.fr> Hello, Listing the properties of a figure with a recent Scilab release (2012-07-20), one can see that after the recently introduced resizefcn = "" property as a callback called when the window is resized, another new one closerequestfcn = "" is now also listed. So, i am wondering about the fact that each action on the window should create a specific property, or not. Let's say that tomorrow a user claims for a callback to be used when the window is iconified, or when it is maximized, etc. Would we create other specific attributes iconifyfcn = "" maximizefcn = "" etc.. What about rather introducing a single callback with a list of predefined 1st argument = name of the triggering action : "resize" "iconify" "close" etc that would be called each time that one of these events will occur? Wouldn't it be a more general and more open solution? Hoping to read other contributions Best regards Samuel Gougeon -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Thu Jul 26 08:22:43 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Wed, 25 Jul 2012 23:22:43 -0700 (PDT) Subject: General callback for events on figures In-Reply-To: <50105B43.9080100@free.fr> References: <50105B43.9080100@free.fr> Message-ID: <1343283763410-4024638.post@n3.nabble.com> Hi Samuel, compared by other similar programming language that provide a GUI maker, as far i know, events are generated very specifically for each target behavior, 1 event <=> 1 callback function : i guess it is to keep function code as short/clear as possible, by preventing kind of big switch{} or if then elseif... The drawback is that it's not so easy to manage common behavior for similar events and the whole code is then bigger, maybe more risk to write wrong things in that case. David -- View this message in context: http://mailinglists.scilab.org/General-callback-for-events-on-figures-tp4024637p4024638.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Thu Jul 26 14:40:27 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 26 Jul 2012 14:40:27 +0200 Subject: [scilab-Users] Re: General callback for events on figures In-Reply-To: <1343283763410-4024638.post@n3.nabble.com> References: <50105B43.9080100@free.fr> <1343283763410-4024638.post@n3.nabble.com> Message-ID: <50113ABB.9020504@free.fr> Hello David, Thanks for your message. For comparison, i am afraid that nobody would expect that events from the mouse would be detected and processed with any xgetmouse_left(..), xgetmouse_right(..), xgetmouse_center(..), xgetmouse_wheel(...) mouse family, according to the triggering button, rather than simply xgetmouse(...) Yet, it is somewhat what it is presently proposed for windows events. If a case-processing would certainly be required, it is a common situation. A switch with 100 alternatives may be said as big, with 5 ones: is likely very common. By the way, as you have noticed, with a single callback, an action that should be done for several types of events could be written only once. From defining a common callback function myWindowEventHandler(trigger, params) called by resizefcn = "myWindowEventHandler(''resize'',...)" or by closerequestfcn = "myWindowEventHandler(''close'',...)" or by iconifyfcn = "myWindowEventHandler(''iconify'',...)" to only callback = "myWindowEventHandler(...)" the trigger'sid being implicitly passed to the handler in argin#1 there is a small step resuming N similar properties into a single one. IMO, multiplying very similar properties does not make at all the language clearer. There are already quite numerous examples in Scilab of such similar ungathered features that make the language rather obscur. This is why this kind of situation should be discussed and if possible avoided before being implemented, spread, and used. Afterwards, backcompatibility issues are somewhat locking. Regards Samuel Le 26/07/2012 08:22, David Ch?ze a ?crit : > Hi Samuel, > > compared by other similar programming language that provide a GUI maker, as > far i know, events are generated very specifically for each target behavior, > 1 event<=> 1 callback function : i guess it is to keep function code as > short/clear as possible, by preventing kind of big switch{} or if then > elseif... The drawback is that it's not so easy to manage common behavior > for similar events and the whole code is then bigger, maybe more risk to > write wrong things in that case. > > David > > > > -- > View this message in context: http://mailinglists.scilab.org/General-callback-for-events-on-figures-tp4024637p4024638.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkolano at borgwarner.com Fri Jul 27 07:19:47 2012 From: mkolano at borgwarner.com (mkolano at borgwarner.com) Date: Fri, 27 Jul 2012 05:19:47 +0000 Subject: License Message-ID: <696F1C9CDFCB0A4394CF7F2401F8F3D528501C9A@KIBXMB2.enterprise.borgwarner.net> Dear Ladies and Gentleman, could you please provide me with the following information regarding the license range of your freeware program "scilab". I wanna take it for industrial use, and so I was wondering if there is any license restriction which prohibits the exchange and presentation of code and plots implemented with scilab! Thanks in advance. Best regards Michael Kolano Electrical Components & Actuators ' +49 (0)6352/403-5075 6 +49 (0)6352/403-2065 mailto:mkolano at borgwarner.com BorgWarner Turbo Systems Engineering GmbH Marnheimer Strasse 85 / 87 67292 Kirchheimbolanden / Germany Gesch?ftsf?hrer / Managing Director: Dipl.-Ing. Arno Schwarz, Alan McMaken, Fara S. Karam Sitz der Gesellschaft / Place of Business: Kirchheimbolanden Registergericht / Register Court: Kaiserslautern, HRB 12159 ROCK ________________________________ Diese elektronisch ?bermittelte Nachricht inklusive ihrer Anlagen kann privilegierte, vertrauliche bzw. andere vor Ver?ffentlichung zu sch?tzende Informationen enthalten. Diese Informationen sind ausschlie?lich f?r die Empf?nger bestimmt. Falls Sie nicht einer der Empf?nger sind, ist Ihnen jegliche Ver?ffentlichung, insbesondere Vervielf?ltigung, Verteilung oder pers?nlicher Gebrauch dieser Nachricht untersagt. Falls Sie diese elektronische Nachricht irrt?mlich erhalten haben, bitten wir Sie, uns umgehend zu benachrichtigen und alle bereits vorhandenen Kopien zu vernichten. The electronic message and all contents could contain information which is privileged, confidential or otherwise protected from disclosure. The information is intended for the addressees only. If you are not the addressee, any disclosure, copy, distribution or use of the contents of this message is prohibited. If you have received this electronic message in error, please notify us immediately and destroy the original message and all copies. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Fri Jul 27 08:52:00 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 27 Jul 2012 08:52:00 +0200 Subject: [scilab-Users] License In-Reply-To: <696F1C9CDFCB0A4394CF7F2401F8F3D528501C9A@KIBXMB2.enterprise.borgwarner.net> References: <696F1C9CDFCB0A4394CF7F2401F8F3D528501C9A@KIBXMB2.enterprise.borgwarner.net> Message-ID: <50123A90.8000302@scilab-enterprises.com> Hello, On 27/07/2012 07:19, mkolano at borgwarner.com wrote: > > Dear Ladies and Gentleman, > > > > could you please provide me with the following information regarding > the license range of your freeware program "scilab". I wanna take it > for industrial use, and so I was wondering if there is any license > restriction which prohibits the exchange and presentation of code and > plots implemented with scilab! > > > No, Scilab is free software. There is no such restriction. Regards, Sylvestre -- Sylvestre Ledru Operations Manager / Community Manager ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfabbri at gmail.com Sat Jul 28 20:09:36 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Sat, 28 Jul 2012 15:09:36 -0300 Subject: new probability and statistics toolbox - CASCI Message-ID: Hi, I'd like to share with you the new probability and statistics toolbox CASCI that I uploaded with permission from the authors to ATOMS and FORGE: http://atoms.scilab.org/toolboxes/casci The git repository is in Forge. Perhaps that will save some people ongoing work. Please give us feedback on the usefulness of such a toolbox. Here are the function descriptions: intbinomial - binomial confidence interval intexponential - exponential confidence interval intnormalm - normal confidence interval for ? intnormals - normal confidence interval for ? intpoisson - Poisson confidence interval cdfbeta - beta type 1 cdf cdfbeta2 - beta type 2 cdf cdfbinomial - binomial cdf cdfchi2 - ?2 (central and non-central) cdf cdfcv - sample coefficient of variation cdf cdfdphase - discrete Phase-Type cdf cdfexponential - exponential cdf cdffisher - Fisher (central and non-central) cdf cdffoldednormal - folded normal cdf cdfgamma - gamma cdf cdfgev - generalized Extreme Value cdf cdfhypergeometric - hypergeometric cdf cdfjohnson - Johnson?s cdf cdflognormal - lognormal cdf cdfmedian - normal sample median cdf cdfnormal - normal cdf cdfpareto - Pareto cdf cdfpascal - Pascal cdf cdfpoisson - Poisson cdf cdfrnge - normal range cdf cdfstandev - normal sample standard-deviation cdf cdfstudent - Student (central and non-central) cdf cdfweibull - Weibull cdf boxbehnken - Box-Behnken designs boxcoxlinear - Box-Cox linearity transformation centralcomposite - central composite designs coded2natural - coded to natural variables doxpand - design expansion doxptim - design optimisation equiradial - equiradial designs factorial2 - two levels full and fractional factorial designs mulreg - multilinear regression analysis mulregdisp - multilinear regression analysis results display mulregplot - multilinear regression analysis results plot natural2coded - natural to coded variables plackettburman - Plackett-Burman designs simpdex - simplex designs fitbeta - beta type 1 parameters estimation fitgamma - gamma parameters estimation fitgev - generalized Extreme Value parameters estimation fitjohnson - Johnson parameters estimation fitlognormal - lognormal parameters estimation fitweibull - Weibull parameters estimation idfbeta - beta type 1 idf idfbeta2 - beta type 2 idf idfchi2 - ?2 (central and non-central) idf idfcv - sample coefficient of variation idf idfexponential - exponential idf idffisher - Fisher (central and non-central) idf idfgamma - gamma idf idfgev - generalized Extreme Value idf idfjohnson - Johnson?s idf idflognormal - lognormal idf idfmedian - normal sample median idf idfnormal - normal idf idfpareto - Pareto idf idfstandev - normal sample standard-deviation idf idfstudent - Student (central and non-central) idf idfweibull - Weibull idf allcombination - matrix element combinations allpermutation - matrix element permutations arrangement - number Ap of arrangements combination - number Cn of combinations confhyper - confluent hypergeometric function depth - non parametric multivariate depth hausdorff - Hausdorff (median) distance between polylines lowess - LOcally WEighted Scatterplot Smoothing momdphase - first moments of a Discrete Phase-Type distribution nearestneighbors - find the k nearest neighbors neldermead - Nelder Mead?s downhill simplex nonlinear optimization algorithm savitzkygolay - Savitzky-Golay smoothing filter simplex - simplex computation simplexolve - solve a system of non-linear equations torczon - Torczon?s multidirectional nonlinear optimization algorithm vandercorput - Van der Corput?s sequence boxplot - Box plot qplot - quantile plot qqplot - quantile-quantile plot pdfbeta - beta type 1 pdf pdfbeta2 - beta type 2 pdf pdfbinomial - binomial pdf pdfchi2 - ?2 (central and non-central) pdf pdfcp - CP pdf pdfcpk - CP K pdf pdfcpm - CP M pdf pdfcpmk - CP M K pdf pdfcpuv - V ?nnman?s Cp (u, v) pdf pdfcv - sample coefficient of variation pdf pdfdphase - discrete phase-type pdf pdfexponential - exponential pdf pdffisher - Fisher (central and non-central) pdf pdffoldednormal - folded normal pdf pdfgamma - gamma pdf pdfgev - generalized Extreme Value pdf pdfhypergeometric - hypergeometric pdf pdfkernel - kernel smoothed pdf pdfjohnson - Johnson?s pdf pdflognormal - lognormal pdf pdfmedian - normal sample median pdf pdfmultinormal - multinormal pdf pdfnormal - normal pdf pdfpareto - Pareto pdf pdfpascal - Pascal pdf pdfpoisson - Poisson pdf pdfrnge - normal range pdf pdfstandev - normal sample standard-deviation pdf pdfstudent - Student pdf pdfweibull - Weibull pdf quadhermite - Gauss-Hermite quadrature quadlaguerre - Gauss-Laguerre quadrature quadlegendre - Gauss-Legendre quadrature quadsimpson - Simpson quadrature rndbeta - beta type 1 random number generator rndbeta2 - beta type 2 random number generator rndbinomial - binomial random number generator rndexponential - exponential random number generator rndfoldednormal - folded normal random number generator rndgamma - gamma random number generator rndgev - generalized Extreme Value random number generator rndjohnson - Johnson?s random number generator rndlognormal - lognormal random number generator rndmultinormal - multinormal random number generator rndnormal - normal random number generator rndpareto - Pareto random number generator rndpascal - Pascal random number generator rndpoisson - Poisson random number generator rndstandev - normal sample standard-deviation random number rndweibull - Weibull random number generator autocorrelation - autocorrelation coefficient bootstrap - bootstrap sampling correlation - correlation matrix crosscorrelation - crosscorrelation coefficient kurtosis - kurtosis coefficient quantile - quantile rnge - range skewness - skewness coefficient standev - standard deviation totalmedian - total median coefficients varcovar - variance-covariance matrix arlmean - ARL of the mean control chart arlmeanRR - ARL of the Run Rules mean control chart arlmedian - ARL of the median control chart arlmedianRR - ARL of the Run Rules median control chart arlrnge - ARL of the range control chart arlstandev - ARL of the standard-deviation control chart arlstandevRR - ARL of the Run Rules standard-deviation control chart cp - capability index CP estimation and confidence interval cpk - capability index CP K estimation and confidence interval krnge - range coefficients KR (n) kstandev - standard-deviation coefficients KS (n, r) mcpshahriari - Shahriari?s multivariate capability index CP mcptaam - Taam?s multivariate capability index CP andersondarling - Anderson-Darling?s normality test ansaribradley - Ansari-Bradley?s test bartlett - Bartlett?s test grubbs - Grubbs test kendall - Kendall?s test levene - Levene?s test mardia - Mardia?s test spearman - Spearman?s test tstbinomial1 - binomial one sample p test tstbinomial2 - binomial two samples p test tstexponential - exponential ? test tstnormalm1 - normal one sample ? test tstnormalm2 - normal two samples ? test tstnormals1 - normal one sample ? test tstnormals2 - normal two samples ? test tstsku - normal skewness and kurtosis test waldwolfowitz - Wald-Wolfowitz?s run test wilcoxon1 - Wilcoxon?s one sample (paired) test wilcoxon2 - Wilcoxon?s two samples test -- Dr Ricardo Fabbri Professor of Computer Engineering GNU/Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net From rei.listas at yahoo.com Sat Jul 28 23:09:48 2012 From: rei.listas at yahoo.com (Reinaldo) Date: Sat, 28 Jul 2012 14:09:48 -0700 (PDT) Subject: [scilab-Users] new probability and statistics toolbox - CASCI In-Reply-To: References: Message-ID: <1343509788.32531.YahooMailNeo@web122501.mail.ne1.yahoo.com> Hi Ricardo, How can I install it for Scilab-beta-1 - Mac OS X ? All best, Reinaldo. ________________________________ De: Ricardo Fabbri Para: users at lists.scilab.org; gsoc at lists.scilab.org Enviadas: S?bado, 28 de Julho de 2012 15:09 Assunto: [scilab-Users] new probability and statistics toolbox - CASCI Hi, I'd like to share with you the new probability and statistics toolbox CASCI that I uploaded with permission from the authors to ATOMS and FORGE: http://atoms.scilab.org/toolboxes/casci The git repository is in Forge. Perhaps that will save some people ongoing work. Please give us feedback on the usefulness of such a toolbox. Here are the function descriptions: intbinomial - binomial confidence interval intexponential - exponential confidence interval intnormalm - normal confidence interval for ? intnormals - normal confidence interval for ? intpoisson - Poisson confidence interval cdfbeta - beta type 1 cdf cdfbeta2 - beta type 2 cdf cdfbinomial - binomial cdf cdfchi2 - ?2 (central and non-central) cdf cdfcv - sample coefficient of variation cdf cdfdphase - discrete Phase-Type cdf cdfexponential - exponential cdf cdffisher - Fisher (central and non-central) cdf cdffoldednormal - folded normal cdf cdfgamma - gamma cdf cdfgev - generalized Extreme Value cdf cdfhypergeometric - hypergeometric cdf cdfjohnson - Johnson?s cdf cdflognormal - lognormal cdf cdfmedian - normal sample median cdf cdfnormal - normal cdf cdfpareto - Pareto cdf cdfpascal - Pascal cdf cdfpoisson - Poisson cdf cdfrnge - normal range cdf cdfstandev - normal sample standard-deviation cdf cdfstudent - Student (central and non-central) cdf cdfweibull - Weibull cdf boxbehnken - Box-Behnken designs boxcoxlinear - Box-Cox linearity transformation centralcomposite - central composite designs coded2natural - coded to natural variables doxpand - design expansion doxptim - design optimisation equiradial - equiradial designs factorial2 - two levels full and fractional factorial designs mulreg - multilinear regression analysis mulregdisp - multilinear regression analysis results display mulregplot - multilinear regression analysis results plot natural2coded - natural to coded variables plackettburman - Plackett-Burman designs simpdex - simplex designs fitbeta - beta type 1 parameters estimation fitgamma - gamma parameters estimation fitgev - generalized Extreme Value parameters estimation fitjohnson - Johnson parameters estimation fitlognormal - lognormal parameters estimation fitweibull - Weibull parameters estimation idfbeta - beta type 1 idf idfbeta2 - beta type 2 idf idfchi2 - ?2 (central and non-central) idf idfcv - sample coefficient of variation idf idfexponential - exponential idf idffisher - Fisher (central and non-central) idf idfgamma - gamma idf idfgev - generalized Extreme Value idf idfjohnson - Johnson?s idf idflognormal - lognormal idf idfmedian - normal sample median idf idfnormal - normal idf idfpareto - Pareto idf idfstandev - normal sample standard-deviation idf idfstudent - Student (central and non-central) idf idfweibull - Weibull idf allcombination - matrix element combinations allpermutation - matrix element permutations arrangement - number Ap of arrangements combination - number Cn of combinations confhyper - confluent hypergeometric function depth - non parametric multivariate depth hausdorff - Hausdorff (median) distance between polylines lowess - LOcally WEighted Scatterplot Smoothing momdphase - first moments of a Discrete Phase-Type distribution nearestneighbors - find the k nearest neighbors neldermead - Nelder Mead?s downhill simplex nonlinear optimization algorithm savitzkygolay - Savitzky-Golay smoothing filter simplex - simplex computation simplexolve - solve a system of non-linear equations torczon - Torczon?s multidirectional nonlinear optimization algorithm vandercorput - Van der Corput?s sequence boxplot - Box plot qplot - quantile plot qqplot - quantile-quantile plot pdfbeta - beta type 1 pdf pdfbeta2 - beta type 2 pdf pdfbinomial - binomial pdf pdfchi2 - ?2 (central and non-central) pdf pdfcp - CP pdf pdfcpk - CP K pdf pdfcpm - CP M pdf pdfcpmk - CP M K pdf pdfcpuv - V ?nnman?s Cp (u, v) pdf pdfcv - sample coefficient of variation pdf pdfdphase - discrete phase-type pdf pdfexponential - exponential pdf pdffisher - Fisher (central and non-central) pdf pdffoldednormal - folded normal pdf pdfgamma - gamma pdf pdfgev - generalized Extreme Value pdf pdfhypergeometric - hypergeometric pdf pdfkernel - kernel smoothed pdf pdfjohnson - Johnson?s pdf pdflognormal - lognormal pdf pdfmedian - normal sample median pdf pdfmultinormal - multinormal pdf pdfnormal - normal pdf pdfpareto - Pareto pdf pdfpascal - Pascal pdf pdfpoisson - Poisson pdf pdfrnge - normal range pdf pdfstandev - normal sample standard-deviation pdf pdfstudent - Student pdf pdfweibull - Weibull pdf quadhermite - Gauss-Hermite quadrature quadlaguerre - Gauss-Laguerre quadrature quadlegendre - Gauss-Legendre quadrature quadsimpson - Simpson quadrature rndbeta - beta type 1 random number generator rndbeta2 - beta type 2 random number generator rndbinomial - binomial random number generator rndexponential - exponential random number generator rndfoldednormal - folded normal random number generator rndgamma - gamma random number generator rndgev - generalized Extreme Value random number generator rndjohnson - Johnson?s random number generator rndlognormal - lognormal random number generator rndmultinormal - multinormal random number generator rndnormal - normal random number generator rndpareto - Pareto random number generator rndpascal - Pascal random number generator rndpoisson - Poisson random number generator rndstandev - normal sample standard-deviation random number rndweibull - Weibull random number generator autocorrelation - autocorrelation coefficient bootstrap - bootstrap sampling correlation - correlation matrix crosscorrelation - crosscorrelation coefficient kurtosis - kurtosis coefficient quantile - quantile rnge - range skewness - skewness coefficient standev - standard deviation totalmedian - total median coefficients varcovar - variance-covariance matrix arlmean - ARL of the mean control chart arlmeanRR - ARL of the Run Rules mean control chart arlmedian - ARL of the median control chart arlmedianRR - ARL of the Run Rules median control chart arlrnge - ARL of the range control chart arlstandev - ARL of the standard-deviation control chart arlstandevRR - ARL of the Run Rules standard-deviation control chart cp - capability index CP estimation and confidence interval cpk - capability index CP K estimation and confidence interval krnge - range coefficients KR (n) kstandev - standard-deviation coefficients KS (n, r) mcpshahriari - Shahriari?s multivariate capability index CP mcptaam - Taam?s multivariate capability index CP andersondarling - Anderson-Darling?s normality test ansaribradley - Ansari-Bradley?s test bartlett - Bartlett?s test grubbs - Grubbs test kendall - Kendall?s test levene - Levene?s test mardia - Mardia?s test spearman - Spearman?s test tstbinomial1 - binomial one sample p test tstbinomial2 - binomial two samples p test tstexponential - exponential ? test tstnormalm1 - normal one sample ? test tstnormalm2 - normal two samples ? test tstnormals1 - normal one sample ? test tstnormals2 - normal two samples ? test tstsku - normal skewness and kurtosis test waldwolfowitz - Wald-Wolfowitz?s run test wilcoxon1 - Wilcoxon?s one sample (paired) test wilcoxon2 - Wilcoxon?s two samples test -- Dr Ricardo Fabbri Professor of Computer Engineering GNU/Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfabbri at gmail.com Sat Jul 28 23:27:36 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Sat, 28 Jul 2012 18:27:36 -0300 Subject: [scilab-Users] new probability and statistics toolbox - CASCI In-Reply-To: <1343509788.32531.YahooMailNeo@web122501.mail.ne1.yahoo.com> References: <1343509788.32531.YahooMailNeo@web122501.mail.ne1.yahoo.com> Message-ID: <2D100188-C311-43F1-9350-2D699B778D43@gmail.com> Hi, see readme.txt. Basically: you type 'exec builder.sce' once inside the toolbox directory (within scilab). then all the times you want to use it. type 'exec loader.sce' withhin scilab, also inside the toolbox directory. Ricardo. On Jul 28, 2012, at 6:09 PM, Reinaldo wrote: > Hi Ricardo, > > How can I install it for Scilab-beta-1 - Mac OS X ? > > All best, > Reinaldo. > De: Ricardo Fabbri > Para: users at lists.scilab.org; gsoc at lists.scilab.org > Enviadas: S?bado, 28 de Julho de 2012 15:09 > Assunto: [scilab-Users] new probability and statistics toolbox - CASCI > > Hi, > > I'd like to share with you the new probability and statistics toolbox > CASCI that I uploaded with permission from the authors to ATOMS and > FORGE: > > http://atoms.scilab.org/toolboxes/casci > > The git repository is in Forge. > > Perhaps that will save some people ongoing work. Please give us > feedback on the usefulness of such a toolbox. > > Here are the function descriptions: > > > intbinomial - binomial confidence interval > intexponential - exponential confidence interval > intnormalm - normal confidence interval for ? > intnormals - normal confidence interval for ? > intpoisson - Poisson confidence interval > cdfbeta - beta type 1 cdf > cdfbeta2 - beta type 2 cdf > cdfbinomial - binomial cdf > cdfchi2 - ?2 (central and non-central) cdf > cdfcv - sample coefficient of variation cdf > cdfdphase - discrete Phase-Type cdf > cdfexponential - exponential cdf > cdffisher - Fisher (central and non-central) cdf > cdffoldednormal - folded normal cdf > cdfgamma - gamma cdf > cdfgev - generalized Extreme Value cdf > cdfhypergeometric - hypergeometric cdf > cdfjohnson - Johnson?s cdf > cdflognormal - lognormal cdf > cdfmedian - normal sample median cdf > cdfnormal - normal cdf > cdfpareto - Pareto cdf > cdfpascal - Pascal cdf > cdfpoisson - Poisson cdf > cdfrnge - normal range cdf > cdfstandev - normal sample standard-deviation cdf > cdfstudent - Student (central and non-central) cdf > cdfweibull - Weibull cdf > boxbehnken - Box-Behnken designs > boxcoxlinear - Box-Cox linearity transformation > centralcomposite - central composite designs > coded2natural - coded to natural variables > doxpand - design expansion > doxptim - design optimisation > equiradial - equiradial designs > factorial2 - two levels full and fractional factorial designs > mulreg - multilinear regression analysis > mulregdisp - multilinear regression analysis results display > mulregplot - multilinear regression analysis results plot > natural2coded - natural to coded variables > plackettburman - Plackett-Burman designs > simpdex - simplex designs > fitbeta - beta type 1 parameters estimation > fitgamma - gamma parameters estimation > fitgev - generalized Extreme Value parameters estimation > fitjohnson - Johnson parameters estimation > fitlognormal - lognormal parameters estimation > fitweibull - Weibull parameters estimation > idfbeta - beta type 1 idf > idfbeta2 - beta type 2 idf > idfchi2 - ?2 (central and non-central) idf > idfcv - sample coefficient of variation idf > idfexponential - exponential idf > idffisher - Fisher (central and non-central) idf > idfgamma - gamma idf > idfgev - generalized Extreme Value idf > idfjohnson - Johnson?s idf > idflognormal - lognormal idf > idfmedian - normal sample median idf > idfnormal - normal idf > idfpareto - Pareto idf > idfstandev - normal sample standard-deviation idf > idfstudent - Student (central and non-central) idf > idfweibull - Weibull idf > allcombination - matrix element combinations > allpermutation - matrix element permutations > arrangement - number Ap of arrangements > combination - number Cn of combinations > confhyper - confluent hypergeometric function > depth - non parametric multivariate depth > hausdorff - Hausdorff (median) distance between polylines > lowess - LOcally WEighted Scatterplot Smoothing > momdphase - first moments of a Discrete Phase-Type distribution > nearestneighbors - find the k nearest neighbors > neldermead - Nelder Mead?s downhill simplex nonlinear optimization algorithm > savitzkygolay - Savitzky-Golay smoothing filter > simplex - simplex computation > simplexolve - solve a system of non-linear equations > torczon - Torczon?s multidirectional nonlinear optimization algorithm > vandercorput - Van der Corput?s sequence > boxplot - Box plot > qplot - quantile plot > qqplot - quantile-quantile plot > pdfbeta - beta type 1 pdf > pdfbeta2 - beta type 2 pdf > pdfbinomial - binomial pdf > pdfchi2 - ?2 (central and non-central) pdf > pdfcp - CP pdf > pdfcpk - CP K pdf > pdfcpm - CP M pdf > pdfcpmk - CP M K pdf > pdfcpuv - V ?nnman?s Cp (u, v) pdf > pdfcv - sample coefficient of variation pdf > pdfdphase - discrete phase-type pdf > pdfexponential - exponential pdf > pdffisher - Fisher (central and non-central) pdf > pdffoldednormal - folded normal pdf > pdfgamma - gamma pdf > pdfgev - generalized Extreme Value pdf > pdfhypergeometric - hypergeometric pdf > pdfkernel - kernel smoothed pdf > pdfjohnson - Johnson?s pdf > pdflognormal - lognormal pdf > pdfmedian - normal sample median pdf > pdfmultinormal - multinormal pdf > pdfnormal - normal pdf > pdfpareto - Pareto pdf > pdfpascal - Pascal pdf > pdfpoisson - Poisson pdf > pdfrnge - normal range pdf > pdfstandev - normal sample standard-deviation pdf > pdfstudent - Student pdf > pdfweibull - Weibull pdf > quadhermite - Gauss-Hermite quadrature > quadlaguerre - Gauss-Laguerre quadrature > quadlegendre - Gauss-Legendre quadrature > quadsimpson - Simpson quadrature > rndbeta - beta type 1 random number generator > rndbeta2 - beta type 2 random number generator > rndbinomial - binomial random number generator > rndexponential - exponential random number generator > rndfoldednormal - folded normal random number generator > rndgamma - gamma random number generator > rndgev - generalized Extreme Value random number generator > rndjohnson - Johnson?s random number generator > rndlognormal - lognormal random number generator > rndmultinormal - multinormal random number generator > rndnormal - normal random number generator > rndpareto - Pareto random number generator > rndpascal - Pascal random number generator > rndpoisson - Poisson random number generator > rndstandev - normal sample standard-deviation random number > rndweibull - Weibull random number > generator > autocorrelation - autocorrelation coefficient > bootstrap - bootstrap sampling > correlation - correlation matrix > crosscorrelation - crosscorrelation coefficient > kurtosis - kurtosis coefficient > quantile - quantile > rnge - range > skewness - skewness coefficient > standev - standard deviation > totalmedian - total median coefficients > varcovar - variance-covariance matrix > arlmean - ARL of the mean control chart > arlmeanRR - ARL of the Run Rules mean control chart > arlmedian - ARL of the median control chart > arlmedianRR - ARL of the Run Rules median control chart > arlrnge - ARL of the range control chart > arlstandev - ARL of the standard-deviation control chart > arlstandevRR - ARL of the Run Rules standard-deviation control chart > cp - capability index CP estimation and confidence interval > cpk - capability index CP K estimation and confidence interval > krnge - range coefficients KR (n) > kstandev - standard-deviation coefficients KS (n, r) > mcpshahriari - Shahriari?s multivariate capability index CP > mcptaam - Taam?s multivariate capability index CP > andersondarling - Anderson-Darling?s normality test > ansaribradley - Ansari-Bradley?s test > bartlett - Bartlett?s test > grubbs - Grubbs test > kendall - Kendall?s test > levene - Levene?s test > mardia - Mardia?s test > spearman - Spearman?s test > tstbinomial1 - binomial one sample p test > tstbinomial2 - binomial two samples p test > tstexponential - exponential ? test > tstnormalm1 - normal one sample ? test > tstnormalm2 - normal two samples ? test > tstnormals1 - normal one sample ? test > tstnormals2 - normal two samples ? test > tstsku - normal skewness and kurtosis test > waldwolfowitz - Wald-Wolfowitz?s run test > wilcoxon1 - Wilcoxon?s one sample (paired) test > wilcoxon2 - Wilcoxon?s two samples test > > > > > -- > Dr Ricardo Fabbri > Professor of Computer Engineering > GNU/Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From manasdas17 at gmail.com Sun Jul 29 10:02:28 2012 From: manasdas17 at gmail.com (manasdas17) Date: Sun, 29 Jul 2012 01:02:28 -0700 (PDT) Subject: Scilab fpga implementation Message-ID: <1343548948590-4024645.post@n3.nabble.com> Hi All, I am working on scilab/xcos fpga implentation.I want to know how to convert scilab codes to verilog/vhdl to be implemented on fpga board.Is there any tool available for this.I am using scilab 5.3.3 on ubuntu OS.Also,is it possible to generate hdl code from xcos blocks as these are floating point blocks.Any kind of information even if basic is welcome. Regards Manas IIT-Bombay -- View this message in context: http://mailinglists.scilab.org/Scilab-fpga-implementation-tp4024645.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.