From shorne at energetiq.com Wed May 1 22:34:59 2013 From: shorne at energetiq.com (shorne at energetiq.com) Date: Wed, 1 May 2013 16:34:59 -0400 Subject: [Scilab-users] plotting? - empty frame, fixed. mingw? fixed. SWIG?? Message-ID: I've been using scilab for many many years, primarily on linux systems. Recently trying to run on windows and hit two snags, both resolved. I'm putting them on the list so search engines can find them... Fresh scilab 5.41 install on XP. First -- dynamic linking using mingw under windows. It Works! Thank you! but only after I deleted a bit of the file TEMPLATE_MAKEFILE.MINGW $ diff TEMPLATE_MAKEFILE.MINGW TEMPLATE_MAKEFILE.MINGW0 103c103 < $(LINKER) $(LINKER_FLAGS) -o $(LIBRARY).dll $(OTHERLIBS) -Wl,--out-implib=$(LIBRARY).a -Wl,--export-all-symbols -Wl,--enable-auto-import --- > $(LINKER) $(LINKER_FLAGS) -o $(LIBRARY).dll $(OTHERLIBS) -Wl,--out-implib=$(LIBRARY).a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl $(EXTRA_LDFLAGS) That last "-Wl, $(EXTRA_LDFLAGS) seems to cause trouble. Is there a better fix? Second -- plotting didn't work. The frame was created, but remained empty. It semed to be a java related issue, but maybe not. The following fixed it: usecanvas(%t) system_setproperty("jogl.gljpanel.nohw",""); This was in several places on the web. Apparently my video drivers are buggy. The computer dates from around 2006. Now a question: There are various references in the docs to using SWIG instead of intersci. But there seem to be no examples. (I did get intersci to work in windows and was able to link my fortran to scilab successfully. ) Are there examples of using SWIG to make an interface file to connect a fortran routine to scilab? My routine returns 3 long vectors. Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Thu May 2 09:17:37 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 02 May 2013 09:17:37 +0200 Subject: [Scilab-users] SWIG and Scilab [Was Re: plotting? - empty frame, fixed. mingw? fixed. SWIG??] In-Reply-To: References: Message-ID: <51821311.7020509@scilab-enterprises.com> On 01/05/2013 22:34, shorne at energetiq.com wrote: > Now a question: > There are various references in the docs to using SWIG instead of > intersci. But there seem to be no examples. (I did get intersci to > work in windows > and was able to link my fortran to scilab successfully. ) > Are there examples of using SWIG to make an interface file to connect a > fortran routine to scilab? My routine returns 3 long vectors. Scilab support has not been merged yet in the SWIG main branch. You can find the development version here to test: http://wiki.scilab.org/SWIG%20and%20Scilab Sylvestre From sathishmswamy at gmail.com Sat May 4 05:31:51 2013 From: sathishmswamy at gmail.com (sathishmswamy) Date: Fri, 3 May 2013 20:31:51 -0700 (PDT) Subject: [Scilab-users] Modelica Message-ID: <1367638311514-4026649.post@n3.nabble.com> I am new to SCILAB and Modelica I want to access modelica standard library from xcos pallete. how do I do this Sathish -- View this message in context: http://mailinglists.scilab.org/Modelica-tp4026649.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Sat May 4 10:20:43 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 04 May 2013 10:20:43 +0200 Subject: [Scilab-users] Modelica In-Reply-To: <1367638311514-4026649.post@n3.nabble.com> References: <1367638311514-4026649.post@n3.nabble.com> Message-ID: <5184C4DB.5060106@free.fr> Le 04/05/2013 05:31, sathishmswamy a ?crit : > I am new to SCILAB and Modelica > > I want to access modelica standard library from xcos pallete. how do I do > this You must install the Coselica package. To do this, * run the atomsGui() command to launch the packages browser. * Go through the browser. Coselica is in the Xcos and Physics categories. * Just follow the proposed interactive steps displayed in the messages in the status bar. * After having quit and restarted Scilab, just be sure to close the current help browser (if it was opened when you quit the previous session), and typehelp coselica : help pages were have been introduced very recently to document the package. HTH Samuel From haasejos at web.de Sun May 5 18:42:43 2013 From: haasejos at web.de (haasejos) Date: Sun, 5 May 2013 09:42:43 -0700 (PDT) Subject: [Scilab-users] winopen Message-ID: <1367772163052-4026653.post@n3.nabble.com> hello, I would like to write a textfile and check what I wrote with "winopen". See example: *clear; clc; xdel; cd ('C:\Users\Zuhause\Desktop'); fd = mopen('Demo_zu_mfprintf.txt' , 'wt'); mfprintf(fd , '0 1 2 3 4 5\n'); mclose(fd); winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt');* Executing the example gives this errormessage: *-->winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt'); !--error 999 winopen: kann Datei nicht ?ffnen C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt.* What am I doing wrong? best regards, Josef -- View this message in context: http://mailinglists.scilab.org/winopen-tp4026653.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jrafaelbguerra at hotmail.com Sun May 5 19:15:02 2013 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Sun, 5 May 2013 14:15:02 -0300 Subject: [Scilab-users] winopen In-Reply-To: <1367772163052-4026653.post@n3.nabble.com> References: <1367772163052-4026653.post@n3.nabble.com> Message-ID: Hello, I get the same error message in Windows 7. After executing the Scilab command: -->findfileassociation('.txt') I get: ans = [] I think we need to change the Windows registry to fix this. There are several solutions on the web. I recommend that you go to the Microsoft site to get the fix for this. Regards Rafael G. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] On Behalf Of haasejos Sent: Sunday, May 05, 2013 1:43 PM To: users at lists.scilab.org Subject: [Scilab-users] winopen hello, I would like to write a textfile and check what I wrote with "winopen". See example: *clear; clc; xdel; cd ('C:\Users\Zuhause\Desktop'); fd = mopen('Demo_zu_mfprintf.txt' , 'wt'); mfprintf(fd , '0 1 2 3 4 5\n'); mclose(fd); winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt');* Executing the example gives this errormessage: *-->winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt'); !--error 999 winopen: kann Datei nicht ?ffnen C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt.* What am I doing wrong? best regards, Josef -- View this message in context: http://mailinglists.scilab.org/winopen-tp4026653.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 haasejos at web.de Mon May 6 12:58:18 2013 From: haasejos at web.de (haasejos) Date: Mon, 6 May 2013 03:58:18 -0700 (PDT) Subject: [Scilab-users] winopen In-Reply-To: References: <1367772163052-4026653.post@n3.nabble.com> Message-ID: <1367837898563-4026656.post@n3.nabble.com> Rafael, what do you mean with "we need to change the Windows registry to fix this"? I use scilab for signal-analysis and normal engineering tasks. So changing the windows registry seems to be a little bit "dangerous" to me. Can you send a link where I can read about it? J. -- View this message in context: http://mailinglists.scilab.org/winopen-tp4026653p4026656.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Mon May 6 13:37:02 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 06 May 2013 13:37:02 +0200 Subject: [Scilab-users] winopen In-Reply-To: <1367772163052-4026653.post@n3.nabble.com> References: <1367772163052-4026653.post@n3.nabble.com> Message-ID: <518795DE.60701@laas.fr> On 05/05/2013 18:42, haasejos wrote: > hello, > > I would like to write a textfile and check what I wrote with "winopen". See > example: > > *clear; clc; xdel; > cd ('C:\Users\Zuhause\Desktop'); > > fd = mopen('Demo_zu_mfprintf.txt' , 'wt'); > mfprintf(fd , '0 1 2 3 4 5\n'); > mclose(fd); > > winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt');* > > Executing the example gives this errormessage: > > > *-->winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt'); > !--error 999 > winopen: kann Datei nicht ?ffnen > C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt.* > > What am I doing wrong? Hi, I don't have a solution but maybe a workaround: why not using scinote -- it's a decent text editor ;-) -- ? edit('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt'); moreover, it makes your code more portable. Hope it helps, Antoine > > best regards, Josef > > > > > > -- > View this message in context: http://mailinglists.scilab.org/winopen-tp4026653.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 mahesh291289 at gmail.com Mon May 6 15:18:05 2013 From: mahesh291289 at gmail.com (mahesh jagtap) Date: Mon, 6 May 2013 18:48:05 +0530 Subject: [Scilab-users] Cannot open tiff image Message-ID: Hi, I just installed Scilab and SIVP toolbox. Using imread I am able to open .jpg images but not .tif images. I checked the documentation which says that imread supports reading .tif images too. Help me out in reading .tif images. -- Thank you !!!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Mon May 6 15:58:12 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 06 May 2013 15:58:12 +0200 Subject: [Scilab-users] Cannot open tiff image In-Reply-To: References: Message-ID: <5187B6F4.3070202@laas.fr> On 06/05/2013 15:18, mahesh jagtap wrote: > > Hi, > I just installed Scilab and SIVP toolbox. Using imread I am able > to open .jpg images but not .tif images. I checked the documentation > which says that imread supports reading .tif images too. Help me out > in reading .tif images. Hi, Is your tiff image a 16bit one? Because sivp only supports 8 bits as far as I know. Can you provide a test image? Antoine > -- > Thank you !!!!! > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: From shorne at energetiq.com Mon May 6 16:12:41 2013 From: shorne at energetiq.com (shorne at energetiq.com) Date: Mon, 6 May 2013 10:12:41 -0400 Subject: [Scilab-users] chebfun Message-ID: Has anybody looked at Nick Trefethen's Chebfun project? It's matlab - the concepts would map to scilab in a straightforward way. This would be a large but not too complex project. The idea is to manipulate generic functions by means of their chebychev expansions. All the usual operators are overloaded so the syntax is easy to master. This approach allows a numerically-based package to achieve result normally reserved for symbolic tools. Googling Nick Trefethen Chebfun gives lots of examples and info. Question -- are there resources to apply to such a project? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Mon May 6 16:31:58 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Mon, 6 May 2013 07:31:58 -0700 (PDT) Subject: [Scilab-users] build of an existing toolbox Message-ID: <1367850718723-4026661.post@n3.nabble.com> Hi I tried today to build an existing toolbox (validated in June 2012 scilab 5.4.0 (beta) on the same machine WIN7 32 bit) but with the current scilab 5.4.1 final version it fails just in the begining of the build by claiming about a modules_manager module not installed: is there anything changed to the module ? I already had a look at the toolbox_skeleton on atoms website but it's the same syntax on this point. Thnaks for your help , David -->exec builder.sce -->// Copyright (C) 2008 - INRIA -->// Copyright (C) 2009-2011 - DIGITEO -->// This file is released under the 3-clause BSD license. See COPYING-BSD. -->mode(-1); !--error 10000 modules_manager module not installed. at line 20 of function main_builder called by : main_builder(); at line 49 of exec file called by : exec builder.sce -- View this message in context: http://mailinglists.scilab.org/build-of-an-existing-toolbox-tp4026661.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Mon May 6 16:33:38 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Mon, 06 May 2013 16:33:38 +0200 Subject: [Scilab-users] build of an existing toolbox In-Reply-To: <1367850718723-4026661.post@n3.nabble.com> References: <1367850718723-4026661.post@n3.nabble.com> Message-ID: <5187BF42.9040003@scilab-enterprises.com> On 06/05/2013 16:31, David Ch?ze wrote: > Hi > -->mode(-1); > !--error 10000 > modules_manager module not installed. > at line 20 of function main_builder called by : > main_builder(); > at line 49 of exec file called by : > exec builder.sce In the installer of Scilab, you haven't installed anything (this should be called Development module). Sylvestre From david.cheze at cea.fr Mon May 6 16:59:01 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Mon, 6 May 2013 07:59:01 -0700 (PDT) Subject: [Scilab-users] build of an existing toolbox In-Reply-To: <5187BF42.9040003@scilab-enterprises.com> References: <1367850718723-4026661.post@n3.nabble.com> <5187BF42.9040003@scilab-enterprises.com> Message-ID: <1367852341503-4026663.post@n3.nabble.com> Thanks a lot Sylvestre ! I didn't notice this change in the installer's latest version. David -- View this message in context: http://mailinglists.scilab.org/build-of-an-existing-toolbox-tp4026661p4026663.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jrafaelbguerra at hotmail.com Mon May 6 19:10:34 2013 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Mon, 6 May 2013 14:10:34 -0300 Subject: [Scilab-users] RE(2): winopen In-Reply-To: <518795DE.60701@laas.fr> References: <1367772163052-4026653.post@n3.nabble.com> <518795DE.60701@laas.fr> Message-ID: Hi, Scilab Scinotes editor is indeed excellent. It would be outstanding if it had a very useful feature: a column editing mode (cut/paste/etc), which is available in some freeware programmers' text editors. As for the Windows default file associations, you can contact Microsoft support forums directly. You will also get many results after googling: "File Association Fixes for Windows 7". As it is dangerous to touch the registry, make sure the site you are using is trustworthy. Regards Rafael G. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] On Behalf Of Antoine Monmayrant Sent: Monday, May 06, 2013 8:37 AM To: International users mailing list for Scilab. Subject: Re: [Scilab-users] winopen On 05/05/2013 18:42, haasejos wrote: > hello, > > I would like to write a textfile and check what I wrote with > "winopen". See > example: > > *clear; clc; xdel; > cd ('C:\Users\Zuhause\Desktop'); > > fd = mopen('Demo_zu_mfprintf.txt' , 'wt'); > mfprintf(fd , '0 1 2 3 4 5\n'); > mclose(fd); > > winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt');* > > Executing the example gives this errormessage: > > > *-->winopen('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt'); > !--error 999 > winopen: kann Datei nicht ?ffnen > C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt.* > > What am I doing wrong? Hi, I don't have a solution but maybe a workaround: why not using scinote -- it's a decent text editor ;-) -- ? edit('C:\Users\Zuhause\Desktop\Demo_zu_mfprintf.txt'); moreover, it makes your code more portable. Hope it helps, Antoine > > best regards, Josef > > > > > > -- > View this message in context: > http://mailinglists.scilab.org/winopen-tp4026653.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 > _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From gnelson.zynrgy at gmail.com Tue May 7 03:16:32 2013 From: gnelson.zynrgy at gmail.com (Gary Nelson) Date: Mon, 6 May 2013 18:16:32 -0700 Subject: [Scilab-users] Wavelets In-Reply-To: References: Message-ID: <79C1E68A-AD3B-438E-A4E3-7E86D21DA522@gmail.com> Has anybody found a wavelet toolbox and made it work? Thanks Gary Nelson, PhD porpoiseseeker at gmail.com +1.360.531.2395 ResearchVessel MaggieJ On Apr 22, 2013, at 1:48 PM, Michael Dunn wrote: > I'd like to try creating a GUI app very similar to the 2nd example, but I can't figure out where to find the source code. > > I fortunately found a GUI tutorial from www.openeering.com. Don't think I could figure it out otherwise! But the example code would be great too. > > Thanks, > > Michael Dunn | Editor-in-Chief > Scope Junction | http://www.scopejunction.com/ > (415) 947-6096 (USA) > (519) 744-9395 (Canada) > Skype: MichaelDunn_UBM > LinkedIn: http://www.linkedin.com/in/cantares > <0290B74A-5E6F-4D23-9C8D-ABE56804E06E[2].png> > > > _______________________________________________ > 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 Tue May 7 08:55:35 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 7 May 2013 08:55:35 +0200 Subject: [Scilab-users] Wavelets In-Reply-To: <79C1E68A-AD3B-438E-A4E3-7E86D21DA522@gmail.com> References: <79C1E68A-AD3B-438E-A4E3-7E86D21DA522@gmail.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F107555473@301EX00100.sidel.com> Hello, De la part de Gary Nelson Envoy? : mardi 7 mai 2013 03:17 > Has anybody found a wavelet toolbox and made it work? I never worked with wavelets, but a quick search on atoms.scilab.org gives two packages http://atoms.scilab.org/toolboxes/swt http://atoms.scilab.org/toolboxes/Wavelab hope this helps 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 mattmorris100 at yahoo.co.uk Tue May 7 18:34:31 2013 From: mattmorris100 at yahoo.co.uk (MattM) Date: Tue, 7 May 2013 09:34:31 -0700 (PDT) Subject: [Scilab-users] Invalid Index error when using for and select Message-ID: <1367944471575-4026668.post@n3.nabble.com> Hi, Im using the following code: n=1 q=2 for t=0:1:15 select t case 0 B(0)=0 else B(t) = abs(besselj(q,q.*1/15*t)/(q.*1/15*t)); end end t2=linspace(0,1,15); plot2d(t2,B) To define B at the points t=0,1,2,3...16, however as there is a t on the denominator scilab doesn't let me plot this for t=0. I still want to include this point however. I have tried using select and cases to define B(0) as being equal to zero, however I get an invalid index error. Thanks Matt -- View this message in context: http://mailinglists.scilab.org/Invalid-Index-error-when-using-for-and-select-tp4026668.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mathieu.dubois at limsi.fr Tue May 7 19:43:29 2013 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Tue, 07 May 2013 19:43:29 +0200 Subject: [Scilab-users] Invalid Index error when using for and select In-Reply-To: <1367944471575-4026668.post@n3.nabble.com> References: <1367944471575-4026668.post@n3.nabble.com> Message-ID: <481d88c4b0c6f0123908e8109cd092a8@limsi.fr> I don't know if that's your problem but indices start at 1 in scilab (like in matlab). On 2013-05-07 18:34, MattM wrote: > Hi, Im using the following code: > n=1 > q=2 > > for t=0:1:15 > select t > case 0 > B(0)=0 > else > B(t) = abs(besselj(q,q.*1/15*t)/(q.*1/15*t)); > end > end > > > t2=linspace(0,1,15); > > plot2d(t2,B) > > To define B at the points t=0,1,2,3...16, however as there is a t on > the > denominator scilab doesn't let me plot this for t=0. I still want to > include > this point however. I have tried using select and cases to define > B(0) as > being equal to zero, however I get an invalid index error. > > Thanks > Matt > > > > -- > View this message in context: > > http://mailinglists.scilab.org/Invalid-Index-error-when-using-for-and-select-tp4026668.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 mathieu.dubois at limsi.fr Thu May 9 23:16:40 2013 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 09 May 2013 23:16:40 +0200 Subject: [Scilab-users] chebfun In-Reply-To: <45850_1367849613_5187BA8D_45850_6795_1_OF83F1B750.E4B38185-ON85257B63.004D72D1-85257B63.004E11A1@energetiq.com> References: <45850_1367849613_5187BA8D_45850_6795_1_OF83F1B750.E4B38185-ON85257B63.004D72D1-85257B63.004E11A1@energetiq.com> Message-ID: <518C1238.70905@limsi.fr> Hello, Maybe you could contact Nick Trefethen to ask if they are interested in porting their software to scilab. Mathieu Le 06/05/2013 16:12, shorne at energetiq.com a ?crit : > > Has anybody looked at Nick Trefethen's Chebfun project? > It's matlab - the concepts would map to scilab in a straightforward way. > This would be a large but not too complex project. > > The idea is to manipulate generic functions by means of their chebychev > expansions. > All the usual operators are overloaded so the syntax is easy to master. > This approach allows a numerically-based package to achieve result > normally reserved > for symbolic tools. > > Googling Nick Trefethen Chebfun gives lots of examples and info. > > Question -- are there resources to apply to such a project? > > Thanks, > Steve > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From sgougeon at free.fr Fri May 10 23:56:02 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 10 May 2013 23:56:02 +0200 Subject: [Scilab-users] How to patch a help page (Was: Re: What is a valid function name in Scilab?) In-Reply-To: <58f0-516daf00-1-66e30200@166611839> References: <58f0-516daf00-1-66e30200@166611839> Message-ID: <518D6CF2.7080802@free.fr> Le 16/04/2013 22:04, Antoine Monmayrant a ?crit : > Thanks for your answer. > I found the 'help name', but as I said, the problem is two-fold: 1) 'help function' and 'help functions' are not pointing towards 'help name' in the description of a function name and 2), the error message is laconic and brings more confusion than clarification. > I filled a bug report for the documentation ( http://bugzilla.scilab.org/show_bug.cgi?id=12557 ) but I think I should fill another one for the error message. > > By the way, do you have any tutorial or example on how to propose a patch for the documentation? > I'll be happy to propose something, but I really don't know where to start... Yo may have a look here: http://wiki.scilab.org/Developers The usual way is somewhat the following : * xml files of help pages are released only among the source files of Scilab. you may download and unzip sources of the master. Updating your download once every 3 months should be enough. * then, to identify the module related to a page, just have a look to the main section of the help where the page is homed. For example, help uiDumpTree lays into the GUI / Trees section / subsection of the help * Go to the related SCI\modules\* directory in the sources For this example, * = gui * Go to the \help subdir for this module Here you see one subdirectory per language. If you wish to edit the page in english, go to the en_US subdir. for the french release (if any): to the fr_FR subdir. And if you know russian, japanese or portuguese: to other related sub_dir. Each one may have subdirs. For this example, it is the case, since the "GUI" main chapter of the help has a "Trees" subsection. For each subsection of the help, there is a subdir in the help, for each language. * Then, find the right xml page. Here, the reference one in english is SCI\modules\gui\help\en_US\trees\uiDumpTree.xml * Edit the page with your favorite xml editor. "Serna" was free for a long time but turned fully commercial in the past year. For my part, i am using now Notepad++, that has syntax highlighting, bracket matching and other facilities for xml files. * Modify the file and store it in a ~Desktop\uiDumpTree\en_US\trees\* directory structure created from scratch. If you modify the file for several languages -- say also for fr_FR, avoid storing all files in the same dir: Sylvestre -- who processes files to the GIT if you do not do it yourself -- prefers files distributed in languages subdirs, instead of processing renamed files such as uiDumpTree_en.xml, uiDumpTree_fr.xml, etc. * Zip your ~Desktop\uiDumpTree\ dir into uiDumpTree.zip or whatever you want * Send the zip to Sylvestre, or post it as attachment on the bugzilla related thread (if any) ; or claim for opening an account to the GIT/CodeReview to push yourself the files on the queue to be reviewed. I may have forgoten some steps. Sylvestre will likely comment. Regards Samuel From michael.dunn at ubm.com Sun May 12 01:47:56 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sat, 11 May 2013 19:47:56 -0400 Subject: [Scilab-users] Using SOCKET atom..??? Message-ID: I'm fairly confused at the moment. Trying to figure out how to work with atoms and in particular, the SOCKET toolbox. I think I've got it installed, despite conflicting instructions. Here's my SciLab startup screen, and an attempted command: Startup execution: loading initial environment Start Socket Toolbox Load macros Load help Load demos -->SOCKET_open(1,"192.168.0.143",4000) !--error 4 Undefined variable: TCL_EvalStr at line 2 of function SOCKET_close called by : at line 2 of function SOCKET_open called by : SOCKET_open(1,"192.168.0.143",4000) Any ideas what's going on? Also, the Help entries that appeared after installation have disappeared. Can I get them back? Thanks, Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:84B46474-A135-4DC0-AD5F-F962B338A63C] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0290B74A-5E6F-4D23-9C8D-ABE56804E06E[20].png Type: image/png Size: 6781 bytes Desc: 0290B74A-5E6F-4D23-9C8D-ABE56804E06E[20].png URL: From sylvestre.ledru at scilab-enterprises.com Sun May 12 06:31:08 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sun, 12 May 2013 06:31:08 +0200 Subject: [Scilab-users] Using SOCKET atom..??? In-Reply-To: References: Message-ID: <518F1B0C.3000200@scilab-enterprises.com> On 12/05/2013 01:47, Michael Dunn wrote: > I'm fairly confused at the moment. Trying to figure out how to work with > atoms and in particular, the SOCKET toolbox. > > I think I've got it installed, despite conflicting instructions. Here's > my SciLab startup screen, and an attempted command: > > /Startup execution:/ > / loading initial environment/ > / > / > /Start Socket Toolbox/ > /Load macros/ > /Load help/ > /Load demos/ > / > / > / / > /-->SOCKET_open(1,"192.168.0.143",4000)/ > / !--error 4 / > /Undefined variable: TCL_EvalStr/ > /at line 2 of function SOCKET_close called by : / > /at line 2 of function SOCKET_open called by : / > /SOCKET_open(1,"192.168.0.143",4000)/ > > > Any ideas what's going on? You probably run Mac OS X. For technical reasons, Tcl/Tk is not enabled under Mac OS X and since the Socket module is based on Tcl/Tk... Sylvestre From michael.dunn at ubm.com Sun May 12 16:54:32 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 12 May 2013 10:54:32 -0400 Subject: [Scilab-users] Using SOCKET atom..??? In-Reply-To: <518F1B0C.3000200@scilab-enterprises.com> Message-ID: You're kidding... What do you mean - "not enabled"? It *comes* with OS X. >>Any ideas what's going on? >You probably run Mac OS X. For technical reasons, Tcl/Tk is not enabled >under Mac OS X and since the Socket module is based on Tcl/Tk... > >Sylvestre From michael.dunn at ubm.com Sun May 12 17:33:43 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 12 May 2013 11:33:43 -0400 Subject: [Scilab-users] FW: Using SOCKET atom..??? In-Reply-To: Message-ID: In fact, on http://www.reveyrand.fr/SOCKET2.html it says: The source code is 100% Scilab and it works whatever your OS (Windows, Linux, OS X,...) And on http://atoms.scilab.org/toolboxes/socket_toolbox it also shows OS X... Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares -----Original Message----- From: Michael Dunn Date: Sunday, May 12, 2013 10:54 AM To: "International users mailing list for Scilab." Subject: Re: [Scilab-users] Using SOCKET atom..??? >You're kidding... What do you mean - "not enabled"? It *comes* with OS X. > > >>>Any ideas what's going on? >>You probably run Mac OS X. For technical reasons, Tcl/Tk is not enabled >>under Mac OS X and since the Socket module is based on Tcl/Tk... >> >>Sylvestre > From sgougeon at free.fr Sun May 12 18:02:44 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 12 May 2013 18:02:44 +0200 Subject: [Scilab-users] FW: Using SOCKET atom..??? In-Reply-To: References: Message-ID: <518FBD24.6030701@free.fr> Le 12/05/2013 17:33, Michael Dunn a ?crit : > In fact, on http://www.reveyrand.fr/SOCKET2.html it says: > The source code is 100% Scilab and it works whatever your OS (Windows, > Linux, OS X,...) > > > And on http://atoms.scilab.org/toolboxes/socket_toolbox it also shows OS > X... Yes, it is wrong: you should post a comment to the author on this page, about this erroneous display. I guess that Thibaut means that the module runs only macros, without gateways demanding to recompile it for each plateform. Unfortunately, plateform-dependency does not hold only about gateways. Tcl/Tk unavailable on Mac OS is also a constaint. Scilab 5.5.0 -- that you may already download -- proposes a new getURL() function working also on Mac OS. For the moment, for HTTP, it is only possible to use the GET method. It is also possible to use curl from Scilab (or other external tool). It is packaged with Scilab (at least in MSWindows releases), and can be adressed with unix_g() commands. HTH Samuel Gougeon From Christophe.Dang at sidel.com Mon May 13 09:19:26 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 13 May 2013 09:19:26 +0200 Subject: [Scilab-users] Invalid Index error when using for and select In-Reply-To: <1367944471575-4026668.post@n3.nabble.com> References: <1367944471575-4026668.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F107598E11@301EX00100.sidel.com> Hello, De la part de MattM Envoy? : mardi 7 mai 2013 18:35 > for t=0:1:15 > select t > case 0 > B(0)=0 > else > B(t) = abs(besselj(q,q.*1/15*t)/(q.*1/15*t)); > end > end In addition to Mathieu's answer, your code performs 16 times a test for only one value. Additionally, Scilab performs severals tests when applying a function or performing an operation, the reason why it is more efficient to use matrices, see http://mailinglists.scilab.org/Scilab-users-Regarding-simple-numerical-operations-result-display-tt4026274.html#a4026307 A probably more efficient code would look like // ********** t = 0:15; u = q/15*t(2:$); // computes starting at index 2 B = abs(besselj(q, u)./u); B = [0, B]; // adds the first point plot(t, B) // ********** Not sure this is addapted in your case, but it seems to give the same values as your code, and it generates a line vector instead of a column one. Hope this helps. -- 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 prashantdawar.2008 at gmail.com Mon May 13 11:12:07 2013 From: prashantdawar.2008 at gmail.com (prashantdawar) Date: Mon, 13 May 2013 02:12:07 -0700 (PDT) Subject: [Scilab-users] open camera in scilab in ubuntu Message-ID: <1368436327886-4026686.post@n3.nabble.com> scilab not able to detect camera in ubuntu 12.04. camera device is located at /dev/video0.although cheese and vlc are able to detect camera ad works fine.what to do... -- View this message in context: http://mailinglists.scilab.org/open-camera-in-scilab-in-ubuntu-tp4026686.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From W.Schulz at ove.at Mon May 13 16:30:02 2013 From: W.Schulz at ove.at (SCHULZ Wolfgang) Date: Mon, 13 May 2013 14:30:02 +0000 Subject: [Scilab-users] Subplot question Message-ID: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> Hello, I want plot data and divided the plot region with the subplot command in 6 regions (subplot(3,2,X)) but I would like to use the first 2 regions (subplot(3,2,1) and subplot(3,2,2)) for 1 plot. In total I would then have then 5 plots. Is this possible? If yes could someone give me some hints how to do it? Thanks for your help. Wolfgang From vogt at centre-cired.fr Mon May 13 16:38:05 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 13 May 2013 16:38:05 +0200 Subject: [Scilab-users] Subplot question In-Reply-To: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> References: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> Message-ID: <5190FACD.8030509@centre-cired.fr> Hi It is possible, just use subplot(321) subplot(322) subplot(323) subplot(324) and then subplot(313) On 13/05/2013 16:30, SCHULZ Wolfgang wrote: > Hello, > I want plot data and divided the plot region with the subplot command in 6 regions (subplot(3,2,X)) but I would like to use the first 2 regions (subplot(3,2,1) and subplot(3,2,2)) for 1 plot. In total I would then have then 5 plots. Is this possible? If yes could someone give me some hints how to do it? > Thanks for your help. > Wolfgang > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 From stephane.mottelet at utc.fr Mon May 13 16:50:47 2013 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Mon, 13 May 2013 16:50:47 +0200 Subject: [Scilab-users] Subplot question In-Reply-To: <5190FACD.8030509@centre-cired.fr> References: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> <5190FACD.8030509@centre-cired.fr> Message-ID: <5190FDC7.30700@utc.fr> Le 13/05/13 16:38, Adrien Vogt-Schilb a ?crit : > Hi > > It is possible, just use > > subplot(321) > subplot(322) > subplot(323) > subplot(324) > > and then > > subplot(313) > > On 13/05/2013 16:30, SCHULZ Wolfgang wrote: >> Hello, >> I want plot data and divided the plot region with the subplot command >> in 6 regions (subplot(3,2,X)) but I would like to use the first 2 >> regions (subplot(3,2,1) and subplot(3,2,2)) for 1 plot. In total I >> would then have then 5 plots. Is this possible? If yes could someone >> give me some hints how to do it? >> Thanks for your help. >> Wolfgang >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > Hello, It works out of the box with the plotlib (see attached screenshot) S. -------------- next part -------------- A non-text attachment was scrubbed... Name: sub.png Type: image/png Size: 14407 bytes Desc: not available URL: From stephane.mottelet at utc.fr Mon May 13 16:51:39 2013 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Mon, 13 May 2013 16:51:39 +0200 Subject: [Scilab-users] Subplot question In-Reply-To: <5190FACD.8030509@centre-cired.fr> References: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> <5190FACD.8030509@centre-cired.fr> Message-ID: <5190FDFB.1070103@utc.fr> Le 13/05/13 16:38, Adrien Vogt-Schilb a ?crit : > Hi > > It is possible, just use > > subplot(321) > subplot(322) > subplot(323) > subplot(324) > > and then > > subplot(313) > > On 13/05/2013 16:30, SCHULZ Wolfgang wrote: >> Hello, >> I want plot data and divided the plot region with the subplot command >> in 6 regions (subplot(3,2,X)) but I would like to use the first 2 >> regions (subplot(3,2,1) and subplot(3,2,2)) for 1 plot. In total I >> would then have then 5 plots. Is this possible? If yes could someone >> give me some hints how to do it? >> Thanks for your help. >> Wolfgang >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > Hello, It works out of the box with the plotlib (see attached screenshot) S. -------------- next part -------------- A non-text attachment was scrubbed... Name: sub.png Type: image/png Size: 14407 bytes Desc: not available URL: From sgougeon at free.fr Mon May 13 20:22:37 2013 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 13 May 2013 20:22:37 +0200 (CEST) Subject: [Scilab-users] Subplot question In-Reply-To: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> Message-ID: <359792886.135622610.1368469356969.JavaMail.root@zimbra75-e12.priv.proxad.net> >Hello, >I want plot data and divided the plot region with the subplot command in 6 regions (subplot(3,2,X)) but I would like to use the first 2 regions (subplot(3,2,1) and subplot(3,2,2)) for 1 plot. Just do simply: subplot(3,1,1) // whenever you want: after, before, or interlaced with other subplots to target the desired area. Regards Samuel From pzaprawa at gmail.com Tue May 14 10:14:38 2013 From: pzaprawa at gmail.com (Piotr Zaprawa) Date: Tue, 14 May 2013 01:14:38 -0700 (PDT) Subject: [Scilab-users] Tcl vs. Java: I want to understand Message-ID: <1368519278545-4026692.post@n3.nabble.com> Hello I want to understand why Tcl in Scilab has been replaced by Java. I spend many hours reading many different papers on the Internet and I find only this: : ...The Scilab 4.x graphics have been *replaced* by the java graphics, for better or for worse... and nothing else (I was reading about some problems with Tcl on MAC ver. 5.2, but I'm not sure if this is real reason or replacement result only). Do you know any facts about replacement reasons? Thanks for advise. PZ -- View this message in context: http://mailinglists.scilab.org/Tcl-vs-Java-I-want-to-understand-tp4026692.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Tue May 14 10:22:52 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 14 May 2013 10:22:52 +0200 Subject: [Scilab-users] Tcl vs. Java: I want to understand In-Reply-To: <1368519278545-4026692.post@n3.nabble.com> References: <1368519278545-4026692.post@n3.nabble.com> Message-ID: <5191F45C.2010304@scilab-enterprises.com> Le 14/05/2013 10:14, Piotr Zaprawa a ?crit : > Hello > > I want to understand why Tcl in Scilab has been replaced > by Java. I spend many hours reading many different papers > on the Internet and I find only this: > > : ...The Scilab 4.x graphics have been > *replaced* by the java graphics, for better or for worse... > > and nothing else (I was reading about some problems > with Tcl on MAC ver. 5.2, but I'm not sure if this is real > reason or replacement result only). > > Do you know any facts about replacement reasons? > Tcl was not use for the GUI or the graphics. Tcl was used for the text editor (scipad) and is still used for the graphic editor (ged). In the 4.X family, the Scilab GUI was written with Xlibs under GNU/Linux and Win32 under Microsoft Windows. As you can imagine, it was hard to maintain two base code and Xlibs programming is not the most intuitive. Under Mac OS X, it also required a X server to run Scilab. Java code has the advantage to be portable and multiplateform and now provides a nice look and feel. Sylvestre From sdr at durietz.se Tue May 14 11:46:11 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Tue, 14 May 2013 11:46:11 +0200 Subject: [Scilab-users] Tcl vs. Java: I want to understand In-Reply-To: <5191F45C.2010304@scilab-enterprises.com> References: <1368519278545-4026692.post@n3.nabble.com> <5191F45C.2010304@scilab-enterprises.com> Message-ID: <519207E3.3080800@durietz.se> On 2013-05-14 10:22, Sylvestre Ledru wrote: -------------------- > Le 14/05/2013 10:14, Piotr Zaprawa a ?crit : >> Hello >> >> I want to understand why Tcl in Scilab has been replaced >> by Java. I spend many hours reading many different papers >> on the Internet and I find only this: >> >> : ...The Scilab 4.x graphics have been >> *replaced* by the java graphics, for better or for worse... >> >> and nothing else (I was reading about some problems >> with Tcl on MAC ver. 5.2, but I'm not sure if this is real >> reason or replacement result only). >> >> Do you know any facts about replacement reasons? >> > Tcl was not use for the GUI or the graphics. Tcl was used for the text > editor (scipad) and is still used > for the graphic editor (ged). > > In the 4.X family, the Scilab GUI was written with Xlibs under GNU/Linux > and Win32 under Microsoft Windows. > As you can imagine, it was hard to maintain two base code and Xlibs > programming is not the most intuitive. > Under Mac OS X, it also required a X server to run Scilab. > > Java code has the advantage to be portable and multiplateform and now > provides a nice look and feel. > > Sylvestre > But why is the GUI so *extremely slow* in Ubuntu Linux? /Stefan > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From sylvestre.ledru at scilab-enterprises.com Tue May 14 11:49:57 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 14 May 2013 11:49:57 +0200 Subject: [Scilab-users] Tcl vs. Java: I want to understand In-Reply-To: <519207E3.3080800@durietz.se> References: <1368519278545-4026692.post@n3.nabble.com> <5191F45C.2010304@scilab-enterprises.com> <519207E3.3080800@durietz.se> Message-ID: <519208C5.3080508@scilab-enterprises.com> Le 14/05/2013 11:46, Stefan Du Rietz a ?crit : > On 2013-05-14 10:22, Sylvestre Ledru wrote: > -------------------- >> Le 14/05/2013 10:14, Piotr Zaprawa a ?crit : >>> Hello >>> >>> I want to understand why Tcl in Scilab has been replaced >>> by Java. I spend many hours reading many different papers >>> on the Internet and I find only this: >>> >>> : ...The Scilab 4.x graphics have been >>> *replaced* by the java graphics, for better or for worse... >>> >>> and nothing else (I was reading about some problems >>> with Tcl on MAC ver. 5.2, but I'm not sure if this is real >>> reason or replacement result only). >>> >>> Do you know any facts about replacement reasons? >>> >> Tcl was not use for the GUI or the graphics. Tcl was used for the text >> editor (scipad) and is still used >> for the graphic editor (ged). >> >> In the 4.X family, the Scilab GUI was written with Xlibs under GNU/Linux >> and Win32 under Microsoft Windows. >> As you can imagine, it was hard to maintain two base code and Xlibs >> programming is not the most intuitive. >> Under Mac OS X, it also required a X server to run Scilab. >> >> Java code has the advantage to be portable and multiplateform and now >> provides a nice look and feel. >> >> Sylvestre >> > But why is the GUI so *extremely slow* in Ubuntu Linux? Well, we do not experience such problems under this system (many Scilab developers run Ubuntu) You should report a bug with detailed information on your issue. Sylvestre From calixte.denizet at scilab-enterprises.com Tue May 14 11:50:51 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Tue, 14 May 2013 11:50:51 +0200 Subject: [Scilab-users] Tcl vs. Java: I want to understand In-Reply-To: <519207E3.3080800@durietz.se> References: <1368519278545-4026692.post@n3.nabble.com> <5191F45C.2010304@scilab-enterprises.com> <519207E3.3080800@durietz.se> Message-ID: <519208FB.6090202@scilab-enterprises.com> Hi Stefan, Do you have the same problem with an other Java application such as jedit (sudo apt-get install jedit) ? Could you try with an other window manager ? Regards Calixte On 14/05/2013 11:46, Stefan Du Rietz wrote: > On 2013-05-14 10:22, Sylvestre Ledru wrote: > -------------------- >> Le 14/05/2013 10:14, Piotr Zaprawa a ?crit : >>> Hello >>> >>> I want to understand why Tcl in Scilab has been replaced >>> by Java. I spend many hours reading many different papers >>> on the Internet and I find only this: >>> >>> : ...The Scilab 4.x graphics have been >>> *replaced* by the java graphics, for better or for worse... >>> >>> and nothing else (I was reading about some problems >>> with Tcl on MAC ver. 5.2, but I'm not sure if this is real >>> reason or replacement result only). >>> >>> Do you know any facts about replacement reasons? >>> >> Tcl was not use for the GUI or the graphics. Tcl was used for the text >> editor (scipad) and is still used >> for the graphic editor (ged). >> >> In the 4.X family, the Scilab GUI was written with Xlibs under GNU/Linux >> and Win32 under Microsoft Windows. >> As you can imagine, it was hard to maintain two base code and Xlibs >> programming is not the most intuitive. >> Under Mac OS X, it also required a X server to run Scilab. >> >> Java code has the advantage to be portable and multiplateform and now >> provides a nice look and feel. >> >> Sylvestre >> > But why is the GUI so *extremely slow* in Ubuntu Linux? > > /Stefan > >> _______________________________________________ >> 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 -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From sathishmswamy at gmail.com Tue May 14 15:24:19 2013 From: sathishmswamy at gmail.com (sathishmswamy) Date: Tue, 14 May 2013 06:24:19 -0700 (PDT) Subject: [Scilab-users] Modelica In-Reply-To: <1367638311514-4026649.post@n3.nabble.com> References: <1367638311514-4026649.post@n3.nabble.com> Message-ID: <1368537859904-4026697.post@n3.nabble.com> Thanks for your replies I have tried with the Coselica and it has only limited Modellica libraries. Can I access use the whole Modelica library from XCOS -- View this message in context: http://mailinglists.scilab.org/Modelica-tp4026649p4026697.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rene.adad at wanadoo.fr Sat May 11 11:37:54 2013 From: rene.adad at wanadoo.fr (adren) Date: Sat, 11 May 2013 02:37:54 -0700 (PDT) Subject: [Scilab-users] =?utf-8?q?SciLab_/_Mac_=3A_La_fen=C3=AAtre_graphiq?= =?utf-8?q?ue_n=27appara=C3=AEt_pas_!?= Message-ID: <1368265074161-4026673.post@n3.nabble.com> Mac OS X / Snow Leopard 10.6.8 / 2.5 GHz intel core i5 / 4 Mo RamScilab 5.4.1 Everything seems to work fine, except that the graphics window doesn't appear. If I click on the demos button, nothing happens :(Any clues ? ----------- Tout semble fonctionner normalement, sauf que la fen?tre graphique n'appara?t pas. En cliquant sur le bouton "demos", il ne se passe rien :( Des id?es ? Thanks / Merci -- View this message in context: http://mailinglists.scilab.org/SciLab-Mac-La-fenetre-graphique-n-apparait-pas-tp4026673.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From enggaard.li at gmail.com Wed May 15 15:44:26 2013 From: enggaard.li at gmail.com (linebergmann) Date: Wed, 15 May 2013 06:44:26 -0700 (PDT) Subject: [Scilab-users] Legend of markers in Plot3d Message-ID: <1368625466194-4026703.post@n3.nabble.com> I am trying to do a solubility plot of a salt where I have two independent variables (temperature and pressure). Thus it is a 3d scatter plot. I have figured out how to make different styles of markers and different colors. But I would really like to have a legend where the marker was shown next to the series name. When I tried legends I got a line and only the first series name. Then I tried legend, but that does only give me an error: !--error 10000 legend: No 'Polyline' handle found. at line 73 of function legend called by : legend(['error1';'error2'],"in_lower_left"); And I cant figure out what the polyline handle is or how to apply it. Any ideas? I have written this T02=[224 223 253 253 171 167 118 98 98.5 100 149 150 245 245 246 245]; P02=[134 126 124 128 12 8 5 478 492 492 500 500 502 482 106 103]; C02=[71 69 58 57 77 76 84 106 108 113 115 121 88 92 58 62]; T4=[96.5 94.5 95.5 94 96 95 153 153 152.5 152.5 151 152 202 202 203 203 202.5 200 200]; P4=[520 480 500 106 106 92 560 512 492 500 500 505 456 500 507 498 499 470 492]; C4=[324 311 307 260 265 255 530 510 500 530 520 490 690 730 760 690 740 730 640]; plot3d(T02,P02,C02); e02=gce(); e02.surface_mode = "off"; e02.mark_mode = "on"; e02.mark_size = 5; e02.mark_style = 14; e02.mark_foreground = 3; e02.mark_background =2; plot3d(T4,P4,C4); e4=gce(); e4.surface_mode = "off"; e4.mark_mode = "on"; e4.mark_size = 5; e4.mark_style = 3; e4.mark_foreground = 6; e4.mark_background =7; xlabel(["Temperature";"(Celsius)"]); ylabel(["Pressure";"(bar)"]); zlabel(["Concentration";"mikromoles/kg H2O"]); tight_limits = "on"; set(gca(),"data_bounds",[0,-10,0;300,600,800]); legend(['error1';'error2'],"in_lower_left"); -- View this message in context: http://mailinglists.scilab.org/Legend-of-markers-in-Plot3d-tp4026703.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From krotersv at gmail.com Wed May 15 16:20:09 2013 From: krotersv at gmail.com (Stanislav) Date: Wed, 15 May 2013 07:20:09 -0700 (PDT) Subject: [Scilab-users] Legend of markers in Plot3d In-Reply-To: <1368625466194-4026703.post@n3.nabble.com> References: <1368625466194-4026703.post@n3.nabble.com> Message-ID: <1368627609544-4026704.post@n3.nabble.com> Hi. Try "legends": legends(['error1';'error2'],[-e02.mark_style -e4.mark_style],"ur"); Stanislav -- View this message in context: http://mailinglists.scilab.org/Legend-of-markers-in-Plot3d-tp4026703p4026704.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From enggaard.li at gmail.com Thu May 16 09:13:52 2013 From: enggaard.li at gmail.com (linebergmann) Date: Thu, 16 May 2013 00:13:52 -0700 (PDT) Subject: [Scilab-users] Legend of markers in Plot3d In-Reply-To: <1368627609544-4026704.post@n3.nabble.com> References: <1368625466194-4026703.post@n3.nabble.com> <1368627609544-4026704.post@n3.nabble.com> Message-ID: Thanks a lot. That helped. Now I would like to not only have the style of the marker in my legend but also the color since I have way more than just these two groups of data in the real set. I have tried typing in background there also, but that just changes the style not the color. /Line 2013/5/15 Stanislav [via Scilab / Xcos - Mailing Lists Archives] < ml-node+s994242n4026704h86 at n3.nabble.com> > Hi. > > Try "legends": > > legends(['error1';'error2'],[-e02.mark_style -e4.mark_style],"ur"); > > Stanislav > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Legend-of-markers-in-Plot3d-tp4026703p4026704.html > To unsubscribe from Legend of markers in Plot3d, click here > . > NAML > -- View this message in context: http://mailinglists.scilab.org/Legend-of-markers-in-Plot3d-tp4026703p4026705.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Thu May 16 09:51:32 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 16 May 2013 09:51:32 +0200 Subject: [Scilab-users] Legend of markers in Plot3d In-Reply-To: References: <1368625466194-4026703.post@n3.nabble.com> <1368627609544-4026704.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F10767B331@301EX00100.sidel.com> Hello, ________________________________ De la part de linebergmann Envoy? : jeudi 16 mai 2013 09:14 > Now I would like to not only have the style of the marker in my legend > but also the color You can do this by torturing the handles. Unfortunately, this does not seem to be documented... By tries and errors, I found out that the legend is represented by a matrix of handles, called hereafter leg.children You can see which handle correspond to which graphical element with leg.children(n).visible="off" Once you have identified them, everything is "quite simple". Then try the following // ********** legends(['error1';'error2'], [-e02.mark_style -e4.mark_style], "ur"); leg=gce(); leg.children(4).mark_foreground = e02.mark_foreground; leg.children(4).mark_background = e02.mark_background; leg.children(2).mark_foreground = e4.mark_foreground; leg.children(2).mark_background = e4.mark_background; // ********** Best 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 sgougeon at free.fr Thu May 16 09:54:17 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 16 May 2013 09:54:17 +0200 Subject: [Scilab-users] Legend of markers in Plot3d In-Reply-To: References: <1368625466194-4026703.post@n3.nabble.com> <1368627609544-4026704.post@n3.nabble.com> Message-ID: <519490A9.3030406@free.fr> Hello, Le 16/05/2013 09:13, linebergmann a ?crit : > Thanks a lot. That helped. Now I would like to not only have the style > of the marker in my legend but also the color since I have way more > than just these two groups of data in the real set. I have tried > typing in background there also, but that just changes the style not > the color. If you have many curves to be legended on the same axes or figure, you may have a look at http://fileexchange.scilab.org/toolboxes/274000 Samuel From stephane.mottelet at utc.fr Thu May 16 14:20:57 2013 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Thu, 16 May 2013 14:20:57 +0200 Subject: [Scilab-users] Subplot question In-Reply-To: <5190FACD.8030509@centre-cired.fr> References: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> <5190FACD.8030509@centre-cired.fr> Message-ID: <5194CF29.3030005@utc.fr> Hello, Le 13/05/13 16:38, Adrien Vogt-Schilb a ?crit : > Hi > > It is possible, just use > > subplot(321) > subplot(322) > subplot(323) > subplot(324) > > and then > > subplot(313) then you get margins that are not homogeneous (this is ugly), as you can see it in the attached file scilab_subplot.png (although plotlib' subplot is ok :-D). S. > > On 13/05/2013 16:30, SCHULZ Wolfgang wrote: >> Hello, >> I want plot data and divided the plot region with the subplot command >> in 6 regions (subplot(3,2,X)) but I would like to use the first 2 >> regions (subplot(3,2,1) and subplot(3,2,2)) for 1 plot. In total I >> would then have then 5 plots. Is this possible? If yes could someone >> give me some hints how to do it? >> Thanks for your help. >> Wolfgang >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- A non-text attachment was scrubbed... Name: plotlib_subplot.png Type: image/png Size: 8125 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scilab_suplot.png Type: image/png Size: 9348 bytes Desc: not available URL: From vogt at centre-cired.fr Thu May 16 15:38:42 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 16 May 2013 15:38:42 +0200 Subject: [Scilab-users] Subplot question In-Reply-To: <5194CF29.3030005@utc.fr> References: <07A8AF089844A549B0F0CCC727AF31AA56B005B1@OVEKBG.ove.at> <5190FACD.8030509@centre-cired.fr> <5194CF29.3030005@utc.fr> Message-ID: <5194E162.2000608@centre-cired.fr> On 16/05/2013 14:20, St?phane Mottelet wrote: > Hello, > > Le 13/05/13 16:38, Adrien Vogt-Schilb a ?crit : >> Hi >> >> It is possible, just use >> >> subplot(321) >> subplot(322) >> subplot(323) >> subplot(324) >> >> and then >> >> subplot(313) > then you get margins that are not homogeneous (this is ugly), as you > can see it in the attached file scilab_subplot.png (although plotlib' > subplot is ok :-D). > > S. Okay. -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 From f544219 at rmqkr.net Thu May 16 16:11:53 2013 From: f544219 at rmqkr.net (j314) Date: Thu, 16 May 2013 07:11:53 -0700 (PDT) Subject: [Scilab-users] Algebraic Loop Message-ID: <1368713513540-4026713.post@n3.nabble.com> I have a block diagram with a feedback from a state-space block. When I try to run it, it says algebraic loop. This means that the output depends on the input, which depends on the output. So, I inserted a Continuous fix delay. The problem is that the output is very sensitive to the delay I put. Another thing that bothers me is that the CLSS block has a parameter which is the initial condition, therefore (I think) it should be able to start the simulation without having an algebraic loop. I've uploaded the image of the diagram with the delay. -- View this message in context: http://mailinglists.scilab.org/Algebraic-Loop-tp4026713.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From denis.crete at thalesgroup.com Fri May 17 11:19:09 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Fri, 17 May 2013 11:19:09 +0200 Subject: [Scilab-users] Bug in MatLab to Scilab conversion ? Message-ID: <7041_1368782347_5195F60B_7041_6059_1_8F1D40232A0E68409E3FC23A30C3266201678DFB009C@THSONEA01CMS04P.one.grp> Hello, While 'E1 = 1i*r; ' is converted correctly by both "mfile2sci" and "translatepaths", the following line is not: E2 = 1i*r; % pb of coexistence 1i/comment Giving this report E2 = 1i*r; ;// pb of coexistence 1i/comment !--error 276 Op?rateur, virgule ou point-virgule manquant. This problem occurs as soon as a % sign for comments is appended to the line containing "1i". Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri May 17 11:22:23 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 17 May 2013 11:22:23 +0200 Subject: [Scilab-users] Bug in MatLab to Scilab conversion ? In-Reply-To: <7041_1368782347_5195F60B_7041_6059_1_8F1D40232A0E68409E3FC23A30C3266201678DFB009C@THSONEA01CMS04P.one.grp> References: <7041_1368782347_5195F60B_7041_6059_1_8F1D40232A0E68409E3FC23A30C3266201678DFB009C@THSONEA01CMS04P.one.grp> Message-ID: <5195F6CF.7070808@centre-cired.fr> Hi This is clerly a bug, I suggest you copy paste this email in a new bug on http://bugzilla.scilab.org/ On 17/05/2013 11:19, CRETE Denis wrote: > > Hello, > > While 'E1 = 1i*r; ' is converted correctly by both "mfile2sci" and > "translatepaths", the following line is not: > > E2 = 1i*r; % pb of coexistence 1i/comment > > Giving this report > > E2 = 1i*r; ;// pb of coexistence 1i/comment > > !--error 276 > > Op?rateur, virgule ou point-virgule manquant. > > This problem occurs as soon as a % sign for comments is appended to > the line containing "1i". > > Denis > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sat May 18 18:54:06 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 18 May 2013 18:54:06 +0200 Subject: [Scilab-users] print In-Reply-To: <00cb01ce3327$3241d780$96c58680$@rochester.rr.com> References: <00cb01ce3327$3241d780$96c58680$@rochester.rr.com> Message-ID: <5197B22E.4050603@free.fr> Le 07/04/2013 02:31, Frank Testa a ?crit : > > Dear Scilab: > > I have created a window with figure() and populated it with text and > edit controls using uicontrol(). I would like to print a screenshot of > the window but toprint() and printfigure() both only print the bare > window without any of the controls. Is there a way to do this? > not presently. This has been requested in Feb. 2012, here: http://bugzilla.scilab.org/10715 SG -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Sat May 18 22:37:50 2013 From: vogt at centre-cired.fr (A. Vogt-Schilb) Date: Sat, 18 May 2013 22:37:50 +0200 Subject: [Scilab-users] print Message-ID: As a workaround you can use the printscreen button of your keyboard open something as paint and paste... Sent from my phone Samuel Gougeon wrote: >Le 07/04/2013 02:31, Frank Testa a ?crit : >> >> Dear Scilab: >> >> I have created a window with figure() and populated it with text and >> edit controls using uicontrol(). I would like to print a screenshot of >> the window but toprint() and printfigure() both only print the bare >> window without any of the controls. Is there a way to do this? >> >not presently. This has been requested in Feb. 2012, here: >http://bugzilla.scilab.org/10715 > >SG > > >_______________________________________________ >users mailing list >users at lists.scilab.org >http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From jrafaelbguerra at hotmail.com Sun May 19 04:49:15 2013 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Sat, 18 May 2013 19:49:15 -0700 (PDT) Subject: [Scilab-users] Reg :: Area Between two curves In-Reply-To: <4E8BFF08.70109@laas.fr> References: <4E8B6F75.9000601@free.fr> <4E8BFF08.70109@laas.fr> Message-ID: <1368931755860-4026721.post@n3.nabble.com> Hi Antoine,I have tried in Scilab 5.4 Win7 your 2-year old example script: x=[-10:10];y1=x+10;y2=x.*x; BetweenCurves(x,y1,y2);and got a in-between curve filling result that seams to "leak" (see attached picture): Scilab5p4_BetweenCurves.gif Do you know whether this is a function limitation or a Scilab 5.4's feature instead?Thanks and regards,Rafael G. -- View this message in context: http://mailinglists.scilab.org/Reg-Area-Between-two-curves-tp3393261p4026721.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From amonmayr at laas.fr Tue May 21 11:26:50 2013 From: amonmayr at laas.fr (Antoine Monmayrant) Date: Tue, 21 May 2013 11:26:50 +0200 Subject: [Scilab-users] Reg :: Area Between two curves In-Reply-To: <1368931755860-4026721.post@n3.nabble.com> Message-ID: <620-519b3e00-4f-8b19100@122758381> Le Dimanche 19 Mai 2013 04.49 CEST, Rafael Guerra a ?crit: > Hi Antoine,I have tried in Scilab 5.4 Win7 your 2-year old example script: > x=[-10:10];y1=x+10;y2=x.*x; BetweenCurves(x,y1,y2);and got a in-between > curve filling result that seams to "leak" (see attached picture): > Scilab5p4_BetweenCurves.gif > > Do you know whether this is a function limitation or a Scilab 5.4's feature > instead?Thanks and regards,Rafael G. Hi, It's a limitation of my function: I assume that one curve always stays above the other one. I quickly wrote this function to plot a fit, the upper bound of the fit confidence interval and the lower bound of the fit confidence interval. It is not designed for curves that cross each other. You might get better results with my function by plotting BetweenCurves(x,min(y1,y2),max(y1,y2)). Cheers, Antoine > > > > -- > View this message in context: http://mailinglists.scilab.org/Reg-Area-Between-two-curves-tp3393261p4026721.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jrafaelbguerra at hotmail.com Tue May 21 15:01:45 2013 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Tue, 21 May 2013 15:01:45 +0200 Subject: [Scilab-users] Reg :: Area Between two curves In-Reply-To: <620-519b3e00-4f-8b19100@122758381> References: <1368931755860-4026721.post@n3.nabble.com>, <620-519b3e00-4f-8b19100@122758381> Message-ID: Antoine, Thanks for your reply. Your suggestion worked perfectly. Rgds Rafael G. > From: amonmayr at laas.fr > To: users at lists.scilab.org > Date: Tue, 21 May 2013 11:26:50 +0200 > Subject: Re: [Scilab-users] Reg :: Area Between two curves > > > Le Dimanche 19 Mai 2013 04.49 CEST, Rafael Guerra a ?crit: > > > Hi Antoine,I have tried in Scilab 5.4 Win7 your 2-year old example script: > > x=[-10:10];y1=x+10;y2=x.*x; BetweenCurves(x,y1,y2);and got a in-between > > curve filling result that seams to "leak" (see attached picture): > > Scilab5p4_BetweenCurves.gif > > > > Do you know whether this is a function limitation or a Scilab 5.4's feature > > instead?Thanks and regards,Rafael G. > > Hi, > > It's a limitation of my function: I assume that one curve always stays above the other one. > I quickly wrote this function to plot a fit, the upper bound of the fit confidence interval and the lower bound of the fit confidence interval. > It is not designed for curves that cross each other. > You might get better results with my function by plotting BetweenCurves(x,min(y1,y2),max(y1,y2)). > > Cheers, > > Antoine > > > > > > > > -- > > View this message in context: http://mailinglists.scilab.org/Reg-Area-Between-two-curves-tp3393261p4026721.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 rfabbri at gmail.com Tue May 21 19:04:07 2013 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Tue, 21 May 2013 14:04:07 -0300 Subject: [Scilab-users] OS X Nightly build In-Reply-To: References: <516A5DE4.7050201@scilab-enterprises.com> Message-ID: Hi, still having issues here. Both Scilab 5.4.1 and nightly build 5-1.4.1.dmg (master) fail to run on my computer with the latest Mountain Lion. Best, -- Dr Ricardo Fabbri Professor of Computer Engineering GNU/Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Thu, Apr 25, 2013 at 12:32 AM, Ricardo Fabbri wrote: > Same thing happens with the official 5.4.1 dmg > > Running OSX 10.8.3, jdk 6 > > best, > > > -- > Dr Ricardo Fabbri > Professor of Computer Engineering > GNU/Linux registered user #175401 > www.lems.brown.edu/~rfabbri > pt.wikipedia.org/wiki/IPRJ > labmacambira.sf.net > > > On Sun, Apr 14, 2013 at 4:42 AM, Sylvestre Ledru < > sylvestre.ledru at scilab-enterprises.com> wrote: > >> On 14/04/2013 01:45, Michael Dunn wrote: >> > I just DL'd the latest OS X nightly build, dated April 5: >> > >> > scilab-master-1365151558.app >> > >> > >> > When I try to start it, the dock icon bounces once, then, nothing. I >> > also tried running from the .dmg. Nothing. I was hoping it contained the >> > fix for my CSV read problem? >> Yes, we started a new development cycle (Scilab 5.5), we took the >> liberty to change some elements in the packaging of the application, >> causing the compilation chain to fail. It is why the nightly builds have >> not been published recently. >> >> They should be back soon (maybe next week). >> >> Sylvestre >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From signaloc at gmail.com Sun May 26 22:12:29 2013 From: signaloc at gmail.com (Modestas Bunokas) Date: Sun, 26 May 2013 13:12:29 -0700 (PDT) Subject: [Scilab-users] Can't understand different answer's on sqrt(x^2+1) Message-ID: <1369599149268-4026728.post@n3.nabble.com> Trying to work with vectors, and getting weird results. Example: m=[9 16]; sqrt(m^2+1) ans = 9.0553851 16.03122 I will get same values if I will use input as vector, or will put values manually. But if I use negative numbers like: m=[-10 -3]; sqrt(m^2+1) ans =10.049876 3.1622777 ------------------------------ sqrt(-10^2+1) ans = 9.9498744i sqrt(-2^2+1) ans = 2.8284271i Questions would be - why do I getting complex number as a result by inputting m by hand and different result by giving it as vector? Is scilab irc channel active for some more arithmetic questions, as I stuck a bit on such things with scilab, if not maybe exist any other places to look for real time help? I fully understand that it's all because of lack of my expierence p.s. Scilab version 5.4.1, on octave and wolframalpha for sqrt(-2^2+1) getting 1.73205i. Regards -- View this message in context: http://mailinglists.scilab.org/Can-t-understand-different-answer-s-on-sqrt-x-2-1-tp4026728.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Sun May 26 22:57:11 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Sun, 26 May 2013 22:57:11 +0200 Subject: [Scilab-users] Can't understand different answer's on sqrt(x^2+1) In-Reply-To: <1369599149268-4026728.post@n3.nabble.com> References: <1369599149268-4026728.post@n3.nabble.com> Message-ID: <51A27727.8050100@centre-cired.fr> On 26/05/2013 22:12, Modestas Bunokas wrote: > Trying to work with vectors, and getting weird results. Example: > > m=[9 16]; > sqrt(m^2+1) > ans = 9.0553851 16.03122 > > I will get same values if I will use input as vector, or will put values > manually. But if I use negative numbers like: > > m=[-10 -3]; > sqrt(m^2+1) > ans =10.049876 3.1622777 > ------------------------------ > sqrt(-10^2+1) > ans = 9.9498744i > sqrt(-2^2+1) > ans = 2.8284271i Hi m=-2 m^2 computes (-2)^2 while -2^2 computes -(2^2) if you type sqrt((-2)^2+1) you may get what you expect > Questions would be - why do I getting complex number as a result by > inputting m by hand and different result by giving it as vector? Is scilab > irc channel active for some more arithmetic questions, as I stuck a bit on > such things with scilab, if not maybe exist any other places to look for > real time help? I fully understand that it's all because of lack of my > expierence > > p.s. Scilab version 5.4.1, on octave and wolframalpha for sqrt(-2^2+1) > getting 1.73205i. > > Regards > > > > > > -- > View this message in context: http://mailinglists.scilab.org/Can-t-understand-different-answer-s-on-sqrt-x-2-1-tp4026728.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 -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 From arvid at softube.com Sun May 26 22:40:04 2013 From: arvid at softube.com (=?iso-8859-1?Q?Arvid_Ros=E9n?=) Date: Sun, 26 May 2013 22:40:04 +0200 Subject: [Scilab-users] Can't understand different answer's on sqrt(x^2+1) In-Reply-To: <1369599149268-4026728.post@n3.nabble.com> References: <1369599149268-4026728.post@n3.nabble.com> Message-ID: <95A529C8-0767-413C-840C-F953463D2E9B@softube.com> Hi. Scilab will interpret -10^2 as -(10^2), but m^2 with m=-10 will evaluate as (-10)^2. Cheers, Arvid 26 maj 2013 kl. 22:12 skrev Modestas Bunokas : > Trying to work with vectors, and getting weird results. Example: > > m=[9 16]; > sqrt(m^2+1) > ans = 9.0553851 16.03122 > > I will get same values if I will use input as vector, or will put values > manually. But if I use negative numbers like: > > m=[-10 -3]; > sqrt(m^2+1) > ans =10.049876 3.1622777 > ------------------------------ > sqrt(-10^2+1) > ans = 9.9498744i > sqrt(-2^2+1) > ans = 2.8284271i > > Questions would be - why do I getting complex number as a result by > inputting m by hand and different result by giving it as vector? Is scilab > irc channel active for some more arithmetic questions, as I stuck a bit on > such things with scilab, if not maybe exist any other places to look for > real time help? I fully understand that it's all because of lack of my > expierence > > p.s. Scilab version 5.4.1, on octave and wolframalpha for sqrt(-2^2+1) > getting 1.73205i. > > Regards > > > > > > -- > View this message in context: http://mailinglists.scilab.org/Can-t-understand-different-answer-s-on-sqrt-x-2-1-tp4026728.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 signaloc at gmail.com Mon May 27 07:21:16 2013 From: signaloc at gmail.com (Modestas Bunokas) Date: Sun, 26 May 2013 22:21:16 -0700 (PDT) Subject: [Scilab-users] Can't understand different answer's on sqrt(x^2+1) In-Reply-To: <51A27727.8050100@centre-cired.fr> References: <1369599149268-4026728.post@n3.nabble.com> <51A27727.8050100@centre-cired.fr> Message-ID: <1369632076444-4026731.post@n3.nabble.com> Thank you for your answers, seems need more practice with scilab as doing mistakes like small kid. -- View this message in context: http://mailinglists.scilab.org/Can-t-understand-different-answer-s-on-sqrt-x-2-1-tp4026728p4026731.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Mon May 27 09:04:21 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 27 May 2013 09:04:21 +0200 Subject: [Scilab-users] Can't understand different answer's on sqrt(x^2+1) In-Reply-To: <1369632076444-4026731.post@n3.nabble.com> References: <1369599149268-4026728.post@n3.nabble.com> <51A27727.8050100@centre-cired.fr> <1369632076444-4026731.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F108C37A11@301EX00100.sidel.com> Hello, De la part de Modestas Bunokas Envoy? : lundi 27 mai 2013 07:21 > seems need more practice with scilab as doing mistakes like small kid. You should come back to old pocket calculators which only displays the current value and not the formula you type. A good way to practice everyday operators priority (-: -- 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 e.durso at live.com Mon May 27 22:11:35 2013 From: e.durso at live.com (enrico d'urso) Date: Mon, 27 May 2013 22:11:35 +0200 Subject: [Scilab-users] [ Get Transfer function Closed Loop] Message-ID: Hi, I have a Xcos file, where I inserted a PID and a DLR (G(Z).. (I attached the source file). I would like to know if is possibile get the transfer function in closed loop, i.e: PID + G(Z) , using scilab or XCOS . Thanks Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nostro_sistema.xcos Type: application/octet-stream Size: 138459 bytes Desc: not available URL: From clement.david at scilab-enterprises.com Tue May 28 10:05:25 2013 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Tue, 28 May 2013 10:05:25 +0200 Subject: [Scilab-users] [ Get Transfer function Closed Loop] In-Reply-To: References: Message-ID: <1369728325.1746.5.camel@paros> Hello, The lincos function does not works when using discretes (eg. driven by events) blocks. However you can translate the discrete DLR to a continuous CLR block and then put them into a superblock and use lincos to get the transfer-function. Using cascd to perform the same conversion might also be possible. -- Cl?ment Le lundi 27 mai 2013 ? 22:11 +0200, enrico d'urso a ?crit : > Hi, > > I have a Xcos file, where I inserted a PID and a DLR (G(Z).. > (I attached the source file). > I would like to know if is possibile get the transfer function in > closed loop, i.e: > PID + G(Z) , using scilab or XCOS . > > Thanks > > Best regards > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From paul.carrico at esterline.com Tue May 28 12:09:19 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Tue, 28 May 2013 12:09:19 +0200 Subject: [Scilab-users] unix_g in "interactive" mode Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9ACF4@exchsrv.auxitrol.ad> Dear All, I wrote a shell script that is launched into Scilab using "unix_g" function ; this script contains some "echo" in order to get precious information's. Unfortunatly I've noticed that all these information's are printed after the script ended ... is there a way to use it in "interactive" mode i.e. to print the "echo" in real time ? Thanks Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From e.durso at live.com Tue May 28 19:17:12 2013 From: e.durso at live.com (enrico d'urso) Date: Tue, 28 May 2013 19:17:12 +0200 Subject: [Scilab-users] [Insert Difference equation in XCos simulation] Message-ID: Hi, I need to insert the following difference equation in a Xcos diagram to launch a simulation: y(k+1) = y(k) [a*(1-y(k) ^ 0.5)] + b y(k-1) ; Where k is a discrete time, a and b are scalars that I know. What is the best way to make this? Thanks All Best Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From klaus-rohe at t-online.de Wed May 29 09:54:52 2013 From: klaus-rohe at t-online.de (Klaus Rohe) Date: Wed, 29 May 2013 09:54:52 +0200 Subject: [Scilab-users] Test driven development with scilab Message-ID: <001201ce5c41$cd54cf00$67fe6d00$@t-online.de> Are there tools for scilab which support test driven development with scilab like JUnit does for Java? Kind regards Klaus -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Wed May 29 14:01:54 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Wed, 29 May 2013 14:01:54 +0200 Subject: [Scilab-users] Test driven development with scilab In-Reply-To: <001201ce5c41$cd54cf00$67fe6d00$@t-online.de> References: <001201ce5c41$cd54cf00$67fe6d00$@t-online.de> Message-ID: <51A5EE32.4050102@scilab-enterprises.com> Le 29/05/2013 09:54, Klaus Rohe a ?crit : > > Are there tools for scilab which support test driven development with > scilab like JUnit does for Java? > > > Of course. Scilab has around 3000 tests run every night. You should have a look to: http://help.scilab.org/assert_overview http://help.scilab.org/test_run Sylvestre -------------- next part -------------- An HTML attachment was scrubbed... URL: From adershowitz at exponent.com Wed May 29 20:14:56 2013 From: adershowitz at exponent.com (Adam Dershowitz) Date: Wed, 29 May 2013 18:14:56 +0000 Subject: [Scilab-users] xcos threshold time block? Message-ID: <011BB2FD7D33AB49936FD297F594AEB8201CFC52@SFMB02.exponent.com> Is there a block in xcos that will trigger if a signal exceeds a threshold for a certain time? For example if I want to trigger a switch if another signal is continuously greater than 0 for 30 seconds? So, I need both a threshold value, and a time. And, anytime the value drops below that threshold it should reset. Thanks, -- Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From vuillemin.pierre.mobile at gmail.com Wed May 29 22:49:26 2013 From: vuillemin.pierre.mobile at gmail.com (pierre vuillemin) Date: Wed, 29 May 2013 22:49:26 +0200 Subject: [Scilab-users] Name of function's input arguments Message-ID: Hello, I would like to know if there exists a way to get the name of function's inputs arguments, i.e., if I have the following function function y = f(a,b) .. endfunction and that I call it like y = f(var1,var2), is it possible to know, inside my function f, that the first input argument a is called "var1" and that the second one is called "var2" ? Pierre -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Wed May 29 22:56:16 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Wed, 29 May 2013 22:56:16 +0200 Subject: [Scilab-users] Name of function's input arguments In-Reply-To: References: Message-ID: <51A66B70.7030002@centre-cired.fr> you cannot. But you can provide the function directly with the name of your variable, and transform te name of the variable into the variable by evaluating it... function f(nameofvar1,nameofvar2) var1 = evstr(nameofvar1) var2 = evstr(nameofvar2) disp(nameofvar1 + " + "+ nameofvar2 +" is "+string(var1 +var2)) endfunction a=5; b=7; f("a","b") On 29/05/2013 22:49, pierre vuillemin wrote: > Hello, > > I would like to know if there exists a way to get the name of > function's inputs arguments, i.e., if I have the following function > > function y = f(a,b) > .. > endfunction > > and that I call it like y = f(var1,var2), is it possible to know, > inside my function f, that the first input argument a is called "var1" > and that the second one is called "var2" ? > > Pierre > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at gmail.com Thu May 30 00:24:06 2013 From: stephane.mottelet at gmail.com (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Thu, 30 May 2013 00:24:06 +0200 Subject: [Scilab-users] Name of function's input arguments In-Reply-To: <51A66B70.7030002@centre-cired.fr> References: <51A66B70.7030002@centre-cired.fr> Message-ID: <51A68006.60203@utc.fr> You can do it with the macrovar primitive. S. Le 29/05/13 22:56, Adrien Vogt-Schilb a ?crit : > you cannot. > > But you can provide the function directly with the name of your > variable, and transform te name of the variable into the variable by > evaluating it... > > function f(nameofvar1,nameofvar2) > > var1 = evstr(nameofvar1) > var2 = evstr(nameofvar2) > disp(nameofvar1 + " + "+ nameofvar2 +" is "+string(var1 +var2)) > > endfunction > > a=5; > b=7; > > f("a","b") > > On 29/05/2013 22:49, pierre vuillemin wrote: >> Hello, >> >> I would like to know if there exists a way to get the name of >> function's inputs arguments, i.e., if I have the following function >> >> function y = f(a,b) >> .. >> endfunction >> >> and that I call it like y = f(var1,var2), is it possible to know, >> inside my function f, that the first input argument a is called >> "var1" and that the second one is called "var2" ? >> >> Pierre >> >> >> _______________________________________________ >> 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 rhamoy at gmail.com Wed May 29 23:19:48 2013 From: rhamoy at gmail.com (Rhandy Carvalho) Date: Wed, 29 May 2013 18:19:48 -0300 Subject: [Scilab-users] Javasci Message-ID: I started using the Javasci in my project. In my code, i try to use the method grand of Scilab, sci.exec("y=grand(10,1,'poi',0.1);"), but when i take the value with ScilabType yoo=sci.get("y") the message shows up: org.scilab.modules.javasci.JavasciException$UndefinedVariableException: Could not find variable 'y' and below this message appears: HDF5: infinite loop closing library A previous error has been detected while loading libscirandlib.so: //scilab-5.4.1/lib/scilab/libscirandlib.so: undefined symbol: pvApiCtx D,T,F,FD,P,FD,P,FD,P,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E,E I don't have any idea of what the problem is. Can anyone help me? -- * * *Rhandy Rafhael Carvalho * *Bacharelado em Sistemas de Informa??o - UFG* *Programador JavaEE - LabTIME* * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Thu May 30 09:41:01 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 30 May 2013 09:41:01 +0200 Subject: [Scilab-users] favor Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9ACFF@exchsrv.auxitrol.ad> Dear All, This is not directly a "scilab" request by it has to be intended to be used within ... I'm trying to find an equivalent to "@ECHO OFF" (under Windows) in a shell under linux OS ... I want to echo precious information's (thus I want to avoid /dev/null) Thanks for any advice Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From e.durso at live.com Thu May 30 09:44:30 2013 From: e.durso at live.com (enrico d'urso) Date: Thu, 30 May 2013 09:44:30 +0200 Subject: [Scilab-users] xcos threshold time block? In-Reply-To: <011BB2FD7D33AB49936FD297F594AEB8201CFC52@SFMB02.exponent.com> References: <011BB2FD7D33AB49936FD297F594AEB8201CFC52@SFMB02.exponent.com> Message-ID: Hi, I'm a very new user of Xcos, but when I don't find a block that can not meet my needs,Usually, I create a new block ,i.e: " scifunc_block_m ". Best Enrico From: adershowitz at exponent.com To: users at lists.scilab.org Date: Wed, 29 May 2013 18:14:56 +0000 Subject: [Scilab-users] xcos threshold time block? Is there a block in xcos that will trigger if a signal exceeds a threshold for a certain time? For example if I want to trigger a switch if another signal is continuously greater than 0 for 30 seconds? So, I need both a threshold value, and a time. And, anytime the value drops below that threshold it should reset. Thanks, -- Adam _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Thu May 30 09:44:47 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 30 May 2013 09:44:47 +0200 Subject: [Scilab-users] favor In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9ACFF@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9ACFF@exchsrv.auxitrol.ad> Message-ID: <51A7036F.5060704@laas.fr> On 30/05/2013 09:41, Carrico, Paul wrote: > Dear All, > This is not directly a "scilab" request by it has to be intended to be > used within ... > I'm trying to find an equivalent to "@ECHO OFF" (under Windows) in a > shell under linux OS ... I want to echo precious information's (thus I > want to avoid /dev/null) Did you try to redirect output to a tmp file: ls myfiles > tmp_listmyfiles and then read this file with scilab? > Thanks for any advice > Paul > -------------------------------------------------------------------------------- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. > > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Thu May 30 09:47:07 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 30 May 2013 09:47:07 +0200 Subject: [Scilab-users] echo with bash [was: favor] In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9ACFF@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9ACFF@exchsrv.auxitrol.ad> Message-ID: <51A703FB.3070201@scilab-enterprises.com> On 30/05/2013 09:41, Carrico, Paul wrote: > Dear All, > > This is not directly a "scilab" request by it has to be intended to be > used within ... > > I'm trying to find an equivalent to "@ECHO OFF" (under Windows) in a > shell under linux OS ... I want to echo precious information's (thus I > want to avoid /dev/null) sh -x yourscript.sh Sylvestre From paul.carrico at esterline.com Thu May 30 10:21:32 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 30 May 2013 10:21:32 +0200 Subject: [Scilab-users] echo with bash [was: favor] In-Reply-To: <51A703FB.3070201@scilab-enterprises.com> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0BA9AD00@exchsrv.auxitrol.ad> Thanks first for the answers, In order to temporary hide some information's, I used a pseudo-encryption using "shc" tool ... My shell becames a binary and I cannot use "sh" Of course I tried something "like 1>spy_file" but everything appears in the spy_file, not in the scilab console .... Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Sylvestre Ledru Envoy? : jeudi 30 mai 2013 09:47 ? : users at lists.scilab.org Objet : [Scilab-users] echo with bash [was: favor] On 30/05/2013 09:41, Carrico, Paul wrote: > Dear All, > > This is not directly a "scilab" request by it has to be intended to be > used within ... > > I'm trying to find an equivalent to "@ECHO OFF" (under Windows) in a > shell under linux OS ... I want to echo precious information's (thus I > want to avoid /dev/null) sh -x yourscript.sh Sylvestre _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From vuillemin.pierre.mobile at gmail.com Thu May 30 13:45:20 2013 From: vuillemin.pierre.mobile at gmail.com (pierre31) Date: Thu, 30 May 2013 04:45:20 -0700 (PDT) Subject: [Scilab-users] Name of function's input arguments In-Reply-To: <51A68006.60203@utc.fr> References: <51A66B70.7030002@centre-cired.fr> <51A68006.60203@utc.fr> Message-ID: <1369914320344-4026752.post@n3.nabble.com> I did not succeed in using the macrovar primitve, however, using who_user gives me an ordered list of my variables from which it is easy to extract the right strings. Thank you for your help. Pierre -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Name-of-function-s-input-arguments-tp4026742p4026752.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.