From navigateur25 at yahoo.fr Sun Apr 5 23:31:59 2009 From: navigateur25 at yahoo.fr (benbala arab) Date: Sun, 5 Apr 2009 21:31:59 +0000 (GMT) Subject: renseignement Message-ID: <473919.24363.qm@web24308.mail.ird.yahoo.com> Bonjour Je veux r?aliser un mod?le de commande d?une machine asynchrone sous scilab mais je n?arrive pas ? ex?cuter Scilab et Scicos en m?me temps, s?il vous plait est ce que vous? connaissez une astuce ou une m?thode qui permet de passer de Scicos ? Scilab ou de Scilab ? Scicos directement sans retourner ? la m?thode manuelle?? Cordialement ???????? BENBALA -------------- next part -------------- An HTML attachment was scrubbed... URL: From simone.mannori at scilab.org Mon Apr 6 06:37:26 2009 From: simone.mannori at scilab.org (simone.mannori at scilab.org) Date: Mon, 06 Apr 2009 06:37:26 +0200 Subject: [scilab-Users] renseignement In-Reply-To: <473919.24363.qm@web24308.mail.ird.yahoo.com> References: <473919.24363.qm@web24308.mail.ird.yahoo.com> Message-ID: <6f877b7e66b9302739a32cb1385732b5@localhost> Bonjour, unfortunately is not yet possible run Scilab and Scicos at the same time like Matlab/Simulink, but you can obtain the same results using this technique: - prepare a Scilab script that contains all the physical parameters of the electrical machine (like Ls, Rs, Ms, etc.) the algorithm used to design the controller (PID, state space, fuzzy, etc.). Use this script to fill some Scilab variables like A,B,C,D and F matrix or Ki,Kp,Pd - run "scicos();": prepare a Scicos diagram that model the machine and the controller using the above variables instead than numerical parameters. There are two additional techniques: - you can "incorporate" a Scilab script _inside_ Scicos using the "contex" feature. Using the "internal" Scicos context the Scilab design script will be stored inside the Scicos diagram; - you can run a Scicos simulation from a Scilab script using: Info=scicos_simulate(scs_m,Info[,%scicos_context][,flag]) Please see the Scilab help for more details about this two features. Do not hesitate to ask for more help: I was exposed to Clark and Park transformations when I was young :). Regards Simone Mannori P.S. Please use English in the mailing list. S'il vous pla?t ;) http://en.wiktionary.org/wiki/s%27il_vous_pla%C3%AEt On Sun, 5 Apr 2009 21:31:59 +0000 (GMT), benbala arab wrote: > Bonjour > Je veux r?aliser un mod?le de commande d?une machine asynchrone sous > scilab mais je n?arrive pas ? ex?cuter Scilab et Scicos en m?me temps, > s?il vous plait est ce que vous? connaissez une astuce ou une m?thode > qui permet de passer de Scicos ? Scilab ou de Scilab ? Scicos directement > sans retourner ? la m?thode manuelle?? > Cordialement > ???????? BENBALA > From mtrainer at central-data.net Tue Apr 7 06:53:02 2009 From: mtrainer at central-data.net (Murray Trainer) Date: Tue, 7 Apr 2009 12:53:02 +0800 (GMT+08:00) Subject: Can't install Scilab 5.0.3-6 on Ubuntu Hardy Message-ID: <16312896.1172851239079982917.JavaMail.root@mailstore01.gopc.net> Hi, I get the error below. I think scilab-bin is missing from the repository. The following packages have unmet dependencies: scilab: Depends: scilab-bin (= 5.0.3-6ubuntu1) but it is not going to be installed Thanks Murray -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtrainer at central-data.net Tue Apr 7 06:57:13 2009 From: mtrainer at central-data.net (mtrainer at central-data.net) Date: Tue, 7 Apr 2009 12:57:13 +0800 (GMT+08:00) Subject: [scilab-Users] Can't install Scilab 5.0.3-6 on Ubuntu Hardy In-Reply-To: <27622593.1172981239080215525.JavaMail.root@mailstore01.gopc.net> Message-ID: <15334063.1173001239080233346.JavaMail.root@mailstore01.gopc.net> This was using the repository below: deb http://www.scilab.org/team/sylvestre.ledru/repository/ubuntu.hardy/ hardy main deb-src http://www.scilab.org/team/sylvestre.ledru/repository/ubuntu.hardy/ hardy main ----- Forwarded Message ----- From: "Murray Trainer" To: users at lists.scilab.org Sent: Tuesday, April 7, 2009 12:53:02 PM GMT +08:00 Beijing / Chongqing / Hong Kong / Urumqi Subject: [scilab-Users] Can't install Scilab 5.0.3-6 on Ubuntu Hardy Hi, I get the error below. I think scilab-bin is missing from the repository. The following packages have unmet dependencies: scilab: Depends: scilab-bin (= 5.0.3-6ubuntu1) but it is not going to be installed Thanks Murray -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Tue Apr 7 09:27:54 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 07 Apr 2009 09:27:54 +0200 Subject: [scilab-Users] Can't install Scilab 5.0.3-6 on Ubuntu Hardy In-Reply-To: <16312896.1172851239079982917.JavaMail.root@mailstore01.gopc.net> References: <16312896.1172851239079982917.JavaMail.root@mailstore01.gopc.net> Message-ID: <1239089274.550.1041.camel@korcula.inria.fr> Le mardi 07 avril 2009 ? 12:53 +0800, Murray Trainer a ?crit : > Hi, > > I get the error below. I think scilab-bin is missing from the > repository. > > The following packages have unmet dependencies: > scilab: Depends: scilab-bin (= 5.0.3-6ubuntu1) but it is not going > to be installed Try to remove scilab 4.X first. aptitude purge scilab && aptitude install scilab I think I fixed this bug in later version of the packaging of Scilab. Sylvestre From mtrainer at central-data.net Wed Apr 8 03:05:57 2009 From: mtrainer at central-data.net (Murray Trainer) Date: Wed, 8 Apr 2009 09:05:57 +0800 (GMT+08:00) Subject: [scilab-Users] Can't install Scilab 5.0.3-6 on Ubuntu Hardy In-Reply-To: <1239089274.550.1041.camel@korcula.inria.fr> Message-ID: <2502672.1180601239152757575.JavaMail.root@mailstore01.gopc.net> > Le mardi 07 avril 2009 ? 12:53 +0800, Murray Trainer a ?crit : > > Hi, > > > > I get the error below. I think scilab-bin is missing from the > > repository. > > > > The following packages have unmet dependencies: > > scilab: Depends: scilab-bin (= 5.0.3-6ubuntu1) but it is not > going > > to be installed > Try to remove scilab 4.X first. > aptitude purge scilab && aptitude install scilab > > I think I fixed this bug in later version of the packaging of Scilab. > > Sylvestre Hi Sylvestre, I have purged all packages related to scilab and still get the error. It is still trying to install scilab-bin. Does this exist in 5.0.3? Thanks Murray Murray From paul at cb.k.u-tokyo.ac.jp Thu Apr 9 09:17:52 2009 From: paul at cb.k.u-tokyo.ac.jp (paul at cb.k.u-tokyo.ac.jp) Date: Thu, 09 Apr 2009 16:17:52 +0900 Subject: Getting started Message-ID: <20090409071752.000062F1.0139@cb.k.u-tokyo.ac.jp> Dear Scilab User group I'm a complete beginner to Scilab and I have little knowledge of this kind of software. My main requirement is to be able to use a Neural Network, Principle Components Analysis and Genetic Algorithm toolbox. I really have no idea where to start and I would appreciate any advice you could give on becoming familiar with the software as soon as possible. My intended purpose is for research. I'll be doing feature selection, using both PCA and GA. And then finally pattern recognition using a neural network. If you could help I would me most grateful. Best regards Paul - Tokyo University From ycollet at freesurf.fr Thu Apr 9 09:51:41 2009 From: ycollet at freesurf.fr (ycollet at freesurf.fr) Date: Thu, 09 Apr 2009 09:51:41 +0200 Subject: [scilab-Users] Getting started In-Reply-To: <20090409071752.000062F1.0139@cb.k.u-tokyo.ac.jp> References: <20090409071752.000062F1.0139@cb.k.u-tokyo.ac.jp> Message-ID: <45f5684d5e8328107064c61195271182@freesurf.fr> Hello, For the genetic algorithms: you can check http://wiki.scilab.org/Genetic_algorithms. Try also 'help optim_ga'. This will open the help browser on the main genetic algorithms method. PCA: 'help pca' will open the help browser on the pca function. There is a simple example of use on this page. You can first try a copy paste. For Neural networks: try to install the ANN toolbox: http://www.scilab.org/contrib/index_contrib.php?page=displayContribution&fileID=1112 you can try also the lolimot thing. It's a variant of neural networks (called fast neural networks): http://www.scilab.org/contrib/index_contrib.php?page=displayContribution&fileID=1177 YC On Thu, 09 Apr 2009 16:17:52 +0900, wrote: > Dear Scilab User group > > I'm a complete beginner to Scilab and I have little knowledge of this > kind of software. My main requirement is to be able to use a Neural > Network, Principle Components Analysis and Genetic Algorithm toolbox. I > really have no idea where to start and I would appreciate any advice you > could give on becoming familiar with the software as soon as possible. > > My intended purpose is for research. I'll be doing feature selection, > using both PCA and GA. And then finally pattern recognition using a > neural network. If you could help I would me most grateful. > > Best regards > > Paul - Tokyo University > From gerard.duong at gmail.com Thu Apr 9 15:46:30 2009 From: gerard.duong at gmail.com (=?UTF-8?Q?G=C3=A9rard_Duong?=) Date: Thu, 9 Apr 2009 15:46:30 +0200 Subject: scilab and GL2PS from Java Message-ID: <6dc0dbf90904090646o5d7c0354g90193d4284527d8@mail.gmail.com> Hello, I am trying to use a jar form scilab into a Windows Java application, but have integration issues. I added org.scilab.modules.graphic_export.jar into one of my Eclipse projects. To be able to use its classes, I had to modify the environment variable PATH and add the scilab bin dir. Until now, all was ok. Now I want to get rid of this update by setting java.library.path instead (by adding VM arguments from the Eclipse execution parameters tab) with what I appended into the PATH. This had to work, but I am getting this error: The native library scigraphic_export does not exist or cannot be found. java.lang.UnsatisfiedLinkError: C:\Program Files\scilab-5.1\bin\scigraphic_export.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at org.scilab.modules.graphic_export.jni.GL2PSConstantJNI.(Unknown Source) at org.scilab.modules.graphic_export.jni.GL2PSConstant.get_GL2PS_MAJOR_VERSION(Unknown Source) at org.scilab.modules.graphic_export.GL2PS.(Unknown Source) at graphics.ScilabTester.main(ScilabTester.java:13) Exception in thread "main" java.lang.UnsatisfiedLinkError: org.scilab.modules.graphic_export.jni.GL2PSConstantJNI.get_GL2PS_MAJOR_VERSION()I at org.scilab.modules.graphic_export.jni.GL2PSConstantJNI.get_GL2PS_MAJOR_VERSION(Native Method) at org.scilab.modules.graphic_export.jni.GL2PSConstant.get_GL2PS_MAJOR_VERSION(Unknown Source) at org.scilab.modules.graphic_export.GL2PS.(Unknown Source) at graphics.ScilabTester.main(ScilabTester.java:13) What's wrong with these dependencies resolution? Regards, G?rard Duong From pierre.marechal at scilab.org Tue Apr 14 15:15:17 2009 From: pierre.marechal at scilab.org (Pierre MARECHAL) Date: Tue, 14 Apr 2009 15:15:17 +0200 Subject: Scilab 5.1.1 is released ! Message-ID: <49E48C65.20308@scilab.org> Hello, The Scilab Team is pleased to announce the release of Scilab 5.1.1. Misc information about this version: http://www.scilab.org/download/index_download.php?page=5.1.1 Main changes between Scilab 4 & Scilab 5 : http://www.scilab.org/changes_5/ Changes between Scilab 5.0.x & Scilab 5.1 : http://www.scilab.org/download/index_download.php?page=CHANGES_5.1 Changes between Scilab 5.1 & Scilab 5.1.1 : http://www.scilab.org/download/index_download.php?page=CHANGES_5.1.1 The release notes : http://www.scilab.org/download/index_download.php?page=RELEASE_NOTES_5.1.1 Pierre -- ============================================== Pierre MARECHAL ------ Fondation DIGITEO - Consortium Scilab Domaine de Voluceau - B.P. 105 78153 Le Chesnay Cedex B?timent 23 - Bureau 24 ------ Email : pierre.marechal at scilab.org T?l : +33 (0)1 39 63 56 81 Fax : +33 (0)1 39 63 55 94 ============================================== From steve at srevilak.net Wed Apr 15 14:44:58 2009 From: steve at srevilak.net (Steve Revilak) Date: Wed, 15 Apr 2009 08:44:58 -0400 (EDT) Subject: Scilab 5.1.1 fails to start on Mac OS X 10.5.6 Message-ID: Hello Scilab users. I recently installed scilab-5.1.1-alpha-1 on an Intel Mac Pro, running Mac OS X 10.5.6. I've had some difficulty getting the application to launch. When I double-click /Applications/scilab-5.1.1-alpha-1.app, the program icon appears in the Dock for a few seconds, then disappears. Trying to run Scilab from the command line shows that the problem is a library load error. $ /Applications/scilab-5.1.1-alpha-1.app/Contents/MacOS/bin/scilab Could not load JVM dynamic library (libjava). Scilab cannot open JVM library. I see the same results with scilab-5.1. After some trial and error, I think I've found the cause of the problem. On this machine, Java 1.6 is configured as the default Java version (I need Java 1.6 for development work). $ java -version java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) It appears that Scilab doesn't work with Java 1.6's libjava. But, I can get Scilab to launch by doing the following: env DYLD_LIBRARY_PATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries /Applications/scilab-5.1.1-alpha-1.app/Contents/MacOS/bin/scilab I have two questions as a result - Am I correct in concluding that the Mac OS X Scilab 5.1.1 works only with Java 1.5, and not Java 1.6? - If the above is correct, is there a preferred method of telling Scilab to use a Java version that's not the system default? Thank you for any assistance. Steve Revilak From sylvestre.ledru at scilab.org Thu Apr 16 15:44:13 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 16 Apr 2009 15:44:13 +0200 Subject: [scilab-Users] scilab and GL2PS from Java In-Reply-To: <6dc0dbf90904090646o5d7c0354g90193d4284527d8@mail.gmail.com> References: <6dc0dbf90904090646o5d7c0354g90193d4284527d8@mail.gmail.com> Message-ID: <1239889453.12341.246.camel@zlarin> Hello, > I am trying to use a jar form scilab into a Windows Java application, > but have integration issues. > I added org.scilab.modules.graphic_export.jar into one of my Eclipse > projects. To be able to use its classes, I had to modify the > environment variable PATH and add the scilab bin dir. Until now, all > was ok. > Now I want to get rid of this update by setting java.library.path > instead (by adding VM arguments from the Eclipse execution parameters > tab) with what I appended into the PATH. This had to work, but I am > getting this error: > The native library scigraphic_export does not exist or cannot be found. > java.lang.UnsatisfiedLinkError: C:\Program > Files\scilab-5.1\bin\scigraphic_export.dll: Can't find dependent > libraries > at java.lang.ClassLoader$NativeLibrary.load(Native Method) [...] > What's wrong with these dependencies resolution? That means it needs the library libscigraphic_export.so to be available in the java.ld.library.path. (it contains the jni functions). Can I ask what are you trying to do ? Sylvestre From sylvestre.ledru at scilab.org Thu Apr 16 15:46:30 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 16 Apr 2009 15:46:30 +0200 Subject: [scilab-Users] Scilab 5.1.1 fails to start on Mac OS X 10.5.6 In-Reply-To: References: Message-ID: <1239889590.12341.250.camel@zlarin> Le mercredi 15 avril 2009 ? 08:44 -0400, Steve Revilak a ?crit : > Hello Scilab users. > > I recently installed scilab-5.1.1-alpha-1 on an Intel Mac Pro, running > Mac OS X 10.5.6. I've had some difficulty getting the application to > launch. > > When I double-click /Applications/scilab-5.1.1-alpha-1.app, the > program icon appears in the Dock for a few seconds, then disappears. > > Trying to run Scilab from the command line shows that the problem is a > library load error. > [...] > - Am I correct in concluding that the Mac OS X Scilab 5.1.1 works > only with Java 1.5, and not Java 1.6? Hmmm, I believe it is more due to a bad assumption from me about the place where Apple is storing java native libraries. I have to update my script to fix it. > - If the above is correct, is there a preferred method of telling > Scilab to use a Java version that's not the system default? I am going to write a patch to fix it (next week ?). I will probably ask you to test it! Thanks for reporting this bug. Sylvestre From steve at srevilak.net Fri Apr 17 01:49:12 2009 From: steve at srevilak.net (Steve Revilak) Date: Thu, 16 Apr 2009 19:49:12 -0400 (EDT) Subject: [scilab-Users] Scilab 5.1.1 fails to start on Mac OS X 10.5.6 In-Reply-To: <1239889590.12341.250.camel@zlarin> References: <1239889590.12341.250.camel@zlarin> Message-ID: > From: Sylvestre Ledru > Subject: Re: [scilab-Users] Scilab 5.1.1 fails to start on Mac OS X 10.5.6 >> When I double-click /Applications/scilab-5.1.1-alpha-1.app, the >> program icon appears in the Dock for a few seconds, then disappears. >> >> Trying to run Scilab from the command line shows that the problem is a >> library load error. >> - Am I correct in concluding that the Mac OS X Scilab 5.1.1 works >> only with Java 1.5, and not Java 1.6? > Hmmm, I believe it is more due to a bad assumption from me about the > place where Apple is storing java native libraries. > I have to update my script to fix it. >> - If the above is correct, is there a preferred method of telling >> Scilab to use a Java version that's not the system default? > I am going to write a patch to fix it (next week ?). I will probably ask you to test it! Sylvestre, Thanks for responding. When your patch is ready, I would be more than happy to test it. Steve From jp4work at gmail.com Fri Apr 17 19:40:43 2009 From: jp4work at gmail.com (JIA Pei) Date: Fri, 17 Apr 2009 18:40:43 +0100 Subject: Scilab Docbook -- compile bug... Message-ID: <218a26f00904171040p61a0d82bifc0be5ae6a6b9642@mail.gmail.com> To whom it may concern: Just report this bug when compiling Scilab 5.1.1 on Ubuntu 8.10 configure: error: Could not find the Docbook root directory. If you have installed it on your system and we haven't been able to find it. Please report a bug I installed docbook 4.5-4 docbook-xml 4.5-5 docbook-xsl-saxon 1.00.dfsg.1-4 from Ubuntu repository. So, any hints? Best Regards JIA -- Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Sat Apr 18 13:24:06 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sat, 18 Apr 2009 13:24:06 +0200 Subject: [scilab-Users] Scilab Docbook -- compile bug... In-Reply-To: <218a26f00904171040p61a0d82bifc0be5ae6a6b9642@mail.gmail.com> References: <218a26f00904171040p61a0d82bifc0be5ae6a6b9642@mail.gmail.com> Message-ID: <1240053846.12341.385.camel@zlarin> Hello, Le vendredi 17 avril 2009 ? 18:40 +0100, JIA Pei a ?crit : > > To whom it may concern: > > Just report this bug when compiling Scilab 5.1.1 on Ubuntu 8.10 > > configure: error: Could not find the Docbook root directory. If you > have installed it on your system and we haven't been able to find it. > Please report a bug > > I installed > docbook 4.5-4 > docbook-xml 4.5-5 > docbook-xsl-saxon 1.00.dfsg.1-4 > > from Ubuntu repository. The package is docbook-xsl. You can remove other. The list of the dependencies is available here: http://wiki.scilab.org/Dependencies_of_Scilab_5.X Sylvestre > So, any hints? > > Best Regards > JIA > > > > -- > Welcome to Vision Open > http://www.visionopen.com From ycollet at freesurf.fr Sat Apr 18 18:27:11 2009 From: ycollet at freesurf.fr (Collette Yann) Date: Sat, 18 Apr 2009 18:27:11 +0200 Subject: [scilab-Users] Scilab Docbook -- compile bug... In-Reply-To: <218a26f00904171040p61a0d82bifc0be5ae6a6b9642@mail.gmail.com> References: <218a26f00904171040p61a0d82bifc0be5ae6a6b9642@mail.gmail.com> Message-ID: <49E9FF5F.3060507@freesurf.fr> Maybe you can try the configure flag --with-docbook=path or you can download the thirdparty from the scilab website and copy everything in scilab-5.1.1/thirdparty YC JIA Pei a ?crit : > > To whom it may concern: > > Just report this bug when compiling Scilab 5.1.1 on Ubuntu 8.10 > > configure: error: Could not find the Docbook root directory. If you > have installed it on your system and we haven't been able to find it. > Please report a bug > > I installed > docbook 4.5-4 > docbook-xml 4.5-5 > docbook-xsl-saxon 1.00.dfsg.1-4 > > from Ubuntu repository. > > So, any hints? > > Best Regards > JIA > > > > -- > Welcome to Vision Open > http://www.visionopen.com From kirill.kirillov at gmail.com Wed Apr 22 01:39:50 2009 From: kirill.kirillov at gmail.com (Kirill Kirillov) Date: Wed, 22 Apr 2009 03:39:50 +0400 Subject: [scilab-Users] Usage of expm function In-Reply-To: <9ee17b50901201147t3ab3729cofe49c1a90228cf3e@mail.gmail.com> References: <9ee17b50901201147t3ab3729cofe49c1a90228cf3e@mail.gmail.com> Message-ID: <1240357190.4591.20.camel@faith> Hi, all. I am using Tylor series method for matrix exponential computation. But after reading [1] I'd like to switch to better method. MATLAB uses a scaling and squaring algorithm with a Pade approximation, which is described in [1] as well. Scilab uses first block-diagonalizing and then applying a Pade approximation on each block. 1. Should I use Scilab expm function or MATLAB algorithm? 2. Which file contains source code for Scilab expm function? 3. Where I can find description for Scilab algorithm. Thanks. [1] http://www.cs.cornell.edu/cv/researchpdf/19ways+.pdf -- Kirill Kirillov <>< From astronomer at skywatch.co.za Thu Apr 23 12:49:20 2009 From: astronomer at skywatch.co.za (Chris de Villiers) Date: Thu, 23 Apr 2009 12:49:20 +0200 Subject: Scilab forum Message-ID: <49F047B0.4090302@skywatch.co.za> With the permission of the Scilab list Administrator, I wish to invite all list members to have a look at my new web site at http://www.sciencemath.co.za. There is not much content at present, but I have set up a forum area, with a forum specially for Scilab. Please feel free to make use of these forums. Thank you. Regards, Chris de Villiers From sylvestre.ledru at scilab.org Thu Apr 23 14:35:01 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 23 Apr 2009 14:35:01 +0200 Subject: [scilab-Users] Scilab forum In-Reply-To: <49F047B0.4090302@skywatch.co.za> References: <49F047B0.4090302@skywatch.co.za> Message-ID: <1240490101.27901.8264.camel@korcula.inria.fr> Hello Chris, Le jeudi 23 avril 2009 ? 12:49 +0200, Chris de Villiers a ?crit : > With the permission of the Scilab list Administrator, I wish to invite > all list members to have a look at my new web site at > http://www.sciencemath.co.za. There is not much content at present, but > I have set up a forum area, with a forum specially for Scilab. We are not aware of such request but we would probably say yes anyway! Good luck with your forum! Sylvestre From clem4ad at hotmail.com Thu Apr 23 17:47:33 2009 From: clem4ad at hotmail.com (clement bassat) Date: Thu, 23 Apr 2009 15:47:33 +0000 Subject: [scilab-Users] Scilab forum In-Reply-To: <49F047B0.4090302@skywatch.co.za> References: <49F047B0.4090302@skywatch.co.za> Message-ID: Thanks to delete my mail clem4ad > Date: Thu, 23 Apr 2009 12:49:20 +0200 > From: astronomer at skywatch.co.za > To: users at lists.scilab.org > Subject: [scilab-Users] Scilab forum > > With the permission of the Scilab list Administrator, I wish to invite > all list members to have a look at my new web site at > http://www.sciencemath.co.za. There is not much content at present, but > I have set up a forum area, with a forum specially for Scilab. > > Please feel free to make use of these forums. > > Thank you. > > Regards, > Chris de Villiers _________________________________________________________________ Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live?? Lancez-vous ! http://www.microsoft.com/windows/windowslive/default.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From outrosdiasvirao at yahoo.com.br Fri Apr 24 01:27:36 2009 From: outrosdiasvirao at yahoo.com.br (Lucio Agostinho Rocha) Date: Thu, 23 Apr 2009 16:27:36 -0700 (PDT) Subject: Link between scilab and c program Message-ID: <257849.36124.qm@web52710.mail.re2.yahoo.com> Hi, I want to create a C program that executes a function inside Scilab. I use Scilab 5.1.1 in Kubuntu, gcc 4.3.2 I create a simple function in C to try this.? The name's program is 'dados_para_scilab.c' : double funcao(x) double *x; { ? double result = (*x)+1; }//end function Then, I compile: gcc -o dados_para_scilab.o -c dados_para_scilab.c And I put the 'dados_para_scilab.o' file inside the work directory that I defined for Scilab (with 'chdir' command). Then, inside Scilab: --> link('dados_para_scilab.o','funcao','c') But the following message is showed: Link failed for dynamic library 'dados_para_scilab.o' ...only: ET_DYN e ET_EXEC can be loaded. link: The shared archive was not loaded: (null) What am I doing wrong? Someone could help me? It would be a great value to put some C code and the steps to make this working. Thanks in advance, Lucio ........... Veja quais s?o os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ycollet at freesurf.fr Fri Apr 24 06:05:37 2009 From: ycollet at freesurf.fr (Collette Yann) Date: Fri, 24 Apr 2009 06:05:37 +0200 Subject: [scilab-Users] Link between scilab and c program In-Reply-To: <257849.36124.qm@web52710.mail.re2.yahoo.com> References: <257849.36124.qm@web52710.mail.re2.yahoo.com> Message-ID: <49F13A91.7040802@freesurf.fr> For the compilation of your program, try this: gcc -shared -o dados_para_scilab.so -c dados_para_scilab.c You must build a shared library instead of a classical object. YC Lucio Agostinho Rocha a ?crit : > Hi, > > I want to create a C program that executes a function inside Scilab. > > I use Scilab 5.1.1 in Kubuntu, gcc 4.3.2 > > I create a simple function in C to try this. The name's program is > 'dados_para_scilab.c' : > > double funcao(x) > double *x; > { > double result = (*x)+1; > }//end function > > Then, I compile: > > gcc -o dados_para_scilab.o -c dados_para_scilab.c > > And I put the 'dados_para_scilab.o' file inside the work directory > that I defined for Scilab (with 'chdir' command). > > Then, inside Scilab: > > --> link('dados_para_scilab.o','funcao','c') > > But the following message is showed: > > Link failed for dynamic library 'dados_para_scilab.o' > ...only: ET_DYN e ET_EXEC can be loaded. > link: The shared archive was not loaded: (null) > > What am I doing wrong? Someone could help me? It would be a great > value to put some C code and the steps to make this working. > > Thanks in advance, > > Lucio > ........... > > > ------------------------------------------------------------------------ > Veja quais s?o os assuntos do momento no Yahoo! + Buscados: Top 10 > > - Celebridades > > - M?sica > > - Esportes > From sylvestre.ledru at scilab.org Fri Apr 24 13:40:27 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 24 Apr 2009 13:40:27 +0200 Subject: [scilab-Users] Link between scilab and c program In-Reply-To: <257849.36124.qm@web52710.mail.re2.yahoo.com> References: <257849.36124.qm@web52710.mail.re2.yahoo.com> Message-ID: <1240573227.27901.12556.camel@korcula.inria.fr> the .o is misleading. It is the name of the target. You can delegate the build to Scilab: For example: f1=['int ext1c(int *n, double *a, double *b, double *c)' '{int k;' ' for (k = 0; k < *n; ++k) ' ' c[k] = a[k] + b[k];' ' return(0);}']; mputl(f1,'fun1.c') //creating the shared library (a gateway, a Makefile and a loader are //generated. ilib_for_link('ext1c','fun1.c',[],"c") Sylvestre Le jeudi 23 avril 2009 ? 16:27 -0700, Lucio Agostinho Rocha a ?crit : > Hi, > > I want to create a C program that executes a function inside Scilab. > > I use Scilab 5.1.1 in Kubuntu, gcc 4.3.2 > > I create a simple function in C to try this. The name's program is > 'dados_para_scilab.c' : > > double funcao(x) > double *x; > { > double result = (*x)+1; > }//end function > > Then, I compile: > > gcc -o dados_para_scilab.o -c dados_para_scilab.c > > And I put the 'dados_para_scilab.o' file inside the work directory > that I defined for Scilab (with 'chdir' command). > > Then, inside Scilab: > > --> link('dados_para_scilab.o','funcao','c') > > But the following message is showed: > > Link failed for dynamic library 'dados_para_scilab.o' > ...only: ET_DYN e ET_EXEC can be loaded. > link: The shared archive was not loaded: (null) > > What am I doing wrong? Someone could help me? It would be a great > value to put some C code and the steps to make this working. > > Thanks in advance, > > Lucio > ........... > > > ______________________________________________________________________ > Veja quais s?o os assuntos do momento no Yahoo! + Buscados: Top 10 - > Celebridades - M?sica - Esportes From m.griffiths at sheffield.ac.uk Mon Apr 27 14:07:29 2009 From: m.griffiths at sheffield.ac.uk (Mike Griffiths) Date: Mon, 27 Apr 2009 13:07:29 +0100 Subject: Is there a Web Service Client toolkit for scilab? Message-ID: <49F5A001.1000000@sheffield.ac.uk> Is there a Web Service Client toolkit for scilab? Or is such a toolkit under development? I'd be really grateful for any information. Regards Mike Griffiths Corporate Information and Computing Services The University of Sheffield From sylvestre.ledru at scilab.org Mon Apr 27 15:53:57 2009 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Mon, 27 Apr 2009 15:53:57 +0200 Subject: [scilab-Users] Is there a Web Service Client toolkit for scilab? In-Reply-To: <49F5A001.1000000@sheffield.ac.uk> References: <49F5A001.1000000@sheffield.ac.uk> Message-ID: <1240840437.10904.17074.camel@korcula.inria.fr> Le lundi 27 avril 2009 ? 13:07 +0100, Mike Griffiths a ?crit : > Is there a Web Service Client toolkit for scilab? > Or is such a toolkit under development? AFAIK, there is no such thing available for now. We will probably work on this in the future but I don't see that coming in the few next months ... What kind of webservice client are you looking for ? XML-RPC, SOAP or REST ? Sylvestre From m.griffiths at sheffield.ac.uk Tue Apr 28 12:09:06 2009 From: m.griffiths at sheffield.ac.uk (Mike Griffiths) Date: Tue, 28 Apr 2009 11:09:06 +0100 Subject: [scilab-Users] Is there a Web Service Client toolkit for scilab? In-Reply-To: <1240840437.10904.17074.camel@korcula.inria.fr> References: <49F5A001.1000000@sheffield.ac.uk> <1240840437.10904.17074.camel@korcula.inria.fr> Message-ID: <49F6D5C2.6040501@sheffield.ac.uk> Thanks for the information, I would like to be able to build a soap1.2 client Would it be possible to link clients developed using the gsoap tool kit with scilab? cheers Mike Sylvestre Ledru wrote: > Le lundi 27 avril 2009 ? 13:07 +0100, Mike Griffiths a ?crit : > >> Is there a Web Service Client toolkit for scilab? >> Or is such a toolkit under development? >> > AFAIK, there is no such thing available for now. > We will probably work on this in the future but I don't see that coming > in the few next months ... > > What kind of webservice client are you looking for ? XML-RPC, SOAP or > REST ? > > Sylvestre > > >