From jrafaelbguerra at hotmail.com Thu Jan 1 17:08:57 2015 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Thu, 1 Jan 2015 16:08:57 +0000 Subject: [Scilab-users] Computing with very large numbers in Scilab Message-ID: Dear Scilab'ers, Happy New Year. Does someone know to perform in Scilab computations involving very large numbers? For example, the how to compute the following probability formula: 1-365!/((365-23)! *365^23) 1-factorial(365)/(factorial(365-23)* 365^23) produces Nan in Scilab The correct answer (using Wolfram Alpha) is: 0.507... Thanks and regards Rafael G. From bruno.pincon at univ-lorraine.fr Thu Jan 1 17:47:48 2015 From: bruno.pincon at univ-lorraine.fr (=?windows-1252?Q?Pin=E7on_Bruno?=) Date: Thu, 01 Jan 2015 17:47:48 +0100 Subject: [Scilab-users] Computing with very large numbers in Scilab In-Reply-To: References: Message-ID: <54A57A34.4000303@univ-lorraine.fr> Le 01/01/2015 17:08, Rafael Guerra a ?crit : > Dear Scilab'ers, > > Happy New Year. > Does someone know to perform in Scilab computations involving very large > numbers? > For example, the how to compute the following probability formula: > 1-365!/((365-23)! *365^23) > > 1-factorial(365)/(factorial(365-23)* 365^23) produces Nan in Scilab > The correct answer (using Wolfram Alpha) is: 0.507... > You should work around the formula such that too large numbers are avoided. In your case it is easy : 365!/((365-23)! *365^23) = ((365-22)*(365-21)*.......*(365-0))/(365 * 365 * ..... * 365) = (343/365)*(344/365)*....*(364/365)*(365/365) In scilab this can be coded this way : 1 - prod( (343:364)/365 ) hth B. From calixte.denizet at scilab-enterprises.com Thu Jan 1 18:04:37 2015 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Thu, 01 Jan 2015 18:04:37 +0100 Subject: [Scilab-users] Computing with very large numbers in Scilab In-Reply-To: References: Message-ID: <54A57E25.30900@scilab-enterprises.com> Hi Rafael, You could use the function gammaln: 1-exp(gammaln(365 + 1)-(gammaln(365 - 23 + 1) + 23*log(365))) Regards, Calixte On 01/01/2015 17:08, Rafael Guerra wrote: > Dear Scilab'ers, > > Happy New Year. > Does someone know to perform in Scilab computations involving very large > numbers? > For example, the how to compute the following probability formula: > 1-365!/((365-23)! *365^23) > > 1-factorial(365)/(factorial(365-23)* 365^23) produces Nan in Scilab > The correct answer (using Wolfram Alpha) is: 0.507... > > Thanks and regards > Rafael G. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From jrafaelbguerra at hotmail.com Thu Jan 1 19:16:22 2015 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Thu, 1 Jan 2015 18:16:22 +0000 Subject: [Scilab-users] Computing with very large numbers in Scilab In-Reply-To: <54A57E25.30900@scilab-enterprises.com> References: <54A57E25.30900@scilab-enterprises.com> Message-ID: Calixte and Bruno, Thanks for the mathematical insight, and especially for the gammaln function, very good to know. For a general case, do we need to use Scilab's Multiple Precision Arithmetic Toolbox? (which does not seem to work for 64-bits version) Thanks again and regards, Rafael G. -----Original Message----- From: users [mailto:users-bounces at lists.scilab.org] On Behalf Of Calixte Denizet Sent: Thursday, January 01, 2015 5:05 PM To: users at lists.scilab.org Subject: Re: [Scilab-users] Computing with very large numbers in Scilab Hi Rafael, You could use the function gammaln: 1-exp(gammaln(365 + 1)-(gammaln(365 - 23 + 1) + 23*log(365))) Regards, Calixte On 01/01/2015 17:08, Rafael Guerra wrote: > Dear Scilab'ers, > > Happy New Year. > Does someone know to perform in Scilab computations involving very > large numbers? > For example, the how to compute the following probability formula: > 1-365!/((365-23)! *365^23) > > 1-factorial(365)/(factorial(365-23)* 365^23) produces Nan in Scilab > The correct answer (using Wolfram Alpha) is: 0.507... > > Thanks and regards > Rafael G. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From frequencyspace at gmail.com Sat Jan 3 05:47:54 2015 From: frequencyspace at gmail.com (Robin Seibel) Date: Fri, 2 Jan 2015 23:47:54 -0500 Subject: [Scilab-users] New to Scilab and having issue with function I've written Message-ID: <6708B793-7268-49BA-A337-3DC0481ED088@gmail.com> I wrote the following function: function [x]=isprime(num) vect=factor(num); if length(vect)==1 then x=1; else x=0; end endfunction I am getting the following output: -->isprime(25411588) 0. ans = 0. Why am I getting output twice, or in other words how can I suppress the first zero reported in the command window? Thanks, Robin -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim at wescottdesign.com Sat Jan 3 06:50:56 2015 From: tim at wescottdesign.com (tim at wescottdesign.com) Date: Fri, 02 Jan 2015 21:50:56 -0800 Subject: [Scilab-users] New to Scilab and having issue with function I've written In-Reply-To: <6708B793-7268-49BA-A337-3DC0481ED088@gmail.com> References: <6708B793-7268-49BA-A337-3DC0481ED088@gmail.com> Message-ID: On 2015-01-02 20:47, Robin Seibel wrote: > I wrote the following function: > > function [x]=isprime(num) > vect=factor(num); > if length(vect)==1 then > x=1; > else > x=0; > end > > endfunction > > I am getting the following output: > > -->isprime(25411588) > > 0. > ans = > > 0. > > Why am I getting output twice, or in other words how can I suppress > the first zero reported in the command window? > Hey Robin: I just tried this, and I'm not getting that behavior. In over a decade of using Scilab, I haven't seen that behavior. So I'm not good for much help. Two things that you can try, however, are: 1: If you haven't yet, try it again, in case the Evil Computer Gods have been messing with your head. Maybe close Scilab and open it again. 2: Tell us what Scilab version you're using, as well as what OS. For your Scilab version, type getversion (e.g. mine is Scilab-5.5.1). This won't help me help you, but it may help someone smarter than me help you. From klaus-rohe at t-online.de Sat Jan 3 11:52:44 2015 From: klaus-rohe at t-online.de (Klaus Rohe) Date: Sat, 3 Jan 2015 11:52:44 +0100 Subject: [Scilab-users] New to Scilab and having issue with function I've written In-Reply-To: References: <6708B793-7268-49BA-A337-3DC0481ED088@gmail.com> Message-ID: <001501d02743$679f4e50$36ddeaf0$@t-online.de> Hi, the following function works fine (Scilab 5.5.1): -->function [x]=isprime(num) --> vect=factor(num); --> if length(vect) == 1 then --> x=1; --> else --> x=0; --> end -->endfunction -->isprime(37) ans = 1. -->isprime(36) ans = 0. Kind regards Klaus -----Urspr?ngliche Nachricht----- Von: users [mailto:users-bounces at lists.scilab.org] Im Auftrag von tim at wescottdesign.com Gesendet: Samstag, 3. Januar 2015 06:51 An: users at lists.scilab.org Betreff: Re: [Scilab-users] New to Scilab and having issue with function I've written On 2015-01-02 20:47, Robin Seibel wrote: > I wrote the following function: > > function [x]=isprime(num) > vect=factor(num); > if length(vect)==1 then > x=1; > else > x=0; > end > > endfunction > > I am getting the following output: > > -->isprime(25411588) > > 0. > ans = > > 0. > > Why am I getting output twice, or in other words how can I suppress > the first zero reported in the command window? > Hey Robin: I just tried this, and I'm not getting that behavior. In over a decade of using Scilab, I haven't seen that behavior. So I'm not good for much help. Two things that you can try, however, are: 1: If you haven't yet, try it again, in case the Evil Computer Gods have been messing with your head. Maybe close Scilab and open it again. 2: Tell us what Scilab version you're using, as well as what OS. For your Scilab version, type getversion (e.g. mine is Scilab-5.5.1). This won't help me help you, but it may help someone smarter than me help you. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From sr.tomowski at gmail.com Sat Jan 3 20:03:12 2015 From: sr.tomowski at gmail.com (MrScialb) Date: Sat, 3 Jan 2015 12:03:12 -0700 (MST) Subject: [Scilab-users] plot3d - big matrix from csv or mysql In-Reply-To: <1419266775366-4031564.post@n3.nabble.com> References: <1419266775366-4031564.post@n3.nabble.com> Message-ID: <1420311792900-4031577.post@n3.nabble.com> "This post has NOT been accepted by the mailing list yet. " - what's mind? -- View this message in context: http://mailinglists.scilab.org/plot3d-big-matrix-from-csv-or-mysql-tp4031564p4031577.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rahuldaone at gmail.com Sun Jan 4 18:03:25 2015 From: rahuldaone at gmail.com (rahul nath) Date: Sun, 4 Jan 2015 22:33:25 +0530 Subject: [Scilab-users] Toolbox Development Message-ID: Hai i am new to Scilab toolbox development.Can someone help me it? I don't really know where to start or how to start. I read this page... http://wiki.scilab.org/howto/Create%20a%20toolbox.. but it made me more confused than i already was. Can someone please help me with this? I need to know where to start and how to proceed. I am desperately in need of some help. Help is so hard to get. -------------- next part -------------- An HTML attachment was scrubbed... URL: From neel.nitt at gmail.com Sun Jan 4 22:42:31 2015 From: neel.nitt at gmail.com (neel.nitt) Date: Sun, 4 Jan 2015 14:42:31 -0700 (MST) Subject: [Scilab-users] unable to generate GUI code Message-ID: Hello, I am new to Scilab. I have made a simple GUI with just a push button. But when I generate the GUI code, the following error comes : *!--error 58 * *Wrong number of input arguments: This function has no input argument.* *at line 69 of function edit called by : * *at line 16 of function gencode_callback called by : * *bo; end;gcbo = getcallbackobject(422);gencode_callback;if exists("%oldgcbo")* *while executing a callback* I could not find a solution. Request your kind help. Thanks -- View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From communication at scilab-enterprises.com Mon Jan 5 10:47:29 2015 From: communication at scilab-enterprises.com (Scilab Communications) Date: Mon, 05 Jan 2015 10:47:29 +0100 Subject: [Scilab-users] 2015 Best Wishes Message-ID: <54AA5DB1.4010509@scilab-enterprises.com> Is this email not displaying correctly? View it in your browser wishes scilabtec -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 103019 bytes Desc: not available URL: From Christophe.Dang at sidel.com Mon Jan 5 11:13:40 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 5 Jan 2015 10:13:40 +0000 Subject: [Scilab-users] unable to generate GUI code In-Reply-To: References: Message-ID: Hello, > De : neel.nitt > Envoy? : dimanche 4 janvier 2015 22:43 > > I am new to Scilab. I have made a simple GUI with just a push button [?] Could you please tell us how you generated this push button, so we can try to reproduce the problem? Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From communication at scilab-enterprises.com Mon Jan 5 15:39:57 2015 From: communication at scilab-enterprises.com (Scilab Communications) Date: Mon, 05 Jan 2015 15:39:57 +0100 Subject: [Scilab-users] ScilabTEC 2015 - Call for Papers is extended until January 16 Message-ID: <54AAA23D.5090109@scilab-enterprises.com> Is this email not displaying correctly? View it in your browser ScilabTEC ScilabTEC brings together during a two-day conference, those involved in the world of computation and numerical simulation in order to promote the exchange and innovation between the fields of education, research and industry. SUBMIT YOUR ABSTRACT ONLINE Deadline EXTENDED for abstract submission: 16 January 2015 The Conference Commitee welcomes abstracts on the main scientific domains using Scilab/Xcos for numerical computation such as automotive, aeronautics, space, energy, defense, telecommunications, biomedical, finance, transportation, environment, etc. The purpose of the presentation is to show the full potential of Scilab/Xcos for solving real life problems. In particular, Scilab industrial applications and new Scilab external modules presentations will be greatly appreciated. ScilabEnterprises Communication Department, Scilab Enterprises | communication at scilab-enterprises.com 143bis rue Yves Le Coz - 78000 Versailles | www.scilab-enterprises.com - www.scilab.org scilabtec -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 18184 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 14302 bytes Desc: not available URL: From neel.nitt at gmail.com Mon Jan 5 18:15:32 2015 From: neel.nitt at gmail.com (Neelkant) Date: Mon, 5 Jan 2015 10:15:32 -0700 (MST) Subject: [Scilab-users] unable to generate GUI code In-Reply-To: References: Message-ID: <1420478132569-4031600.post@n3.nabble.com> Hello, Thanks for replying ! Here are the steps i followed : 1. typed guibuilder on the scilab5.5.1 console 2. two graphical windows opened up. I selected the push button on graphical window 0 and drew a rectangle in graphical window1 . 3. i changed the tag name and string in the object properties 4. then i selected Generate -> generate GUi code -> saved the file with a name. 5. a window appeared " GUI code generated " but the code doesnt appear. The above mentioned error appears on the console. I am not able to save the GUI and generate the code. Further, i have installed these modules : apifun, gui builder,gui maker,scipad... have I missed out on any other important module ? Thanks and Regards Neel -- View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579p4031600.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From cfuttrup at gmail.com Tue Jan 6 02:19:41 2015 From: cfuttrup at gmail.com (Claus Futtrup) Date: Tue, 6 Jan 2015 02:19:41 +0100 Subject: [Scilab-users] Toolbox Development In-Reply-To: References: Message-ID: I agree with Rahul. IMO the toolbox (ATOMS) documentation needs to be concise, complete unambiguous and understandable. Guaranteed success is desired. Best regards, Claus On Jan 5, 2015 2:00 AM, "rahul nath" wrote: > Hai i am new to Scilab toolbox development.Can someone help me it? I don't > really know where to start or how to start. I read this page... > http://wiki.scilab.org/howto/Create%20a%20toolbox.. but it made me more > confused than i already was. Can someone please help me with this? I need > to know where to start and how to proceed. I am desperately in need of some > help. Help is so hard to get. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From neel.nitt at gmail.com Mon Jan 5 17:56:08 2015 From: neel.nitt at gmail.com (Neelkant) Date: Mon, 5 Jan 2015 09:56:08 -0700 (MST) Subject: [Scilab-users] unable to generate GUI code In-Reply-To: References: Message-ID: <1420476968797-4031599.post@n3.nabble.com> Hello, Thank you very much for replying !! Here are the steps which i followed : 1. Typed guibuilder on the scilab5.5.1 console 2. two graphic windows open up. I select the push button option from the graphic window 0 and make a rectangle in the graphic window 1. 3. then i change the tag and the string of the push button in the object properties. 4. i click on generate -> generate GUI code -> save it with a name . 5. i get a window GUI code generated , but the code doesnt appear. The above mentioned error message appears. I am not able to proceed further . regards, Neelkant -- View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579p4031599.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From clement.david at scilab-enterprises.com Tue Jan 6 10:13:56 2015 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Tue, 06 Jan 2015 10:13:56 +0100 Subject: [Scilab-users] Toolbox Development In-Reply-To: References: Message-ID: <1420535636.2068.8.camel@scilab-enterprises.com> Hello, If this documentation is not complete, feel free to update it. The wiki is open to everyone, just connect and edit. Each time I create a new toolbox, I just copy the toolbox_skeleton or xcos_toolbox_skeleton on a new directory ; rename some file and remove others by searching "skeleton" on file names and file contents. Regards, -- Cl?ment Le mardi 06 janvier 2015 ? 02:19 +0100, Claus Futtrup a ?crit : > I agree with Rahul. IMO the toolbox (ATOMS) documentation needs to be > concise, complete unambiguous and understandable. Guaranteed success > is desired. > > Best regards, > Claus > > On Jan 5, 2015 2:00 AM, "rahul nath" wrote: > Hai i am new to Scilab toolbox development.Can someone help me > it? I don't really know where to start or how to start. I > read this page...http://wiki.scilab.org/howto/Create%20a% > 20toolbox.. but it made me more confused than i already was. > Can someone please help me with this? I need to know where to > start and how to proceed. I am desperately in need of some > help. Help is so hard to get. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From ameni.khecharem at gmail.com Tue Jan 6 19:00:20 2015 From: ameni.khecharem at gmail.com (Akhechar) Date: Tue, 6 Jan 2015 11:00:20 -0700 (MST) Subject: [Scilab-users] scilab with FMI (functional mock-up interface) Message-ID: <1420567220478-4031605.post@n3.nabble.com> Hello, I want to export FMU model from my scilab model,, here http://forge.scilab.org/index.php/p/fmu-wrapper/page/Description/ they said that we can do it but how, which functions we can use,, ? there is some example to help me please ? Thanks -- View this message in context: http://mailinglists.scilab.org/scilab-with-FMI-functional-mock-up-interface-tp4031605.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From patrickkohl at gmx.de Tue Jan 6 22:45:54 2015 From: patrickkohl at gmx.de (pkk) Date: Tue, 6 Jan 2015 14:45:54 -0700 (MST) Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo Message-ID: <1420580754695-4031606.post@n3.nabble.com> HI there, I've installed scilab on an udoo developting platform running lubuntu 12.04 using: sudo apt-get install scilab which installs version 5.3.3. How can I upgrade scilab to the latest stable version 5.5.1 or alternatively reinstall latest version. Any help is very much welcome. Thanks. -- View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From tim at wescottdesign.com Tue Jan 6 23:44:01 2015 From: tim at wescottdesign.com (Tim Wescott) Date: Tue, 06 Jan 2015 14:44:01 -0800 Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <1420580754695-4031606.post@n3.nabble.com> References: <1420580754695-4031606.post@n3.nabble.com> Message-ID: <1420584241.2081.104.camel@servo> Hey Patrick: What you want to do is uninstall Scilab from Ubuntu, and hand install it. This can be very easy, if you don't mind not having a shortcut in your start menu. I use Lubuntu, so the following directions should work for you, more or less (with the caviat that I'm no sysop). * Download the tar * Unpack it into your home directory someplace (I'd make a temporary directory, in the event of screwups: as I said, I'm a user, not a sysop). If you don't want to make it available to all users, stop -- just run scilab from the command line with /scilab-5.5.1/bin/scilab. Otherwise: * Change ownership to root: sudo chown root:root --recursive scilab-5.5.1 * Move it someplace sensible sudo mv scilab-5.5.1 /usr/local/share * Put a script file somewhere in your path to invoke it from the command line. I put 'scilab' in /usr/local/bin; it reads: #!/bin/bash /usr/local/share/scilab-5.5.1/bin/scilab $* * You'll need to make the script file so that it's owned by root, and you'll need to make the script file executable. You can do this by: ** Go to the right directory and invoke leafpad as root: cd /usr/local/bin sudo leafpad scilab ** then copy the script I gave into the file, save and exit, and then mark it as executable: sudo chmod +x scilab At this point, you should be able to type 'scilab' at the command line, and have Scilab come up. On Tue, 2015-01-06 at 14:45 -0700, pkk wrote: > HI there, > > I've installed scilab on an udoo developting platform running lubuntu 12.04 > using: > > sudo apt-get install scilab > > which installs version 5.3.3. > > How can I upgrade scilab to the latest stable version 5.5.1 or alternatively > reinstall latest version. > > Any help is very much welcome. > > Thanks. > > > > -- > View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 From chinluh at tritytech.com Wed Jan 7 04:00:20 2015 From: chinluh at tritytech.com (Tan Chin Luh) Date: Wed, 07 Jan 2015 11:00:20 +0800 Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <1420478132569-4031600.post@n3.nabble.com> References: <1420478132569-4031600.post@n3.nabble.com> Message-ID: <54ACA144.3020409@tritytech.com> Hi, May I know what OS are you using, and also do you have other atoms modules installed? the error message seems to tell that the standard "edit" does not accept any input argument, which is weird unless you have another function which override it. Thanks. Regards, Chin Luh On 06-Jan-15 1:15 AM, Neelkant wrote: > Hello, > Thanks for replying ! > > Here are the steps i followed : > > 1. typed guibuilder on the scilab5.5.1 console > 2. two graphical windows opened up. I selected the push button on graphical > window 0 and drew a rectangle in graphical window1 . > 3. i changed the tag name and string in the object properties > 4. then i selected Generate -> generate GUi code -> saved the file with a > name. > 5. a window appeared " GUI code generated " but the code doesnt appear. The > above mentioned error appears on the console. I am not able to save the GUI > and generate the code. > > Further, i have installed these modules : apifun, gui builder,gui > maker,scipad... have I missed out on any other important module ? > > Thanks and Regards > Neel > > > > -- > View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579p4031600.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From neel.nitt at gmail.com Wed Jan 7 10:03:31 2015 From: neel.nitt at gmail.com (Neelkant) Date: Wed, 7 Jan 2015 02:03:31 -0700 (MST) Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <54ACA144.3020409@tritytech.com> References: <1420478132569-4031600.post@n3.nabble.com> <54ACA144.3020409@tritytech.com> Message-ID: <1420621411711-4031609.post@n3.nabble.com> Hello, I am using Windows 8.1 64 bit OS . I have installed the following modules in ATOMS GUI Builder 3.0-1 guimaker 1.9-1 Apifun 0.4.1-1 Scipad 7.20.1 7.2.1-1 Have I missed out on any other module required for making GUIs? Thanks ! -- View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579p4031609.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From chinluh at tritytech.com Wed Jan 7 10:08:15 2015 From: chinluh at tritytech.com (Tan Chin Luh) Date: Wed, 07 Jan 2015 17:08:15 +0800 Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <1420621411711-4031609.post@n3.nabble.com> References: <1420478132569-4031600.post@n3.nabble.com> <54ACA144.3020409@tritytech.com> <1420621411711-4031609.post@n3.nabble.com> Message-ID: <54ACF77F.60704@tritytech.com> Hi, Scipad might have override the "Edit" function, try to unload/remove it and the guibuilder should be able to run properly. Thanks. Regards, Chin Luh On 07-Jan-15 5:03 PM, Neelkant wrote: > Hello, > > I am using Windows 8.1 64 bit OS . I have installed the following modules in > ATOMS > > GUI Builder 3.0-1 > guimaker 1.9-1 > Apifun 0.4.1-1 > Scipad 7.20.1 7.2.1-1 > > Have I missed out on any other module required for making GUIs? > > Thanks ! > > > > -- > View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579p4031609.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From chinluh at tritytech.com Wed Jan 7 03:12:42 2015 From: chinluh at tritytech.com (Tan Chin Luh) Date: Wed, 07 Jan 2015 10:12:42 +0800 Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <1420478132569-4031600.post@n3.nabble.com> References: <1420478132569-4031600.post@n3.nabble.com> Message-ID: <54AC961A.8080008@tritytech.com> Hi, May I know what OS are you using, and also do you have other atoms modules installed? the error message seems to tell that the standard "edit" does not accept any input argument, which is weird unless you have another function which override it. Thanks. Regards, Chin Luh On 06-Jan-15 1:15 AM, Neelkant wrote: > Hello, > Thanks for replying ! > > Here are the steps i followed : > > 1. typed guibuilder on the scilab5.5.1 console > 2. two graphical windows opened up. I selected the push button on graphical > window 0 and drew a rectangle in graphical window1 . > 3. i changed the tag name and string in the object properties > 4. then i selected Generate -> generate GUi code -> saved the file with a > name. > 5. a window appeared " GUI code generated " but the code doesnt appear. The > above mentioned error appears on the console. I am not able to save the GUI > and generate the code. > > Further, i have installed these modules : apifun, gui builder,gui > maker,scipad... have I missed out on any other important module ? > > Thanks and Regards > Neel > > > > -- > View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579p4031600.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From fvogelnew1 at free.fr Wed Jan 7 21:33:05 2015 From: fvogelnew1 at free.fr (=?utf-8?Q?Fran=C3=A7ois?= Vogel) Date: Wed, 7 Jan 2015 21:33:05 +0100 (CET) Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <54ACF77F.60704@tritytech.com> Message-ID: <227129630.328299497.1420662785211.JavaMail.root@zimbra8-e1.priv.proxad.net> > Scipad might have override the "Edit" function, try to unload/remove it > and the guibuilder should be able to run properly. Scipad does not override the "edit" function, not even in the very old version the OP is using. If you definitely find that Scipad is the culprit, please open a ticket here: http://sourceforge.net/projects/scipad/ Regards, Francois From neel.nitt at gmail.com Wed Jan 7 22:59:18 2015 From: neel.nitt at gmail.com (Neelkant) Date: Wed, 7 Jan 2015 14:59:18 -0700 (MST) Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <227129630.328299497.1420662785211.JavaMail.root@zimbra8-e1.priv.proxad.net> References: <1420478132569-4031600.post@n3.nabble.com> <54ACA144.3020409@tritytech.com> <1420621411711-4031609.post@n3.nabble.com> <54ACF77F.60704@tritytech.com> <227129630.328299497.1420662785211.JavaMail.root@zimbra8-e1.priv.proxad.net> Message-ID: <1420667958272-4031613.post@n3.nabble.com> I am *able to generate* the GUI code after uninstalling the SCIPAD module in the ATOMS ! -- View this message in context: http://mailinglists.scilab.org/unable-to-generate-GUI-code-tp4031579p4031613.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From uladzislau.trubkin at scilab-enterprises.com Thu Jan 8 10:08:31 2015 From: uladzislau.trubkin at scilab-enterprises.com (Vladislav TRUBKIN) Date: Thu, 08 Jan 2015 10:08:31 +0100 Subject: [Scilab-users] scilab with FMI (functional mock-up interface) In-Reply-To: <1420567220478-4031605.post@n3.nabble.com> References: <1420567220478-4031605.post@n3.nabble.com> Message-ID: <54AE490F.4060207@scilab-enterprises.com> Hello, Yes, there is an example of FMUs export. You have to visit help pages of the toolbox. So, you need to write in the console of Scilab : /help fmu/ I hope this may help you. Best regards, Vladislav Le 06/01/2015 19:00, Akhechar a ?crit : > Hello, > > I want to export FMU model from my scilab model,, > here http://forge.scilab.org/index.php/p/fmu-wrapper/page/Description/ > > they said that we can do it but how, which functions we can use,, ? > > there is some example to help me please ? > Thanks > > > > -- > View this message in context: http://mailinglists.scilab.org/scilab-with-FMI-functional-mock-up-interface-tp4031605.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From ameni.khecharem at gmail.com Thu Jan 8 10:35:15 2015 From: ameni.khecharem at gmail.com (Akhechar) Date: Thu, 8 Jan 2015 02:35:15 -0700 (MST) Subject: [Scilab-users] scilab with FMI (functional mock-up interface) In-Reply-To: <54AE490F.4060207@scilab-enterprises.com> References: <1420567220478-4031605.post@n3.nabble.com> <54AE490F.4060207@scilab-enterprises.com> Message-ID: <1420709715008-4031615.post@n3.nabble.com> Hello Vladislav, Thanks for your reactivity ! I wrote : help fmu and help fmi in the the console of Scilab, but scilab show me an empty help browser! have I forgot something to install? I use scilab-5.3.3 Thanks ! -- View this message in context: http://mailinglists.scilab.org/scilab-with-FMI-functional-mock-up-interface-tp4031605p4031615.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From uladzislau.trubkin at scilab-enterprises.com Thu Jan 8 10:55:55 2015 From: uladzislau.trubkin at scilab-enterprises.com (Vladislav TRUBKIN) Date: Thu, 08 Jan 2015 10:55:55 +0100 Subject: [Scilab-users] scilab with FMI (functional mock-up interface) In-Reply-To: <1420709715008-4031615.post@n3.nabble.com> References: <1420567220478-4031605.post@n3.nabble.com> <54AE490F.4060207@scilab-enterprises.com> <1420709715008-4031615.post@n3.nabble.com> Message-ID: <54AE542B.5060407@scilab-enterprises.com> Hello, fmu-wrapper is an external scilab module. First of all, you have to download (from the forge of Scilab) and install it. There is wiki page that will help you to understand this process. I hope this may help you. Best regards, Vladislav Le 08/01/2015 10:35, Akhechar a ?crit : > Hello Vladislav, > Thanks for your reactivity ! > > I wrote : help fmu and help fmi in the the console of Scilab, but scilab > show me an empty help browser! > > have I forgot something to install? > > I use scilab-5.3.3 > > Thanks ! > > > > -- > View this message in context: http://mailinglists.scilab.org/scilab-with-FMI-functional-mock-up-interface-tp4031605p4031615.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From chinluh at tritytech.com Thu Jan 8 14:10:07 2015 From: chinluh at tritytech.com (Tan Chin Luh) Date: Thu, 08 Jan 2015 21:10:07 +0800 Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <227129630.328299497.1420662785211.JavaMail.root@zimbra8-e1.priv.proxad.net> References: <227129630.328299497.1420662785211.JavaMail.root@zimbra8-e1.priv.proxad.net> Message-ID: <54AE81AF.1060508@tritytech.com> my sincere apologies for jumping into conclusion without looking into details. the actual issue is the "Edit" calling another function called "editor", which is happen to be same name with the one used by scipad. -->whereis editor ans = !scipadlib ! ! ! !scinoteslib ! If you need scipad, you could disable the autoload at startup using "atomsAutoloadDel", and load it when needed. I will report this issue with the provided link. Regards, Chin Luh On 08-Jan-15 4:33 AM, Fran?ois Vogel wrote: >> Scipad might have override the "Edit" function, try to unload/remove it >> and the guibuilder should be able to run properly. > Scipad does not override the "edit" function, not even in the very old version the OP is using. > If you definitely find that Scipad is the culprit, please open a ticket here: > > http://sourceforge.net/projects/scipad/ > > Regards, > Francois > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From ameni.khecharem at gmail.com Thu Jan 8 14:22:10 2015 From: ameni.khecharem at gmail.com (Akhechar) Date: Thu, 8 Jan 2015 06:22:10 -0700 (MST) Subject: [Scilab-users] scilab with FMI (functional mock-up interface) In-Reply-To: <54AE542B.5060407@scilab-enterprises.com> References: <1420567220478-4031605.post@n3.nabble.com> <54AE490F.4060207@scilab-enterprises.com> <1420709715008-4031615.post@n3.nabble.com> <54AE542B.5060407@scilab-enterprises.com> Message-ID: <1420723330727-4031618.post@n3.nabble.com> I followed the link you had given me, 1. I downloaded the fmu-wrapper module 2. I execute the builder.sce (that generate the loader.sce) 3. I execute the loader.sce, It showed this message: *Start FMU wrapper Load macros Load palette - FMI interfaces Load simulations functions Load gateways !--error 999 copyfile: Wrong value for input argument #1: A valid filename or directory expected. at line 73 of function startModule called by : xcos_fmulib = startModule(); at line 100 of exec file called by : +"etc/"+"fmu_wrapper.start") at line 10 of exec file called by : ileToExec); disp(msprintf(gettext("Executio while executing a callback* what's wrong please? Thanks again: -- View this message in context: http://mailinglists.scilab.org/scilab-with-FMI-functional-mock-up-interface-tp4031605p4031618.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From ameni.khecharem at gmail.com Thu Jan 8 14:47:22 2015 From: ameni.khecharem at gmail.com (Akhechar) Date: Thu, 8 Jan 2015 06:47:22 -0700 (MST) Subject: [Scilab-users] scilab with FMI (functional mock-up interface) In-Reply-To: <1420723330727-4031618.post@n3.nabble.com> References: <1420567220478-4031605.post@n3.nabble.com> <54AE490F.4060207@scilab-enterprises.com> <1420709715008-4031615.post@n3.nabble.com> <54AE542B.5060407@scilab-enterprises.com> <1420723330727-4031618.post@n3.nabble.com> Message-ID: <1420724842073-4031619.post@n3.nabble.com> what a shame! Just I have to lauch scilab from my FMU repository ! Thanks !!!!! -- View this message in context: http://mailinglists.scilab.org/scilab-with-FMI-functional-mock-up-interface-tp4031605p4031619.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From chinluh at tritytech.com Thu Jan 8 14:57:09 2015 From: chinluh at tritytech.com (Tan Chin Luh) Date: Thu, 08 Jan 2015 21:57:09 +0800 Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <54AE81AF.1060508@tritytech.com> References: <227129630.328299497.1420662785211.JavaMail.root@zimbra8-e1.priv.proxad.net> <54AE81AF.1060508@tritytech.com> Message-ID: <54AE8CB5.9050403@tritytech.com> after second thought, the scipad user might just want to use scipad instead of scinotes as editor. in this case, a quick fixed would be declare the following lines in the console: MSDOS = 1; // if you have not done so and scipad does not run. this is required in scilab 5.5 as you need to use getos function instead of MSDOS. edit = scipad; if this works, consider loading this at scilab startup so it won't be cleared with user command. One more possible solution is to change the guibuilder function "gencode_callback" line 16 "edit(fn2);" to "scipad(fn2)" and recompile it. hope these suggestions help. regards, Chin Luh On 08-Jan-15 9:10 PM, Tan Chin Luh wrote: > my sincere apologies for jumping into conclusion without looking into > details. > > the actual issue is the "Edit" calling another function called > "editor", which is happen to be same name with the one used by scipad. > > -->whereis editor > ans = > > !scipadlib ! > ! ! > !scinoteslib ! > > If you need scipad, you could disable the autoload at startup using > "atomsAutoloadDel", and load it when needed. > > I will report this issue with the provided link. > > Regards, > Chin Luh > > On 08-Jan-15 4:33 AM, Fran?ois Vogel wrote: >>> Scipad might have override the "Edit" function, try to unload/remove it >>> and the guibuilder should be able to run properly. >> Scipad does not override the "edit" function, not even in the very >> old version the OP is using. >> If you definitely find that Scipad is the culprit, please open a >> ticket here: >> >> http://sourceforge.net/projects/scipad/ >> >> Regards, >> Francois >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From chinluh at tritytech.com Thu Jan 8 15:10:57 2015 From: chinluh at tritytech.com (Tan Chin Luh) Date: Thu, 08 Jan 2015 22:10:57 +0800 Subject: [Scilab-users] unable to generate GUI code In-Reply-To: <54AE8CB5.9050403@tritytech.com> References: <227129630.328299497.1420662785211.JavaMail.root@zimbra8-e1.priv.proxad.net> <54AE81AF.1060508@tritytech.com> <54AE8CB5.9050403@tritytech.com> Message-ID: <54AE8FF1.8040400@tritytech.com> my fault again, the problem only exist if you are using the scipad from atoms portal, using the link provided by Francois, this problem would never exist. :) learn something today, thanks. rgds, Chin Luh On 08-Jan-15 9:57 PM, Tan Chin Luh wrote: > after second thought, the scipad user might just want to use scipad > instead of scinotes as editor. > > in this case, a quick fixed would be declare the following lines in > the console: > > MSDOS = 1; // if you have not done so and scipad does not run. this is > required in scilab 5.5 as you need to use getos function instead of > MSDOS. > edit = scipad; > > if this works, consider loading this at scilab startup so it won't be > cleared with user command. > > One more possible solution is to change the guibuilder function > "gencode_callback" line 16 "edit(fn2);" to "scipad(fn2)" and recompile > it. > > hope these suggestions help. > > regards, > Chin Luh > > > > > On 08-Jan-15 9:10 PM, Tan Chin Luh wrote: >> my sincere apologies for jumping into conclusion without looking into >> details. >> >> the actual issue is the "Edit" calling another function called >> "editor", which is happen to be same name with the one used by scipad. >> >> -->whereis editor >> ans = >> >> !scipadlib ! >> ! ! >> !scinoteslib ! >> >> If you need scipad, you could disable the autoload at startup using >> "atomsAutoloadDel", and load it when needed. >> >> I will report this issue with the provided link. >> >> Regards, >> Chin Luh >> >> On 08-Jan-15 4:33 AM, Fran?ois Vogel wrote: >>>> Scipad might have override the "Edit" function, try to >>>> unload/remove it >>>> and the guibuilder should be able to run properly. >>> Scipad does not override the "edit" function, not even in the very >>> old version the OP is using. >>> If you definitely find that Scipad is the culprit, please open a >>> ticket here: >>> >>> http://sourceforge.net/projects/scipad/ >>> >>> Regards, >>> Francois >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From antoine.monmayrant at laas.fr Fri Jan 9 12:36:16 2015 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 09 Jan 2015 12:36:16 +0100 Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <1420584241.2081.104.camel@servo> References: <1420580754695-4031606.post@n3.nabble.com> <1420584241.2081.104.camel@servo> Message-ID: <54AFBD30.7050404@laas.fr> On 01/06/2015 11:44 PM, Tim Wescott wrote: > Hey Patrick: > > What you want to do is uninstall Scilab from Ubuntu, and hand install > it. > > This can be very easy, if you don't mind not having a shortcut in your > start menu. I use Lubuntu, so the following directions should work for > you, more or less (with the caviat that I'm no sysop). > > * Download the tar Hmm, the UDOO is an Arm platform. I don't think there is a precompiled tar of scilab for this kind of CPU. Did anyone try to compile scilab from source on an Arm machine? Antoine > > * Unpack it into your home directory someplace (I'd make a temporary > directory, in the event of screwups: as I said, I'm a user, not a > sysop). > > If you don't want to make it available to all users, stop -- just run > scilab from the command line with /scilab-5.5.1/bin/scilab. > > Otherwise: > > * Change ownership to root: > > sudo chown root:root --recursive scilab-5.5.1 > > * Move it someplace sensible > > sudo mv scilab-5.5.1 /usr/local/share > > * Put a script file somewhere in your path to invoke it from the command > line. I put 'scilab' in /usr/local/bin; it reads: > > #!/bin/bash > > /usr/local/share/scilab-5.5.1/bin/scilab $* > > * You'll need to make the script file so that it's owned by root, and > you'll need to make the script file executable. You can do this by: > > ** Go to the right directory and invoke leafpad as root: > > cd /usr/local/bin > sudo leafpad scilab > > ** then copy the script I gave into the file, save and exit, and then > mark it as executable: > > sudo chmod +x scilab > > At this point, you should be able to type 'scilab' at the command line, > and have Scilab come up. > > On Tue, 2015-01-06 at 14:45 -0700, pkk wrote: >> HI there, >> >> I've installed scilab on an udoo developting platform running lubuntu 12.04 >> using: >> >> sudo apt-get install scilab >> >> which installs version 5.3.3. >> >> How can I upgrade scilab to the latest stable version 5.5.1 or alternatively >> reinstall latest version. >> >> Any help is very much welcome. >> >> Thanks. >> >> >> >> -- >> View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606.html >> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> From tim at wescottdesign.com Fri Jan 9 19:00:43 2015 From: tim at wescottdesign.com (Tim Wescott) Date: Fri, 09 Jan 2015 10:00:43 -0800 Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <54AFBD30.7050404@laas.fr> References: <1420580754695-4031606.post@n3.nabble.com> <1420584241.2081.104.camel@servo> <54AFBD30.7050404@laas.fr> Message-ID: <1420826443.2190.42.camel@servo> On Fri, 2015-01-09 at 12:36 +0100, Antoine Monmayrant wrote: > On 01/06/2015 11:44 PM, Tim Wescott wrote: > > Hey Patrick: > > > > What you want to do is uninstall Scilab from Ubuntu, and hand install > > it. > > > > This can be very easy, if you don't mind not having a shortcut in your > > start menu. I use Lubuntu, so the following directions should work for > > you, more or less (with the caviat that I'm no sysop). > > > > * Download the tar > > Hmm, the UDOO is an Arm platform. > I don't think there is a precompiled tar of scilab for this kind of CPU. > Did anyone try to compile scilab from source on an Arm machine? > Whoops -- I missed that detail. Sorry for passing inaccurate information. -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 From patrickkohl at gmx.de Sat Jan 10 01:02:38 2015 From: patrickkohl at gmx.de (pkk) Date: Fri, 9 Jan 2015 17:02:38 -0700 (MST) Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <1420580754695-4031606.post@n3.nabble.com> References: <1420580754695-4031606.post@n3.nabble.com> Message-ID: <1420848158112-4031625.post@n3.nabble.com> HI there - thx for your replies. so I've tried to compile Scilab from the source file aswell as the prerequirements. To deal with the dependancies, after using sudo apt-get update I tried sudo apt-get build-dep scilab. So far so good , then installed gfortran, java jdk 1.8 (as described in Udoo FAQ). Then added the line deb-src http://ports.ubuntu.com/ precise main restricted universe multiverse in /etc/apt/sources.list sudo apt-get update again now ./configure wants to see jogl installed. Any ideas here - can't get it to work. as you can see I'm a complete novice in linux&udoo. Thanks. -- View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606p4031625.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From neel.nitt at gmail.com Sun Jan 11 20:21:36 2015 From: neel.nitt at gmail.com (Neelkant) Date: Sun, 11 Jan 2015 12:21:36 -0700 (MST) Subject: [Scilab-users] Linking xcos and scilab GUI variables Message-ID: <1421004096509-4031626.post@n3.nabble.com> Hello, I have a GUI with an editbox and a push button and a xcos file with a basic transfer function( say K/(s+1). I want the number typed in the editbox during runtime to be stored in a variable 'K' which is used in a transfer function block in xcos. I call this xcos file from the GUI code. I dont know how to save a variable from a scinotes file(GUI code) to the base workspace of scilab ( Only then can it be used in the xcos file i guess ..) . in matlab, I can save variables into base workspace using assignin() . How can i do it in scilab ? Or is there any other method to transfer variables between scilab GUi and xcos ? Thanks in advance ! Regards Neel -- View this message in context: http://mailinglists.scilab.org/Linking-xcos-and-scilab-GUI-variables-tp4031626.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From clement.david at scilab-enterprises.com Mon Jan 12 12:16:20 2015 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Mon, 12 Jan 2015 12:16:20 +0100 Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <1420848158112-4031625.post@n3.nabble.com> References: <1420580754695-4031606.post@n3.nabble.com> <1420848158112-4031625.post@n3.nabble.com> Message-ID: <1421061380.8236.6.camel@scilab-enterprises.com> Hello, Great try ! It might be good to have a running Scilab on a desktop-class ARM board. Debian Jessie seems to ship a runnable Scilab for the ARM platform : https://packages.debian.org/jessie/scilab-full-bin Are you able to install Jessie packages on Ubuntu ? -- Cl?ment Le vendredi 09 janvier 2015 ? 17:02 -0700, pkk a ?crit : > HI there - thx for your replies. > > so I've tried to compile Scilab from the source file aswell as the > prerequirements. > To deal with the dependancies, after using sudo apt-get update I tried sudo > apt-get build-dep scilab. > > So far so good , then installed gfortran, java jdk 1.8 (as described in Udoo > FAQ). > > Then added the line deb-src http://ports.ubuntu.com/ precise main restricted > universe multiverse > in /etc/apt/sources.list > > sudo apt-get update again > > now ./configure wants to see jogl installed. > > Any ideas here - can't get it to work. > > as you can see I'm a complete novice in linux&udoo. > > Thanks. > > > > > > -- > View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606p4031625.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From communication at scilab-enterprises.com Wed Jan 14 10:10:45 2015 From: communication at scilab-enterprises.com (Scilab Communications) Date: Wed, 14 Jan 2015 10:10:45 +0100 Subject: [Scilab-users] Last days to submit your paper for ScilabTEC 2015 Message-ID: <54B63295.6060200@scilab-enterprises.com> Dear Scilab users, ScilabTEC 2015, International Scilab Users Conference, will be held in Paris, France, on 21-22 May, 2015. You still have until friday (January 16) to submit an abstract of 400 words on subject relevant to the objectives of the conference that is to say the use of Scilab or Xcos in the main scientific domains using numerical computation. Abstracts should be submitted electronically at scilabtec at scilab-enterprises.com. For more information, please visit the conference website http://scilabtec.com/ Best Regards -- Communication Department, Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles (France) http://www.scilab-enterprises.com - http://www.scilab.org From kcummings at noao.edu Wed Jan 14 17:55:49 2015 From: kcummings at noao.edu (Keith Cummings) Date: Wed, 14 Jan 2015 09:55:49 -0700 Subject: [Scilab-users] Java base example can't find symbol from the libstdc++ library Message-ID: <54B69F95.2020904@noao.edu> Following the instructions found here (https://help.scilab.org/docs/5.5.1/en_US/compile_and_run_javasci_v2.html) doesn't work on my Linux Mint 17 machine. Here are the commands I ran: These three commands work as expected: export SCI=/opt/scilab/scilab-5.5.1/share/scilab/ javac -cp $SCI/modules/javasci/jar/org.scilab.modules.javasci.jar:$SCI/modules/types/jar/org.scilab.modules.types.jar:. BasicExample.java export LD_LIBRARY_PATH=/opt/scilab/scilab-5.5.1/lib/scilab/:/opt/scilab/scilab-5.5.1/lib/thirdparty/ This one fails with the following error message: java -cp $SCI/modules/javasci/jar/org.scilab.modules.javasci.jar:$SCI/modules/types/jar/org.scilab.modules.types.jar:. BasicExample The native library javasci does not exist or cannot be found. java.lang.UnsatisfiedLinkError: /opt/scilab/scilab-5.5.1/lib/scilab/libjavasci2.so.5.5.1: /opt/scilab/scilab-5.5.1/lib/scilab/libsciexternal_objects.so.5: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1847) at java.lang.Runtime.loadLibrary0(Runtime.java:870) at java.lang.System.loadLibrary(System.java:1119) at org.scilab.modules.javasci.Call_ScilabJNI.(Unknown Source) at org.scilab.modules.javasci.Call_Scilab.SetFromJavaToON(Unknown Source) at org.scilab.modules.javasci.Scilab.initScilab(Unknown Source) at org.scilab.modules.javasci.Scilab.(Unknown Source) at org.scilab.modules.javasci.Scilab.(Unknown Source) at BasicExample.main(BasicExample.java:9) Exception in thread "main" java.lang.UnsatisfiedLinkError: org.scilab.modules.javasci.Call_ScilabJNI.SetFromJavaToON()V at org.scilab.modules.javasci.Call_ScilabJNI.SetFromJavaToON(Native Method) at org.scilab.modules.javasci.Call_Scilab.SetFromJavaToON(Unknown Source) at org.scilab.modules.javasci.Scilab.initScilab(Unknown Source) at org.scilab.modules.javasci.Scilab.(Unknown Source) at org.scilab.modules.javasci.Scilab.(Unknown Source) at BasicExample.main(BasicExample.java:9) The symbol _ZTVN10__cxxabiv120__si_class_type_infoE is defined in libstdc++, so I'm not sure why it is not being found there. -- Keith Cummings Software Engineer From patrickkohl at gmx.de Fri Jan 16 10:54:23 2015 From: patrickkohl at gmx.de (pkk) Date: Fri, 16 Jan 2015 02:54:23 -0700 (MST) Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <1421061380.8236.6.camel@scilab-enterprises.com> References: <1420580754695-4031606.post@n3.nabble.com> <1420848158112-4031625.post@n3.nabble.com> <1421061380.8236.6.camel@scilab-enterprises.com> Message-ID: <1421402063791-4031640.post@n3.nabble.com> hi, when I add deb http://ftp.de.debian.org/debian jessie main to /etc/apt/sources.list, then sudo apt-get update the udoo packs up and I need reinstall the OS... When trying to install scilab from source, using apt-get build-dep scilab for the dependancies gives not error. Trying ./configure it hangs on the following error: libjogl: LIbrary missing (cannot find symbol gLTextParameterf). Check if libjogl - C/Java (JNI) interface for JOGL2 - or libGL (OpenGl library) are installed and if the version is correct. Note you may have to update etc/librarypath.xml to provide path to JNI librarier. How can I install JOGL2 or libGL and update the librarypath.xml correctly? THANK YOU! -- View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606p4031640.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From tim at wescottdesign.com Fri Jan 16 20:45:29 2015 From: tim at wescottdesign.com (Tim Wescott) Date: Fri, 16 Jan 2015 11:45:29 -0800 Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <1421402063791-4031640.post@n3.nabble.com> References: <1420580754695-4031606.post@n3.nabble.com> <1420848158112-4031625.post@n3.nabble.com> <1421061380.8236.6.camel@scilab-enterprises.com> <1421402063791-4031640.post@n3.nabble.com> Message-ID: <1421437529.2539.33.camel@servo> Does Udoo have a graphical user's interface? Does it have Synaptic Package Manager? If so, search on JOGL (you probably need the source) and install it. If not, then go on a web-walk and figure out how to do the same thing using Aptitude. You'll need to search for the right package the install it using sudo apt-get install . Synaptic is just a convenient graphics interface to apt-this and apt-that (It's for dummies like me). Anything you can do from Synaptic you can do from the command line -- probably better. You may also want to see if there appears to be a package (pseudo-package?) that has all the dependencies needed to build Scilab for Debian. There ought to be one, but that doesn't mean that someone turned the "ought to be" into an "is". On Fri, 2015-01-16 at 02:54 -0700, pkk wrote: > hi, > > when I add deb http://ftp.de.debian.org/debian jessie main > to /etc/apt/sources.list, then sudo apt-get update > the udoo packs up and I need reinstall the OS... > > When trying to install scilab from source, using > apt-get build-dep scilab > for the dependancies gives not error. > > Trying ./configure it hangs on the following error: libjogl: LIbrary missing > (cannot find symbol gLTextParameterf). Check if libjogl - C/Java (JNI) > interface for JOGL2 - or libGL (OpenGl library) are installed and if the > version is correct. Note you may have to update etc/librarypath.xml to > provide path to JNI librarier. > > How can I install JOGL2 or libGL and update the librarypath.xml correctly? > > THANK YOU! > > > > > > -- > View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606p4031640.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 From patrickkohl at gmx.de Sun Jan 18 16:01:32 2015 From: patrickkohl at gmx.de (pkk) Date: Sun, 18 Jan 2015 08:01:32 -0700 (MST) Subject: [Scilab-users] installing latest scilab (5.5.1) version on udoo In-Reply-To: <1421437529.2539.33.camel@servo> References: <1420580754695-4031606.post@n3.nabble.com> <1420848158112-4031625.post@n3.nabble.com> <1421061380.8236.6.camel@scilab-enterprises.com> <1421402063791-4031640.post@n3.nabble.com> <1421437529.2539.33.camel@servo> Message-ID: <1421593292309-4031643.post@n3.nabble.com> I've tried the synaptic package manager before I find libjogl2-java and try to install it: error: could not apply changes . fix broken packages first. Edit->Fix broken packages and it reads: unable to correct problem you have held broken packages. unable to correct dependencies:Error , pkgProblemResolver: Resolve generated breaks, this may be cause by held packages. Then tried: apt-get install -f apt-get clean apt-get auto clean apt-get update apt-get upgrade apt-get dist-upgrade Reads: 0 upgraded, newly installed, remove and not upgraded Then: sudo apt-get install libjogl2-java error: Some packages could not be installed.... The following packages have umnet dependencies: libjogl2-java: depends libjogl2-jni but is not installable E: unable to correct problems, you have held broken packages sudo aptitude install libjogl2-java -> same error -- View this message in context: http://mailinglists.scilab.org/installing-latest-scilab-5-5-1-version-on-udoo-tp4031606p4031643.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From fvogelnew1 at free.fr Sun Jan 18 18:49:15 2015 From: fvogelnew1 at free.fr (Francois Vogel) Date: Sun, 18 Jan 2015 18:49:15 +0100 Subject: [Scilab-users] [ANN] Scipad-8.73 Message-ID: <54BBF21B.2030302@free.fr> ANNOUNCE: Scipad version 8.73 ============================= A new version of the Scipad text editor for Scilab and Scicoslab is available. CHANGES SINCE PREVIOUS VERSION ============================== NEW FEATURES: * Save and restore layouts (arrangement, position and size of the tiles in the Scipad window) * Join selected lines * Reformat selected lines (arrange text as lines with fixed line width), with possibility of inserting leading and trailing strings - A preview window shows what will be obtained IMPROVED: * Find/Replace: . Made replace support n'th parenthesized subexpression substitution . Added display of the number of matches found during incremental search . Incremental find dialog uses the selection (if any) as preset search term . Made mouse wheel (scrolling) work when the incremental search toolbar or the find/replace dialog is open . Fixed bug when searching for strings containing Tcl special characters such as [ . Fixed bug when trying typing text in the results window of search in files . Fixed size of the results window of find in files . Fixed incorrect buffer switching when opening a find in files match result . Find in files remembers the file glob pattern to search and the initial directory across Scipad sessions . Selected text in the results window of search in file can be copied * Miscellaneous: . Shift-Button-2 on a pane title switches to a buffer backwards in the list of hidden buffers . Better management of the message area at the bottom of the Scipad window FIXED BUGS: * Fixed short Scipad hang during startup on a fresh Scipad installation that never saw an Internet connection, and with "never" selected as frequency for checking for updates * Fixed bug when clicking on the empty item of the Goto line combobox for line in function * Fixed centering of Scipad child windows * Fixed greying of Execute menu items after switching schemes * Fixed missing clearing of the undo/redo stack for all peers when reverting a file to its saved version WHAT IS SCIPAD ? ================ Scipad is a powerful editor and graphical debugger for programs written in Scilab language. It is a mature and highly configurable programmer's editor, including features like syntax colorization, regexp search/replace, parentheses matching, logical/physical line numbering, peer windows, line and block text editing, and much more. Scipad can be used along with Scicoslab or Scilab, but even as a standalone text editor. Used as internal Sci(cos)lab editor, it interacts tightly with the interpreter, allowing: - Scilab code execution control - conditional breakpointing - variable retrieval and tooltip display - Scilab help lookup - access to source code of Scilab library function - control of Scilab facilities for Matlab code and creation of help documents - and much more Scipad also includes basic Modelica and XML syntax colorization; it is currently localized in 13 languages and further localizations can easily be added. Scipad is entirely written in Tcl/Tk and Scilab language. It has been tested and developed under various versions of Windows and Linux. WHERE CAN SCIPAD BE FOUND? ========================== Project page @ SourceForge.net: http://sourceforge.net/p/scipad/ Direct download: - for Scilab: http://sourceforge.net/projects/scipad/files/scipad-8.73/scipad-8.73-Scilab5.zip/download - for Scicoslab: http://sourceforge.net/projects/scipad/files/scipad-8.73/scipad-8.73-Scicoslab.zip/download Installation instructions: http://sourceforge.net/p/scipad/wiki/Installation/ Details regarding the tested platforms: http://sourceforge.net/p/scipad/wiki/Tested%20on/ LICENSE ======= Scipad is a free software distributed under the terms of the GPL (V2) license. From rathodprashnt at gmail.com Sat Jan 17 11:16:17 2015 From: rathodprashnt at gmail.com (rathodprashnt) Date: Sat, 17 Jan 2015 03:16:17 -0700 (MST) Subject: [Scilab-users] subplot problem Message-ID: <1421489777443-4031642.post@n3.nabble.com> Hy i am new to scilab and i am trying to run new with subplot command using (221) to (224) format but some how out of 4 subplot only last one is visible. here is my script _____________________ t=0:0.01:10; x=cos(2*%pi*t); theta=0 for k=1:4 y=cos(2*%pi*k*t); if k==1 then subplot(221) elseif k==2 then subplot(222) elseif k==3 then subplot(223) elseif k==4 then subplot(224) end end plot(x,y); _________________________________ i have also attached image of graph. thank you -- View this message in context: http://mailinglists.scilab.org/subplot-problem-tp4031642.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From pdiazs at ono.com Sun Jan 18 19:51:26 2015 From: pdiazs at ono.com (pdiazs) Date: Sun, 18 Jan 2015 11:51:26 -0700 (MST) Subject: [Scilab-users] ATOMS module In-Reply-To: <1355849867149-4025531.post@n3.nabble.com> References: <1355849867149-4025531.post@n3.nabble.com> Message-ID: <1421607086490-4031645.post@n3.nabble.com> Hi I have installed scilab 5.5.1 in windows 8.1 64 bits When I launch atoms gui I get "atoms not available check your internet connection" I have followed all the suggestions made in posts: 1 reinstall in root c:/ 2 modify extractAtoms.sci and then succesfully run buildmacros.bat as administrator and relaunch 3 download provided extractAtoms.sci and compile but all result unsuccesful The issue does not exist in windows 7 i get these results atomsGetConfig ans = useProxy: "False" offline: "False" downloadTool: "httpdownload" atomsRepositoryList() ans = !http://atoms.scilab.org/5.5 official ! ! ! !http://atoms.scilab.org/ user ! ! ! !http://atoms.scilab.org/categories/modeling_and_control_tools user ! ! ! !http://scene1.test.atoms.scilab.org user ! atomsSystemUpdate() gzip: D:\Datos de Usuarios\Usuario\AppData\Local\Temp\SCI_TMP_7472_\.atoms\1_TOOL BOXES already exists; not overwritten !--error 10000 atomsDESCRIPTIONget: Fall? la extracci?n del archivo de DESCRIPCI?N ('D:\Datos de Usuarios\Usuario\AppData\Local\Temp\SCI_TMP_7472_\.atoms\1_TOOLBOXES.gz'). at line 182 of function atomsDESCRIPTIONget called by : at line 16 of function atomsSystemUpdate called by : atomsSystemUpdate() Any suggestion will be highly appreciate Thanks Pedro Diaz -- View this message in context: http://mailinglists.scilab.org/ATOMS-module-tp4025531p4031645.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From n.strelkov at gmail.com Mon Jan 19 10:22:45 2015 From: n.strelkov at gmail.com (Nikolay Strelkov) Date: Mon, 19 Jan 2015 13:22:45 +0400 Subject: [Scilab-users] subplot problem In-Reply-To: <1421489777443-4031642.post@n3.nabble.com> References: <1421489777443-4031642.post@n3.nabble.com> Message-ID: Hello, rathodprashnt ! You need to move plot(x,y) to the end of for loop. t=0:0.01:10; x=cos(2*%pi*t); theta=0 for k=1:4 y=cos(2*%pi*k*t); if k==1 then subplot(221) elseif k==2 then subplot(222) elseif k==3 then subplot(223) elseif k==4 then subplot(224) end * plot(x,y);* end [image: ?????????? ??????????? 1] I recommend you to read/watch some tutorials on Scilab ( http://www.openeering.com/scilab_tutorials or http://www.scilab.in/spoken-tutorial ). With best regards, maintainer of Mathieu functions toolbox for Scilab , IEEE member, Ph.D., Nikolay Strelkov. 2015-01-17 13:16 GMT+03:00 rathodprashnt : > Hy i am new to scilab and i am trying to run new with subplot command > using > (221) to (224) format but some how out of 4 subplot only last one is > visible. > > here is my script > _____________________ > > t=0:0.01:10; > x=cos(2*%pi*t); theta=0 > > for k=1:4 > y=cos(2*%pi*k*t); > if k==1 then subplot(221) > elseif k==2 then subplot(222) > elseif k==3 then subplot(223) > elseif k==4 then subplot(224) > end > end > plot(x,y); > _________________________________ > > > > i have also attached image of graph. > > > thank you > > > > > > > > > > > -- > View this message in context: > http://mailinglists.scilab.org/subplot-problem-tp4031642.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 4subplots.png Type: image/png Size: 26657 bytes Desc: not available URL: From Christophe.Dang at sidel.com Mon Jan 19 10:25:55 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 19 Jan 2015 09:25:55 +0000 Subject: [Scilab-users] subplot problem In-Reply-To: <1421489777443-4031642.post@n3.nabble.com> References: <1421489777443-4031642.post@n3.nabble.com> Message-ID: Hello, > De : rathodprashnt > Envoy? : samedi 17 janvier 2015 11:16 > > some how out of 4 subplot only last one is visible. > [...] > here is my script > > for k=1:4 > [...] > end > plot(x,y); If I understand well what you're trying to de, the plot() should be inside the for/end loop. A more convenient way would be to write: _____________________ t=0:0.01:10; x=cos(2*%pi*t); theta=0 for k=1:4 y=cos(2*%pi*k*t); subplot(2, 2, k) plot(x,y); end _____________________ Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From ameni.khecharem at gmail.com Mon Jan 19 16:54:25 2015 From: ameni.khecharem at gmail.com (Akhechar) Date: Mon, 19 Jan 2015 08:54:25 -0700 (MST) Subject: [Scilab-users] simulate fmu model provided : Error ! Message-ID: <1421682865749-4031649.post@n3.nabble.com> Hello, I followed the example provided in the Help of FMI ( Xcos FMU wrapper >> Xcos FMU wrapper > Export FMU from Xcos ) I succed to export it ! But when I tried to simulate the fmu exported I had this error : *************************** -->fmuABS = importFMU(pwd()+fullfile("\tests\unit_tests\modelABS.fmu")) fmuABS = modelABS FMU Model -->simulateABS = fmiSimulate(fmuABS) * !--error 999 fmu_call: Wrong type for input argument #1: FMU expected. at line 11 of function fmiGetVersion called by : at line 50 of function fmiSimulate called by : simulateABS = fmiSimulate(fmuABS)* *************************** what's wrong please? Thanks ! -- View this message in context: http://mailinglists.scilab.org/simulate-fmu-model-provided-Error-tp4031649.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rathodprashnt at gmail.com Tue Jan 20 07:22:36 2015 From: rathodprashnt at gmail.com (rathodprashnt) Date: Mon, 19 Jan 2015 23:22:36 -0700 (MST) Subject: [Scilab-users] subplot problem In-Reply-To: References: <1421489777443-4031642.post@n3.nabble.com> Message-ID: Respected Sir, Thank you very much for your kind support it solve my problem, i am very new to scilab, so i asked for help in this forum as per your suggestion i will follow the links for my improvement. once again thank you very much. > > -- With Regards Rathod Prashant K., General Department, Lukhdhirji Engineering College, Morbi. Mo.9601962904 -- View this message in context: http://mailinglists.scilab.org/subplot-problem-tp4031642p4031650.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From joodlink at hotmail.com Fri Jan 23 07:39:21 2015 From: joodlink at hotmail.com (Joo Cat) Date: Fri, 23 Jan 2015 14:39:21 +0800 Subject: [Scilab-users] Problem using jarray (Scilab 5.5.1) Message-ID: I was attempting to create a jagged array in Scilab to be sent to a Java instance. At first, I created a Double class array and had no problems: a = jarray("java.lang.Double",3,1) a(1) = [1 2 3] a(2) = [4 5] a(3) = 6 Next, I attempted to create a primitive double array instead: b = jarray("double",3,1) b(1) = [1 2 3] b(2) = [4 5] b(3) = 6 I had no problem with the first few lines. The problem occured at b(3) = 6 when I attempted to assign a single element value. I got this error: !--error 999 %s_i__EObj: An error occurred: Exception when calling Java method : Array [[D at dbe4e5 cannot contain object which is an instance of class java.lang.Double at org.scilab.modules.external_objects_java.ScilabJavaArray.set(Unknown Source) at org.scilab.modules.external_objects_java.ScilabJavaObject.insert(Unknown Source) Array [[D at dbe4e5 cannot contain object which is an instance of class java.lang.Double at org.scilab.modules.external_objects_java.ScilabJavaArray.set(Unknown Source) at org.scilab.modules.external_objects_java.ScilabJavaObject.insert(Unknown Source) It looks like it considers scalar values as Double type and not the primitive double. Is there a way to overcome this? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From calixte.denizet at scilab-enterprises.com Fri Jan 23 08:52:09 2015 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Fri, 23 Jan 2015 08:52:09 +0100 Subject: [Scilab-users] Problem using jarray (Scilab 5.5.1) In-Reply-To: References: Message-ID: <54C1FDA9.8060904@scilab-enterprises.com> On 23/01/2015 07:39, Joo Cat wrote: > I was attempting to create a jagged array in Scilab to be sent to a > Java instance. At first, I created a Double class array and had no > problems: > a = jarray("java.lang.Double",3,1) > a(1) = [1 2 3] > a(2) = [4 5] > a(3) = 6 > > Next, I attempted to create a primitive double array instead: > b = jarray("double",3,1) > b(1) = [1 2 3] > b(2) = [4 5] > b(3) = 6 > I had no problem with the first few lines. The problem occured at b(3) > = 6 when I attempted to assign a single element value. I got this error: > !--error 999 > %s_i__EObj: An error occurred: Exception when calling Java method : > Array [[D at dbe4e5 cannot contain object which is an instance of class > java.lang.Double > at > org.scilab.modules.external_objects_java.ScilabJavaArray.set(Unknown > Source) > at > org.scilab.modules.external_objects_java.ScilabJavaObject.insert(Unknown > Source) > Array [[D at dbe4e5 cannot contain object which is an instance of class > java.lang.Double > at > org.scilab.modules.external_objects_java.ScilabJavaArray.set(Unknown > Source) > at > org.scilab.modules.external_objects_java.ScilabJavaObject.insert(Unknown > Source) > > It looks like it considers scalar values as Double type and not the > primitive double. Is there a way to overcome this? Thanks! > Hi, It is a bug so please report it at bugzilla.scilab.org. A temporary workaround: c=jarray("double",1);c(1)=6; b = jarray("double",3,1) b(3)=c Best regards Calixte > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tarun_nanda at srmuniv.edu.in Thu Jan 22 13:45:52 2015 From: tarun_nanda at srmuniv.edu.in (1111110139 ktr.auto) Date: Thu, 22 Jan 2015 18:15:52 +0530 Subject: [Scilab-users] Error during Simulation Message-ID: Dear Sir, I Tarun Nandakumar am doing a project on simulation on an electric power steering using SCILAB. I have come across an error during simulation. I have attached a screenshot of the error. Therefore, I would like to know what the error means and how to correct it. I have also attached the reference model. Thanking You. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Error.jpg Type: image/jpeg Size: 450972 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Reference.jpg Type: image/jpeg Size: 53382 bytes Desc: not available URL: From paul.bignier at scilab-enterprises.com Fri Jan 23 10:34:21 2015 From: paul.bignier at scilab-enterprises.com (Paul Bignier) Date: Fri, 23 Jan 2015 10:34:21 +0100 Subject: [Scilab-users] Error during Simulation In-Reply-To: References: Message-ID: <54C2159D.4030303@scilab-enterprises.com> Hello Tarun, Could you please attach your diagram file instead of a screenshot of it? The error you are getting is the solver telling you that it could not converge. Indeed, there is a default limit of 500 steps for CVode. The fact that the solver did all of them (delta large enough between two steps) indicates that your system is either going back and forth or slowly converging. It must be one of your CLR blocks that return that error, since they are the only ones in your diagram with continuous states. Changing the solver (Simulation->Setup) or tuning the tolerances may help. Also, what version of Scilab are you using? Regards, Paul On 01/22/2015 01:45 PM, 1111110139 ktr.auto wrote: > Dear Sir, > I Tarun Nandakumar am doing a project on simulation on an electric > power steering using SCILAB. I have come across an error during > simulation. I have attached a screenshot of the error. Therefore, I > would like to know what the error means and how to correct it. I have > also attached the reference model. > > Thanking You. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Paul BIGNIER Development engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.69 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfuttrup at gmail.com Sat Jan 24 17:53:15 2015 From: cfuttrup at gmail.com (Claus Futtrup) Date: Sat, 24 Jan 2015 17:53:15 +0100 Subject: [Scilab-users] Bessel functions Message-ID: <54C3CDFB.2010302@gmail.com> Hi I've made a small script to play around with Bessel functions of the first kind... but this is very basic and I'm wondering if there's a smarter way. Below is the script I made (the function + a small test which plots the result). Best regards, Claus // bessel_test.sce function z=Jn(n,x) // The following power series approximates the nth Bessel // function of the first kind for each input x // In acoustics x = 2ka, defines the iput frequency k = omega / c and size // of the piston radiator powerseries = 0; for m=0:19 // actually it should be infinity, but 10 approximates OK ... powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); powerseries = powerseries + powerseries_m; // sum the powerseries end z = ((x/2)^n) .* powerseries; endfunction x_array = 0:0.1:9.9; // define 100 points on the x-axis // with 2ka (x) from 0 to 10, and with m = 0-19, // this approximation is reasonably good for 2ka< 10 z_0_array = Jn(0,x_array); // Calculate J0 z_1_array = Jn(1,x_array); // Calculate J1 scf(); a = gca(); plot(x_array,z_0_array,'-b'); plot(x_array,z_1_array,'-r'); xtitle("Bessel functions","x (2ka)","output (z)"); legend("J0","J1"); -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.strelkov at gmail.com Sat Jan 24 18:01:48 2015 From: n.strelkov at gmail.com (Nikolay Strelkov) Date: Sat, 24 Jan 2015 21:01:48 +0400 Subject: [Scilab-users] Bessel functions In-Reply-To: <54C3CDFB.2010302@gmail.com> References: <54C3CDFB.2010302@gmail.com> Message-ID: Dear Claus! For me it seems that using standard functions is always better, than writing them from scratch. So I recommend to use built-in Scilab functions besseli, besselj, besselk, bessely, besselh . With best regards, maintainer of Mathieu functions toolbox for Scilab , IEEE member, Ph.D., Nikolay Strelkov. 2015-01-24 19:53 GMT+03:00 Claus Futtrup : > Hi > > I've made a small script to play around with Bessel functions of the first > kind... but this is very basic and I'm wondering if there's a smarter way. > > Below is the script I made (the function + a small test which plots the > result). > > Best regards, > Claus > > // bessel_test.sce > function z=Jn(n, x) > // The following power series approximates the nth Bessel > // function of the first kind for each input x > // In acoustics x = 2ka, defines the iput frequency k = omega / c and size > // of the piston radiator > powerseries = 0; > for m=0:19 // actually it should be infinity, but 10 approximates OK ... > powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); > powerseries = powerseries + powerseries_m; // sum the powerseries > end > z = ((x/2)^n) .* powerseries;endfunction > x_array = 0:0.1:9.9; // define 100 points on the x-axis > // with 2ka (x) from 0 to 10, and with m = 0-19, > // this approximation is reasonably good for 2ka < 10 > z_0_array = Jn(0,x_array); // Calculate J0 > z_1_array = Jn(1,x_array); // Calculate J1 > scf();a = gca();plot(x_array,z_0_array,'-b');plot(x_array,z_1_array,'-r');xtitle("Bessel functions","x (2ka)","output (z)");legend("J0","J1"); > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfuttrup at gmail.com Sat Jan 24 18:21:12 2015 From: cfuttrup at gmail.com (Claus Futtrup) Date: Sat, 24 Jan 2015 18:21:12 +0100 Subject: [Scilab-users] Bessel functions In-Reply-To: References: <54C3CDFB.2010302@gmail.com> Message-ID: <54C3D488.1050205@gmail.com> Hi Nikolay, et al. You're right, I should have checked Scilab help for Bessel functions before trying to do my own. I executed besselj(0,x_array) as well as besselj(1,x_array) ... it seems that this function works exactly like what I made myself. And the output is indistinguishable (for the range I'm interested in). Trying to find the Scilab code for besselj, I see that it's an uneditable and hard coded. Is there anywhere I can study in detail how besselj was coded? Best regards, Claus On 24-01-2015 18:01, Nikolay Strelkov wrote: > Dear Claus! > > For me it seems that using standard functions is always better, than > writing them from scratch. > > So I recommend to use built-in Scilab functions besseli, besselj, > besselk, bessely, besselh > . > > With best regards, > maintainer ofMathieu functions toolbox for Scilab > , > IEEE member, Ph.D., > Nikolay Strelkov. > > > 2015-01-24 19:53 GMT+03:00 Claus Futtrup >: > > Hi > > I've made a small script to play around with Bessel functions of > the first kind... but this is very basic and I'm wondering if > there's a smarter way. > > Below is the script I made (the function + a small test which > plots the result). > > Best regards, > Claus > > // bessel_test.sce > > function z=Jn(n,x) > // The following power series approximates the nth Bessel > // function of the first kind for each input x > // In acoustics x = 2ka, defines the iput frequency k = omega / c and size > // of the piston radiator > powerseries = 0; > for m=0:19 // actually it should be infinity, but 10 approximates OK ... > powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); > powerseries = powerseries + powerseries_m; // sum the powerseries > end > z = ((x/2)^n) .* powerseries; > endfunction > > x_array = 0:0.1:9.9; // define 100 points on the x-axis > // with 2ka (x) from 0 to 10, and with m = 0-19, > // this approximation is reasonably good for 2ka< 10 > > z_0_array = Jn(0,x_array); // Calculate J0 > > z_1_array = Jn(1,x_array); // Calculate J1 > > scf(); > a = gca(); > plot(x_array,z_0_array,'-b'); > plot(x_array,z_1_array,'-r'); > xtitle("Bessel functions","x (2ka)","output (z)"); > legend("J0","J1"); > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.strelkov at gmail.com Sat Jan 24 18:33:45 2015 From: n.strelkov at gmail.com (Nikolay Strelkov) Date: Sat, 24 Jan 2015 21:33:45 +0400 Subject: [Scilab-users] Bessel functions In-Reply-To: <54C3D488.1050205@gmail.com> References: <54C3CDFB.2010302@gmail.com> <54C3D488.1050205@gmail.com> Message-ID: In modern Scilab these functions are called from Fortran library. Here is its source . With best regards, maintainer of Mathieu functions toolbox for Scilab , IEEE member, Ph.D., Nikolay Strelkov. 2015-01-24 20:21 GMT+03:00 Claus Futtrup : > Hi Nikolay, et al. > > You're right, I should have checked Scilab help for Bessel functions > before trying to do my own. > > I executed besselj(0,x_array) as well as besselj(1,x_array) ... it seems > that this function works exactly like what I made myself. And the output is > indistinguishable (for the range I'm interested in). > > Trying to find the Scilab code for besselj, I see that it's an uneditable > and hard coded. Is there anywhere I can study in detail how besselj was > coded? > > Best regards, > Claus > > > On 24-01-2015 18:01, Nikolay Strelkov wrote: > > Dear Claus! > > For me it seems that using standard functions is always better, than > writing them from scratch. > > So I recommend to use built-in Scilab functions besseli, besselj, > besselk, bessely, besselh > . > > With best regards, > maintainer of Mathieu functions toolbox for Scilab > , > IEEE member, Ph.D., > Nikolay Strelkov. > > > 2015-01-24 19:53 GMT+03:00 Claus Futtrup : > >> Hi >> >> I've made a small script to play around with Bessel functions of the >> first kind... but this is very basic and I'm wondering if there's a smarter >> way. >> >> Below is the script I made (the function + a small test which plots the >> result). >> >> Best regards, >> Claus >> >> // bessel_test.sce >> function z=Jn(n, x) >> // The following power series approximates the nth Bessel >> // function of the first kind for each input x >> // In acoustics x = 2ka, defines the iput frequency k = omega / c and size >> // of the piston radiator >> powerseries = 0; >> for m=0:19 // actually it should be infinity, but 10 approximates OK ... >> powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); >> powerseries = powerseries + powerseries_m; // sum the powerseries >> end >> z = ((x/2)^n) .* powerseries;endfunction >> x_array = 0:0.1:9.9; // define 100 points on the x-axis >> // with 2ka (x) from 0 to 10, and with m = 0-19, >> // this approximation is reasonably good for 2ka < 10 >> z_0_array = Jn(0,x_array); // Calculate J0 >> z_1_array = Jn(1,x_array); // Calculate J1 >> scf();a = gca();plot(x_array,z_0_array,'-b');plot(x_array,z_1_array,'-r');xtitle("Bessel functions","x (2ka)","output (z)");legend("J0","J1"); >> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> >> > > > _______________________________________________ > users mailing listusers at lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfuttrup at gmail.com Sat Jan 24 19:31:23 2015 From: cfuttrup at gmail.com (Claus Futtrup) Date: Sat, 24 Jan 2015 19:31:23 +0100 Subject: [Scilab-users] The 1st order Struve function Message-ID: <54C3E4FB.6010903@gmail.com> Hi I've made a small script to play around with the first order Struve function. See bottom of this post. I've already checked "help Struve" and also on the internet. There seems not to be any support for Struve functions in Scilab, is this correct? Are you familiar with a better way than what I've done here? Please let me know. Thanks. P.S. The input (x) must be non-zero ... Best regards, Claus // struve_test.sce function z=H1(x) // The following expression approximates the 1st order Struve function H1 // for each input x - the approximation follows Roald M. Aarts and // Augustus J. E. M. Janssen, Approximation of the Struve function H1 // occuring in impedance calculations, J. Acoust. Soc. Am. 113 (5), // May 2003, page 2635 - 2637. // This is a simple and effective approximation of H1, valid for all input // x (real numbers only) unfortunately this source doesn't attempt to // approximate higher (or lower) orders of the Struve function. // The error in the approximation is less than 0.5% and at x near 0 the // error is 0.1% whereas for x -> infinity, the error decays towards zero. // In acoustics x = 2ka, defines the iput frequency k = omega / c and size // of the piston radiator; a = sqrt(Sd/pi) = radius of the circular piston z = 2/%pi - besselj(0,x) + (16/%pi - 5) .* (sin(x)./x) .. + (12 - 36/%pi) * ( (1-cos(x))./(x.^2) ); endfunction x_array = 0.1:0.1:50; // define 500 points on the x-axis z_1_array = H1(x_array); // Calculate H1(x) scf(); a = gca(); plot(x_array,z_1_array,'-r'); xtitle("Struve function","x (2ka)","output (z)"); legend("H1(x)"); -------------- next part -------------- An HTML attachment was scrubbed... URL: From joodlink at hotmail.com Mon Jan 26 06:06:00 2015 From: joodlink at hotmail.com (Joo Cat) Date: Mon, 26 Jan 2015 13:06:00 +0800 Subject: [Scilab-users] Problem using jarray (Scilab 5.5.1) In-Reply-To: <54C1FDA9.8060904@scilab-enterprises.com> References: , <54C1FDA9.8060904@scilab-enterprises.com> Message-ID: Bug reported and the workaround works. Thanks! Date: Fri, 23 Jan 2015 08:52:09 +0100 From: calixte.denizet at scilab-enterprises.com To: users at lists.scilab.org Subject: Re: [Scilab-users] Problem using jarray (Scilab 5.5.1) On 23/01/2015 07:39, Joo Cat wrote: I was attempting to create a jagged array in Scilab to be sent to a Java instance. At first, I created a Double class array and had no problems: a = jarray("java.lang.Double",3,1) a(1) = [1 2 3] a(2) = [4 5] a(3) = 6 Next, I attempted to create a primitive double array instead: b = jarray("double",3,1) b(1) = [1 2 3] b(2) = [4 5] b(3) = 6 I had no problem with the first few lines. The problem occured at b(3) = 6 when I attempted to assign a single element value. I got this error: !--error 999 %s_i__EObj: An error occurred: Exception when calling Java method : Array [[D at dbe4e5 cannot contain object which is an instance of class java.lang.Double at org.scilab.modules.external_objects_java.ScilabJavaArray.set(Unknown Source) at org.scilab.modules.external_objects_java.ScilabJavaObject.insert(Unknown Source) Array [[D at dbe4e5 cannot contain object which is an instance of class java.lang.Double at org.scilab.modules.external_objects_java.ScilabJavaArray.set(Unknown Source) at org.scilab.modules.external_objects_java.ScilabJavaObject.insert(Unknown Source) It looks like it considers scalar values as Double type and not the primitive double. Is there a way to overcome this? Thanks! Hi, It is a bug so please report it at bugzilla.scilab.org. A temporary workaround: c=jarray("double",1);c(1)=6; b = jarray("double",3,1) b(3)=c Best regards Calixte _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Mon Jan 26 10:57:21 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 26 Jan 2015 09:57:21 +0000 Subject: [Scilab-users] Bessel functions In-Reply-To: <54C3CDFB.2010302@gmail.com> References: <54C3CDFB.2010302@gmail.com> Message-ID: Hello, > De Claus Futtrup > Envoy? : samedi 24 janvier 2015 17:53 > > I've made a small script to play around with Bessel functions of the first kind > [...] > for m=0:19 // ... > powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); > powerseries = powerseries + powerseries_m; // sum the powerseries > end Generally speaking, I think you'd better use the possibilities of vector calculation as much as possible, to have a faster calculation. The lines above could look like the following, assuming x is a column vector: m = 0:19; [x_mat, m_mat] = ndgrid(x, m); // rectangular matrices for group evaluation f = 1 ./(factorial(m) .* factorial(m + n)); f_mat = ndgrid(f, x)'; powerseries = sum((-1).^m_mat.*f_mat.*(x_mat/2).^(2*m_mat), "c"); However, this quite naive implementation is probably not accurate when x and m are high, for f would have some zeros (if m or m+n > 170) leading to zeros in powerseries, whereas f*(x/2)^(2m) might not be negligible. The reason why you should follow Nikolay's advice and use built-in functions, which usually use strong algorithms. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From Christophe.Dang at sidel.com Mon Jan 26 11:21:42 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 26 Jan 2015 10:21:42 +0000 Subject: [Scilab-users] The 1st order Struve function In-Reply-To: <54C3E4FB.6010903@gmail.com> References: <54C3E4FB.6010903@gmail.com> Message-ID: Hello, > De : Claus Futtrup > Envoy? : samedi 24 janvier 2015 19:31 > > z = 2/%pi - besselj(0,x) + (16/%pi - 5) .* (sin(x)./x) .. > + (12 - 36/%pi) * ( (1-cos(x))./(x.^2) ); A division cost much more than several multiplications (I think something like a 7 factor). If you have a big amount of data (and thus a long calculation time), you can reduce this calculation time, but maybe at the expense of the precision if x take very high or very low absolute values (overflow or underflow of x^-2), with the following trick (not tested): denominator = x.^(-2); pi_inv = 1/%pi; z = 2*pi_inv - besselj(0,x) + ((16*pi_inv - 5) .* sin(x).*x .. + (12 - 36*pi_inv) * (1-cos(x))).*denominator; It replaces 2*size(x) divisions by 1*size(x) division and 2*size(x) multiplications, which is usually less time consuming. Forget it if size(x) is small or x reach very high or very low absolute values. HTH -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From grivet at cnrs-orleans.fr Mon Jan 26 15:28:07 2015 From: grivet at cnrs-orleans.fr (grivet) Date: Mon, 26 Jan 2015 15:28:07 +0100 Subject: [Scilab-users] Bessel functions In-Reply-To: References: <54C3CDFB.2010302@gmail.com> Message-ID: <54C64EF7.3020407@cnrs-orleans.fr> Le 26/01/2015 10:57, Dang, Christophe a ?crit : > Hello, > >> De Claus Futtrup >> Envoy? : samedi 24 janvier 2015 17:53 >> >> I've made a small script to play around with Bessel functions of the first kind >> [...] >> for m=0:19 // ... >> powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * (x/2)^(2*m); >> powerseries = powerseries + powerseries_m; // sum the powerseries >> end > Generally speaking, I think you'd better use the possibilities of vector calculation as much as possible, to have a faster calculation. > > The lines above could look like the following, assuming x is a column vector: > > m = 0:19; > > [x_mat, m_mat] = ndgrid(x, m); // rectangular matrices for group evaluation > > f = 1 ./(factorial(m) .* factorial(m + n)); > > f_mat = ndgrid(f, x)'; > > powerseries = sum((-1).^m_mat.*f_mat.*(x_mat/2).^(2*m_mat), "c"); > > However, this quite naive implementation is probably not accurate when x and m are high, > for f would have some zeros (if m or m+n > 170) leading to zeros in powerseries, > whereas f*(x/2)^(2m) might not be negligible. > > The reason why you should follow Nikolay's advice and use built-in functions, which usually use strong algorithms. > > -- > Christophe Dang Ngoc Chan > Mechanical calculation engineer > This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Almost every numerical analysis textbook comprises a chapter on the evaluation of Bessel functions, as for instance Abramowitz ans Stegun, Handbook of mathematical functions, chapters 9,10 (elegant use of recurrence relation) Press et al., Numerical recipes, chapter 6 (rational approximations) Enjoy! From n.strelkov at gmail.com Mon Jan 26 15:59:42 2015 From: n.strelkov at gmail.com (Nikolay Strelkov) Date: Mon, 26 Jan 2015 18:59:42 +0400 Subject: [Scilab-users] Bessel functions In-Reply-To: <54C64EF7.3020407@cnrs-orleans.fr> References: <54C3CDFB.2010302@gmail.com> <54C64EF7.3020407@cnrs-orleans.fr> Message-ID: I can add two resources to the list: - N. W. McLachlan, Bessel Functions for Engineers - Chapter about Bessel Functions at NIST - http://dlmf.nist.gov/10 2015-01-26 17:28 GMT+03:00 grivet : > Le 26/01/2015 10:57, Dang, Christophe a ?crit : > > Hello, >> >> De Claus Futtrup >>> Envoy? : samedi 24 janvier 2015 17:53 >>> >>> I've made a small script to play around with Bessel functions of the >>> first kind >>> [...] >>> for m=0:19 // ... >>> powerseries_m = ((-1)^m / (factorial(m) * factorial(m + n))) * >>> (x/2)^(2*m); >>> powerseries = powerseries + powerseries_m; // sum the powerseries >>> end >>> >> Generally speaking, I think you'd better use the possibilities of vector >> calculation as much as possible, to have a faster calculation. >> >> The lines above could look like the following, assuming x is a column >> vector: >> >> m = 0:19; >> >> [x_mat, m_mat] = ndgrid(x, m); // rectangular matrices for group >> evaluation >> >> f = 1 ./(factorial(m) .* factorial(m + n)); >> >> f_mat = ndgrid(f, x)'; >> >> powerseries = sum((-1).^m_mat.*f_mat.*(x_mat/2).^(2*m_mat), "c"); >> >> However, this quite naive implementation is probably not accurate when x >> and m are high, >> for f would have some zeros (if m or m+n > 170) leading to zeros in >> powerseries, >> whereas f*(x/2)^(2m) might not be negligible. >> >> The reason why you should follow Nikolay's advice and use built-in >> functions, which usually use strong algorithms. >> >> -- >> Christophe Dang Ngoc Chan >> Mechanical calculation engineer >> This e-mail may contain confidential and/or privileged information. If >> you are not the intended recipient (or have received this e-mail in error), >> please notify the sender immediately and destroy this e-mail. Any >> unauthorized copying, disclosure or distribution of the material in this >> e-mail is strictly forbidden. >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > Almost every numerical analysis textbook comprises a chapter on the > evaluation of Bessel functions, as for instance > Abramowitz ans Stegun, Handbook of mathematical functions, chapters > 9,10 (elegant use of recurrence relation) > Press et al., Numerical recipes, chapter 6 (rational approximations) > Enjoy! > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrickkohl at gmx.de Mon Jan 26 16:35:03 2015 From: patrickkohl at gmx.de (Patrick Kohl) Date: Mon, 26 Jan 2015 16:35:03 +0100 Subject: [Scilab-users] mailing list Message-ID: <001a01d0397d$a84f2a00$f8ed7e00$@gmx.de> Hi there, could you take me out of the mailing list. Thank you. Regards, Patrick Kohl -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfuttrup at gmail.com Mon Jan 26 17:09:20 2015 From: cfuttrup at gmail.com (Claus Futtrup) Date: Mon, 26 Jan 2015 17:09:20 +0100 Subject: [Scilab-users] Struve function, was Re: The 1st order Struve function In-Reply-To: References: <54C3E4FB.6010903@gmail.com> Message-ID: <54C666B0.8060603@gmail.com> Hi Christophe Thanks for the tip on inverting instead of division, I didn't know. Interesting. In my case size(x) = [1 10000] ... (circa) ... but it calculates quickly (and only once). My implementation of the first order Struve function is based on approximation. I was wondering if there's anybody who has made a general implementation. (?) Following http://mathworld.wolfram.com/StruveFunction.html, using the gamma function ... maybe this would be better if coded in Fortran? Best regards, Claus On 26-01-2015 11:21, Dang, Christophe wrote: > Hello, > >> De : Claus Futtrup >> Envoy? : samedi 24 janvier 2015 19:31 >> >> z = 2/%pi - besselj(0,x) + (16/%pi - 5) .* (sin(x)./x) .. >> + (12 - 36/%pi) * ( (1-cos(x))./(x.^2) ); > A division cost much more than several multiplications (I think something like a 7 factor). > > If you have a big amount of data (and thus a long calculation time), > you can reduce this calculation time, > but maybe at the expense of the precision if x take very high or very low absolute values > (overflow or underflow of x^-2), > with the following trick (not tested): > > denominator = x.^(-2); > pi_inv = 1/%pi; > > z = 2*pi_inv - besselj(0,x) + ((16*pi_inv - 5) .* sin(x).*x .. > + (12 - 36*pi_inv) * (1-cos(x))).*denominator; > > It replaces 2*size(x) divisions by 1*size(x) division and 2*size(x) multiplications, > which is usually less time consuming. > > Forget it if size(x) is small or x reach very high or very low absolute values. > > HTH > > -- > Christophe Dang Ngoc Chan > Mechanical calculation engineer > This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From joodlink at hotmail.com Wed Jan 28 08:12:54 2015 From: joodlink at hotmail.com (Joo Cat) Date: Wed, 28 Jan 2015 15:12:54 +0800 Subject: [Scilab-users] Changing Java JDK/JRE version used by Scilab Message-ID: I have a Java class which was compiled using JDK 1.8. When I try to import this class into Scilab, it gave me an error which says: Unsupported major.minor version 52.0. I suspected that this could be due to Scilab using an older JRE. So I checked using system_getproperty('java.version') and it shows 1.6.0_41. Is there a way to change the JRE version used by Scilab? Similarly, is there a way to change the JDK used as well? If I try to compile a source file that have features from newer JDK using jcompile, it will give an error. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.richard2 at laposte.net Tue Jan 27 20:50:14 2015 From: thomas.richard2 at laposte.net (tomari) Date: Tue, 27 Jan 2015 12:50:14 -0700 (MST) Subject: [Scilab-users] Scribal doesn't start. Java error on OS X 10.10 Message-ID: <1422388214324-4031674.post@n3.nabble.com> I'm having trouble with scilab 5.5.1 I'm using a mac on OS X 10.10.1 I have installed the yosemite specific version. I have installed the java update from http://support.apple.com/kb/DL1572. When I try to launch scilab from the finder, nothing happen. I tried to launch it from the terminal, going first to /Applications/scilab-5.5.1.app/Contents/MacOS/bin When I try to launch ./scilab-cli, everything works fine, but when I try to launch ./scilab, I get the following message: JavaVM: requested Java version (1.5) not available. Using Java at "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" instead. Impossible de cr?er une classe principale de Scilab. Erreur : Exception in thread "main" java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1764) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1044) at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:318) at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:55) at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:85) at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:215) at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:365) at com.jogamp.common.os.Platform$3.run(Platform.java:317) at java.security.AccessController.doPrivileged(Native Method) at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:303) at com.jogamp.common.os.Platform.(Platform.java:214) at javax.media.opengl.GLProfile.(GLProfile.java:81) at org.scilab.modules.gui.SwingView.(Unknown Source) at org.scilab.modules.gui.SwingView.registerSwingView(Unknown Source) at org.scilab.modules.core.Scilab.(Unknown Source) Scilab ne peut pas cr?er la classe principale Java Scilab (Impossible de trouver la classe Scilab principale. V?rifiez si les paquets Scilab et thirdparty sont accessibles). How can I fix that ? Thanks in advance. -- View this message in context: http://mailinglists.scilab.org/Scribal-doesn-t-start-Java-error-on-OS-X-10-10-tp4031674.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From ecejegan at gmail.com Wed Jan 28 12:42:01 2015 From: ecejegan at gmail.com (Jegan Amirthalingam) Date: Wed, 28 Jan 2015 17:12:01 +0530 Subject: [Scilab-users] Multiple input based state space simulation Message-ID: Hi. I am trying an xcos simulation involving state space block (CLSS -under continuous time domain) .For my system there are two inputs and i am getting port size mismatch error. xcos_simulate: Error during block parameters update. (Error in the console) Kindly help me to resolve this problem.Thanks in advance Regards A.Jegan -------------- next part -------------- An HTML attachment was scrubbed... URL: From tanthiamhuat at yahoo.com Wed Jan 28 13:04:01 2015 From: tanthiamhuat at yahoo.com (TAN TH) Date: Wed, 28 Jan 2015 12:04:01 +0000 (UTC) Subject: [Scilab-users] mailing list In-Reply-To: <001a01d0397d$a84f2a00$f8ed7e00$@gmx.de> References: <001a01d0397d$a84f2a00$f8ed7e00$@gmx.de> Message-ID: <1681612336.1067180.1422446641996.JavaMail.yahoo@mail.yahoo.com> me, too, please remove me from the mailing list for Scilab. On Monday, 26 January 2015, 23:40, Patrick Kohl wrote: Hi there, ?could you take me out of the mailing list. Thank you. ?Regards, ?Patrick Kohl _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Wed Jan 28 13:15:21 2015 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Wed, 28 Jan 2015 12:15:21 +0000 Subject: [Scilab-users] mailing list In-Reply-To: <1681612336.1067180.1422446641996.JavaMail.yahoo@mail.yahoo.com> References: <001a01d0397d$a84f2a00$f8ed7e00$@gmx.de> <1681612336.1067180.1422446641996.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hello, > De : TAN TH > Envoy? : mercredi 28 janvier 2015 13:04 > > me, too, please remove me from the mailing list for Scilab. > > On Monday, 26 January 2015, 23:40, Patrick Kohl wrote: > > could you take me out of the mailing list. Thank you. The automatic signature at the end of the messages give an address for this. The unsubscribe button is one click away from it: http://lists.scilab.org/mailman/options/users Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From clement.david at scilab-enterprises.com Wed Jan 28 13:47:09 2015 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 28 Jan 2015 13:47:09 +0100 Subject: [Scilab-users] Changing Java JDK/JRE version used by Scilab In-Reply-To: References: Message-ID: <1422449229.2202.26.camel@scilab-enterprises.com> Hello, Le mercredi 28 janvier 2015 ? 15:12 +0800, Joo Cat a ?crit : > I have a Java class which was compiled using JDK 1.8. When I try to > import this class into Scilab, it gave me an error which says: > Unsupported major.minor version 52.0. > I suspected that this could be due to Scilab using an older JRE. So I > checked using system_getproperty('java.version') and it shows > 1.6.0_41. Is there a way to change the JRE version used by Scilab? Depending on your platform, there is a standard way to change it however Scilab is distributed using an old JVM to avoid regressions, avoid doing that. Basically, setting the JAVA_HOME environment variable change the selected JVM. > Similarly, is there a way to change the JDK used as well? If I try to > compile a source file that have features from newer JDK using > jcompile, it will give an error. Thanks! Again depending on your platform and JVM, jcompile can use a more recent compiler ; ecj is provided as a fallback compiler. -- Cl?ment From clement.david at scilab-enterprises.com Wed Jan 28 13:53:02 2015 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Wed, 28 Jan 2015 13:53:02 +0100 Subject: [Scilab-users] Multiple input based state space simulation In-Reply-To: References: Message-ID: <1422449582.2202.31.camel@scilab-enterprises.com> Hello, The CLSS block will resolve the following equations : dX(t) = A * X(t) + B * U(t) Y(t) = C * X(t) + D * U(t) Depending on your system, you have to take care of the size of the products. If you are not sure about the size, you can use the Scilab' syslin function to validate the A,B,C,D,X0 parameters. Le mercredi 28 janvier 2015 ? 17:12 +0530, Jegan Amirthalingam a ?crit : > Hi. > > > I am trying an xcos simulation involving state space block (CLSS > -under continuous time domain) .For my system there are two inputs and > i am getting port size mismatch error. > > xcos_simulate: Error during block parameters update. (Error in the > console) > > > Kindly help me to resolve this problem.Thanks in advance > > > Regards > > A.Jegan > > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Cl?ment DAVID Development Engineer / Account Manager ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Mobile: +33.6.26.26.51.90 Phone: +33.2.90.22.78.96 http://www.scilab-enterprises.com From Sophie.v.Borstel at gmx.de Wed Jan 28 16:19:39 2015 From: Sophie.v.Borstel at gmx.de (Sophie von Borstel) Date: Wed, 28 Jan 2015 16:19:39 +0100 Subject: [Scilab-users] Cropped labels after image export Message-ID: An HTML attachment was scrubbed... URL: From calixte.denizet at scilab-enterprises.com Wed Jan 28 16:33:24 2015 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Wed, 28 Jan 2015 16:33:24 +0100 Subject: [Scilab-users] Cropped labels after image export In-Reply-To: References: Message-ID: <54C90144.8000001@scilab-enterprises.com> Hi Sophie, You should set the fontsize for axes ticks before to set the labels: x=1:100; y=sin(x); figure; g = _gcf_(); axh = g.children; axh.font_size = 6; _plot_(x,y) _xlabel_('Blablabla1','fontsize',6); _ylabel_('Blablabla2','fontsize',6); g.children.children(1).children.thickness = 2; ///Plot Thickness/ g.children.children.children.thickness = 2; xs2eps(g, 'Blub.eps', ['landscape']); Regards, Calixte On 28/01/2015 16:19, Sophie von Borstel wrote: > Hi smart people; > I am using Scilab 5.5.0 for getting some beautiful graphics. > Unfortunately I have a problem with exporting figures. > After changing axis font size the labels are out of view. > See my code below. > If I change the window size by hand I can find my labels again. > Is there another method for doing this? > I just don?t want to change each graphic by hand. > Thanks in advance for your help! > Sophie > x=1:100; > y=sin(x); > figure; > g = _gcf_(); > _plot_(x,y) > _xlabel_('Blablabla1','fontsize',6); > _ylabel_('Blablabla2','fontsize',6); > g.children.children(1).children.thickness = 2; ///Plot Thickness/ > g.children.children.children.thickness = 2; > axh = g.children; > axh.font_size = 6; > xs2eps(g, 'Blub.eps', ['landscape']); > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sophie.v.Borstel at gmx.de Wed Jan 28 16:43:57 2015 From: Sophie.v.Borstel at gmx.de (Sophie von Borstel) Date: Wed, 28 Jan 2015 16:43:57 +0100 Subject: [Scilab-users] Cropped labels after image export In-Reply-To: <54C90144.8000001@scilab-enterprises.com> References: , <54C90144.8000001@scilab-enterprises.com> Message-ID: An HTML attachment was scrubbed... URL: From tim at wescottdesign.com Wed Jan 28 18:17:38 2015 From: tim at wescottdesign.com (Tim Wescott) Date: Wed, 28 Jan 2015 09:17:38 -0800 Subject: [Scilab-users] Cropped labels after image export In-Reply-To: References: , <54C90144.8000001@scilab-enterprises.com> Message-ID: <1422465458.2539.290.camel@servo> You can also fine-tune things by changing the margin size: g = gcf(); look at g.children.margins On Wed, 2015-01-28 at 16:43 +0100, Sophie von Borstel wrote: > Yes that works > Thank you! > > Gesendet: Mittwoch, 28. Januar 2015 um 16:33 Uhr > Von: "Calixte Denizet" > An: users at lists.scilab.org > Betreff: Re: [Scilab-users] Cropped labels after image export > Hi Sophie, > > You should set the fontsize for axes ticks before to set the labels: > > x=1:100; > y=sin(x); > > figure; > g = gcf(); > > axh = g.children; > axh.font_size = 6; > > plot(x,y) > xlabel('Blablabla1','fontsize',6); > ylabel('Blablabla2','fontsize',6); > > g.children.children(1).children.thickness = 2; //Plot Thickness > g.children.children.children.thickness = 2; > > xs2eps(g, 'Blub.eps', ['landscape']); > > Regards, > > Calixte > > On 28/01/2015 16:19, Sophie von Borstel wrote: > Hi smart people; > > I am using Scilab 5.5.0 for getting some beautiful graphics. > Unfortunately I have a problem with exporting figures. > After changing axis font size the labels are out of view. > See my code below. > > If I change the window size by hand I can find my labels > again. > > > Is there another method for doing this? > I just don?t want to change each graphic by hand. > > Thanks in advance for your help! > Sophie > > > > x=1:100; > y=sin(x); > > figure; > g = gcf(); > plot(x,y) > > xlabel('Blablabla1','fontsize',6); > ylabel('Blablabla2','fontsize',6); > > g.children.children(1).children.thickness = 2; //Plot > Thickness > > g.children.children.children.thickness = 2; > axh = g.children; > axh.font_size = 6; > > xs2eps(g, 'Blub.eps', ['landscape']); > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- > Calixte Denizet > Software Development Engineer > ----------------------------------------------------------- > Scilab Enterprises > 143bis rue Yves Le Coz - 78000 Versailles, France > http://www.scilab-enterprises.com > _______________________________________________ users mailing list > users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 From umut.durak at tu-clausthal.de Thu Jan 29 00:01:32 2015 From: umut.durak at tu-clausthal.de (Dr.Umut Durak) Date: Thu, 29 Jan 2015 00:01:32 +0100 Subject: [Scilab-users] Parsing and Manipulating Xcos Models Message-ID: Hello open source simulation community, I would like to parse, search Xcos models and modify them via deleting, modifying and replacing its elements, namely blocks and lines. While it evident that I need to use the API namely scicos_block, scicos_link, scicos_diagram, etc., help pages and web resources fail to provide any example or so to speak a tutorial about how to use this API. Can anyone help me, and provide some examples about the use of these functions? Thanks in advance for your help, Umut From skiba.g at gmail.com Thu Jan 29 08:21:17 2015 From: skiba.g at gmail.com (Grzegorz Skiba) Date: Thu, 29 Jan 2015 08:21:17 +0100 Subject: [Scilab-users] Parsing and Manipulating Xcos Models In-Reply-To: References: Message-ID: Umut, I think model (scs_m) recursive parsing script will be a good starting point for you. In Arduino Scilab boolbox you can find script that shows how to create diagram with create_xcosdiagram() function - http://forge.scilab.org/index.php/p/arduino/source/tree/HEAD/macros/ARDUINO_SCOPE.sci function obj=scan_blocks(scs_m) obj = []; for i=1:(size(scs_m.objs)-1) if typeof(scs_m.objs(i))=="Block" then if scs_m.objs(i).model.sim=="super"|scs_m.objs(i).model.sim=="csuper" then // if we have superblock make a recurrence call scs_m.objs(i).model.rpar = scan_blocks(scs_m.objs(i).model.rpar); else // here you can modify your model if scs_m.objs(i).model.sim(1) == "your_block" // do some modifications here end end end end obj = scs_m; endfunction Regards Grzegorz 2015-01-29 0:01 GMT+01:00 Dr.Umut Durak : > Hello open source simulation community, > > I would like to parse, search Xcos models and modify them via deleting, > modifying and replacing its elements, namely blocks and lines. While it > evident that I need to use the API namely scicos_block, scicos_link, > scicos_diagram, etc., help pages and web resources fail to provide any > example or so to speak a tutorial about how to use this API. Can anyone > help me, and provide some examples about the use of these functions? > > Thanks in advance for your help, > > Umut > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joodlink at hotmail.com Fri Jan 30 03:35:00 2015 From: joodlink at hotmail.com (Joo Cat) Date: Fri, 30 Jan 2015 10:35:00 +0800 Subject: [Scilab-users] Changing Java JDK/JRE version used by Scilab In-Reply-To: <1422449229.2202.26.camel@scilab-enterprises.com> References: , <1422449229.2202.26.camel@scilab-enterprises.com> Message-ID: My platform is Windows 7 (64 bit) and I have the current version of Java (1.8.0_31). I have set the JAVA_HOME environment variable but Scilab doesn't seem to detect it. It is still showing 1.6.0_41. > From: clement.david at scilab-enterprises.com > To: users at lists.scilab.org > Date: Wed, 28 Jan 2015 13:47:09 +0100 > Subject: Re: [Scilab-users] Changing Java JDK/JRE version used by Scilab > > Hello, > > Le mercredi 28 janvier 2015 ? 15:12 +0800, Joo Cat a ?crit : > > I have a Java class which was compiled using JDK 1.8. When I try to > > import this class into Scilab, it gave me an error which says: > > Unsupported major.minor version 52.0. > > I suspected that this could be due to Scilab using an older JRE. So I > > checked using system_getproperty('java.version') and it shows > > 1.6.0_41. Is there a way to change the JRE version used by Scilab? > > Depending on your platform, there is a standard way to change it however > Scilab is distributed using an old JVM to avoid regressions, avoid doing > that. Basically, setting the JAVA_HOME environment variable change the > selected JVM. > > > Similarly, is there a way to change the JDK used as well? If I try to > > compile a source file that have features from newer JDK using > > jcompile, it will give an error. Thanks! > > Again depending on your platform and JVM, jcompile can use a more recent > compiler ; ecj is provided as a fallback compiler. > > -- > Cl?ment > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: