From jvfengda at yahoo.com Sun Dec 1 09:44:07 2013 From: jvfengda at yahoo.com (Da Feng) Date: Sun, 1 Dec 2013 00:44:07 -0800 (PST) Subject: [Scilab-users] axis tick size Message-ID: <1385887447.55638.YahooMailNeo@web163005.mail.bf1.yahoo.com> Hi: ? How can I enlarge the tics size of axises? It looks much smaller than the caption. ? DaFENG Coder Telecommunication && Network Industry Gmail:sunspiderX at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Sun Dec 1 18:22:35 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 01 Dec 2013 18:22:35 +0100 Subject: [Scilab-users] axis tick size In-Reply-To: <1385887447.55638.YahooMailNeo@web163005.mail.bf1.yahoo.com> References: <1385887447.55638.YahooMailNeo@web163005.mail.bf1.yahoo.com> Message-ID: <529B705B.2060601@free.fr> Hello, Le 01/12/2013 09:44, Da Feng a ?crit : > Hi: > How can I enlarge the tics size of axises? It looks much smaller than > the caption. It is presently not possible. It has been requested here: http://bugzilla.scilab.org/show_bug.cgi?id=10947 Regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From jheel4shah at gmail.com Mon Dec 2 18:39:26 2013 From: jheel4shah at gmail.com (jheel4shah) Date: Mon, 2 Dec 2013 09:39:26 -0800 (PST) Subject: [Scilab-users] microcontroller vs scilab Message-ID: what is the advantage of using scilab as controller instead of using a microcontroller??? -- View this message in context: http://mailinglists.scilab.org/microcontroller-vs-scilab-tp4027948.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hillionfx at yahoo.fr Tue Dec 3 00:19:44 2013 From: hillionfx at yahoo.fr (fxhillion) Date: Mon, 2 Dec 2013 15:19:44 -0800 (PST) Subject: [Scilab-users] refrigerant module for thermodynamic calculations Message-ID: <1386026384382-4027949.post@n3.nabble.com> I would like to perform thermodynamic analysis with Scilab So I need a library providing thermodynamic properties of common refrigerant (e.g. R410A, propane, ...) Something like Coolprop (working with Matlab and Octave) would be fine. Does this kind of module exist for Scilab ? Rgds -- View this message in context: http://mailinglists.scilab.org/refrigerant-module-for-thermodynamic-calculations-tp4027949.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jasper at amsterchem.com Tue Dec 3 09:02:19 2013 From: jasper at amsterchem.com (jasper van baten) Date: Tue, 03 Dec 2013 09:02:19 +0100 Subject: [Scilab-users] refrigerant module for thermodynamic calculations In-Reply-To: <1386026384382-4027949.post@n3.nabble.com> References: <1386026384382-4027949.post@n3.nabble.com> Message-ID: <529D900B.3070600@amsterchem.com> A very accurate thermodynamic server on refrigerants is REFPROP, available from NIST: http://www.nist.gov/srd/nist23.cfm Using this, you can access REFPROP via CAPE-OPEN: http://amsterchem.com/refpropco.html Using this, you can access all CAPE-OPEN based thermodynamics in Scilab: http://amsterchem.com/scilabthermo.html Note that this is only available for Windows. A small fee is required for NIST REFPROP itself, as well as for the other two components if used commercially. Best wishes, Jasper, AmsterCHEM On 12/3/2013 00:19, fxhillion wrote: > I would like to perform thermodynamic analysis with Scilab > So I need a library providing thermodynamic properties of common refrigerant > (e.g. R410A, propane, ...) > Something like Coolprop (working with Matlab and Octave) would be fine. > Does this kind of module exist for Scilab ? > Rgds > > > > -- > View this message in context: http://mailinglists.scilab.org/refrigerant-module-for-thermodynamic-calculations-tp4027949.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 samuel.enibe at unn.edu.ng Wed Dec 4 13:05:30 2013 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Wed, 4 Dec 2013 13:05:30 +0100 Subject: [Scilab-users] refrigerant module for thermodynamic calculations In-Reply-To: <529D900B.3070600@amsterchem.com> References: <1386026384382-4027949.post@n3.nabble.com> <529D900B.3070600@amsterchem.com> Message-ID: Thanks for this very useful information on thermodynamic calculations using SCILAB. Since this is only available for Windows users, is there a simple workaround for academic users under LINUX? Samuel Ogbonna Enibe Department of Mechanical Engineering University of Nigeria, Nsukka, Nigeria Tel: +2348063646798 Email: samuel.enibe at unn.edu.ng On 12/3/13, jasper van baten wrote: > A very accurate thermodynamic server on refrigerants is REFPROP, > available from NIST: http://www.nist.gov/srd/nist23.cfm > > Using this, you can access REFPROP via CAPE-OPEN: > http://amsterchem.com/refpropco.html > > Using this, you can access all CAPE-OPEN based thermodynamics in Scilab: > http://amsterchem.com/scilabthermo.html > > Note that this is only available for Windows. A small fee is required > for NIST REFPROP itself, as well as for the other two components if used > commercially. > > Best wishes, > > Jasper, AmsterCHEM > > On 12/3/2013 00:19, fxhillion wrote: >> I would like to perform thermodynamic analysis with Scilab >> So I need a library providing thermodynamic properties of common >> refrigerant >> (e.g. R410A, propane, ...) >> Something like Coolprop (working with Matlab and Octave) would be fine. >> Does this kind of module exist for Scilab ? >> Rgds >> >> >> >> -- >> View this message in context: >> http://mailinglists.scilab.org/refrigerant-module-for-thermodynamic-calculations-tp4027949.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 jasper at amsterchem.com Wed Dec 4 14:35:02 2013 From: jasper at amsterchem.com (jasper van baten) Date: Wed, 04 Dec 2013 14:35:02 +0100 Subject: [Scilab-users] refrigerant module for thermodynamic calculations In-Reply-To: References: <1386026384382-4027949.post@n3.nabble.com> <529D900B.3070600@amsterchem.com> Message-ID: <529F2F86.90705@amsterchem.com> Not a simple one. But in the case of specifically REFPROP, you could write a Scilab module that calls the REFPROP library directly. You would also have to compile REFPROP for linux, but it comes with source (once purchased). Best wishes, Jasper. On 12/4/2013 13:05, Samuel Enibe wrote: > Thanks for this very useful information on thermodynamic calculations > using SCILAB. Since this is only available for Windows users, is there > a simple workaround for academic users under LINUX? > > Samuel Ogbonna Enibe > Department of Mechanical Engineering > University of Nigeria, Nsukka, Nigeria > Tel: +2348063646798 > Email: samuel.enibe at unn.edu.ng > > > On 12/3/13, jasper van baten wrote: >> A very accurate thermodynamic server on refrigerants is REFPROP, >> available from NIST: http://www.nist.gov/srd/nist23.cfm >> >> Using this, you can access REFPROP via CAPE-OPEN: >> http://amsterchem.com/refpropco.html >> >> Using this, you can access all CAPE-OPEN based thermodynamics in Scilab: >> http://amsterchem.com/scilabthermo.html >> >> Note that this is only available for Windows. A small fee is required >> for NIST REFPROP itself, as well as for the other two components if used >> commercially. >> >> Best wishes, >> >> Jasper, AmsterCHEM >> >> On 12/3/2013 00:19, fxhillion wrote: >>> I would like to perform thermodynamic analysis with Scilab >>> So I need a library providing thermodynamic properties of common >>> refrigerant >>> (e.g. R410A, propane, ...) >>> Something like Coolprop (working with Matlab and Octave) would be fine. >>> Does this kind of module exist for Scilab ? >>> Rgds >>> >>> >>> >>> -- >>> View this message in context: >>> http://mailinglists.scilab.org/refrigerant-module-for-thermodynamic-calculations-tp4027949.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 haggerty at bnl.gov Thu Dec 5 02:38:43 2013 From: haggerty at bnl.gov (haggerty) Date: Wed, 4 Dec 2013 17:38:43 -0800 (PST) Subject: [Scilab-users] Scilab on Mavericks with Java 7? Message-ID: <1386207523405-4027974.post@n3.nabble.com> I have been trying to use Scilab since upgrading to Mac OS 10.9, but I have not been able to get past the the attached popup, which wants me to install Java 6. I have only Java 7, and I'd like to keep it that way. This seems to be the same with Scilab 5.4.1 and the nightly build of 5.5.0. Is there any way around this? -- View this message in context: http://mailinglists.scilab.org/Scilab-on-Mavericks-with-Java-7-tp4027974.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rfabbri at gmail.com Thu Dec 5 03:16:26 2013 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Thu, 5 Dec 2013 00:16:26 -0200 Subject: [Scilab-users] Scilab on Mavericks with Java 7? In-Reply-To: <1386207523405-4027974.post@n3.nabble.com> References: <1386207523405-4027974.post@n3.nabble.com> Message-ID: Hi, Here are some things you can try (all with nightly build or the latest source code from the master branch) 1) You can try setting up your environment and Scilab to use Java 7. On a terminal, have you tried: export JAVA_HOME=`/usr/libexec/java_home -v 1.7` SCIVERBOSE=1 scilab (also, what message do you get in the terminal when you simply run "scilab"?) 2) Perhaps the workaround in this link can help you, as I've needed it to get scilab to run on my macbook pro: http://bugzilla.scilab.org/show_bug.cgi?id=13087 3) You can try compiling Scilab, here are my notes which has been tested on OSX Mavericks http://wiki.nosdigitais.teia.org.br/Scilab PS: To understand Java and OSX there is this link http://blog.hgomez.net/blog/2012/07/20/understanding-java-from-command-line-on-osx/ Hope this can help, -- 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 Wed, Dec 4, 2013 at 11:38 PM, haggerty wrote: > I have been trying to use Scilab since upgrading to Mac OS 10.9, but I have > not been able to get past the the attached popup, which wants me to install > Java 6. I have only Java 7, and I'd like to keep it that way. This seems > to be the same with Scilab 5.4.1 and the nightly build of 5.5.0. > > > > Is there any way around this? > > > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-on-Mavericks-with-Java-7-tp4027974.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 haggerty at bnl.gov Fri Dec 6 03:34:47 2013 From: haggerty at bnl.gov (John Haggerty) Date: Thu, 05 Dec 2013 21:34:47 -0500 Subject: [Scilab-users] Scilab on Mavericks with Java 7? In-Reply-To: References: <1386207523405-4027974.post@n3.nabble.com> Message-ID: <52A137C7.2000600@bnl.gov> Hello, Thanks for the informative advice. I still can't start scilab, but I know a lot more about where java 7 goes in OS X. On 12/4/13, 9:17 PM, Ricardo Fabbri-2 [via Scilab / Xcos - Mailing Lists Archives] wrote: > Hi, > > Here are some things you can try (all with nightly build or the latest > source code from the master branch) > > 1) You can try setting up your environment and Scilab to use Java 7. > On a terminal, have you tried: > export JAVA_HOME=`/usr/libexec/java_home -v 1.7` > SCIVERBOSE=1 scilab > > (also, what message do you get in the terminal when you simply run > "scilab"?) The method used does not find a valid JVM: > [/Applications/scilab-master-1385142704.app/Contents/MacOS]$ bin/scilab > No Java runtime present, requesting install. This does not look good from SCIVERBOSE=1 bin/scilab: > IS_SCILAB_BINARY : 1 > Cannot find /Applications/scilab-master-1385142704.app/Contents/MacOS/thirdparty/java//lib//libjava.jnilib > SCI : /Applications/scilab-master-1385142704.app/Contents/MacOS/share/scilab > SCIBIN : ... > No Java runtime present, requesting install. > > 2) Perhaps the workaround in this link can help you, as I've needed it > to get scilab to run on my macbook pro: > http://bugzilla.scilab.org/show_bug.cgi?id=13087 I saw that bug, but adding a link to 1.5 doesn't help; I can't find any errors that point me to where it wants the jre. scilab -debug just tells me the same thing--no java runtime. > > 3) You can try compiling Scilab, here are my notes which has been > tested on OSX Mavericks http://wiki.nosdigitais.teia.org.br/Scilab I might try that at some point, but I'm not committed enough to getting scilab running (yet). > PS: To understand Java and OSX there is this link > http://blog.hgomez.net/blog/2012/07/20/understanding-java-from-command-line-on-osx/ Very informative, but my java installation seems perfectly clean: > [/Applications/scilab-master-1385142704.app/Contents/MacOS]$ /usr/libexec/java_home -V > Matching Java Virtual Machines (1): > 1.7.0_45, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home > > /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home > [/Applications/scilab-master-1385142704.app/Contents/MacOS]$ /usr/libexec/java_home -v 1.7 > /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home Maybe scilab just doesn't work with Java 1.7? > > Hope this can help, > > -- > 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 Wed, Dec 4, 2013 at 11:38 PM, haggerty <[hidden email] > > wrote: > > > I have been trying to use Scilab since upgrading to Mac OS 10.9, but > I have > > not been able to get past the the attached popup, which wants me to > install > > Java 6. I have only Java 7, and I'd like to keep it that way. This > seems > > to be the same with Scilab 5.4.1 and the nightly build of 5.5.0. > > > > > > > > Is there any way around this? > > > > > > > > -- > > View this message in context: > http://mailinglists.scilab.org/Scilab-on-Mavericks-with-Java-7-tp4027974.html > > Sent from the Scilab users - Mailing Lists Archives mailing list > archive at Nabble.com. > > _______________________________________________ > > users mailing list > > [hidden email] > > http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > > > ------------------------------------------------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://mailinglists.scilab.org/Scilab-on-Mavericks-with-Java-7-tp4027974p4027976.html > > To unsubscribe from Scilab on Mavericks with Java 7?, click here > . > NAML > > -- John Haggerty email: haggerty at bnl.gov cell: 631 741 3358 From rfabbri at gmail.com Sun Dec 8 00:16:53 2013 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Sat, 7 Dec 2013 21:16:53 -0200 Subject: [Scilab-users] Scilab on Mavericks with Java 7? In-Reply-To: <52A137C7.2000600@bnl.gov> References: <1386207523405-4027974.post@n3.nabble.com> <52A137C7.2000600@bnl.gov> Message-ID: > Maybe scilab just doesn't work with Java 1.7? > It should. It uses Java 1.7 on my computer. On Sept 3 I had posted something on getting Scilab to run on OSX Mavericks in the dev list which might be of use. Since you mentioned one error regarding jnilibs, > > Cannot find /Applications/scilab-master-1385142704.app/Contents/MacOS/thirdparty/java//lib//libjava.jnilib > Then you can try something I had to do here: I used all .jnilibs by copying them from the latest nightly build dmg. I placed the .jnilibs at /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Libraries (your jdk is jdk1.7.0_45 but you get the point). Ricardo. From ameni.khecharem at gmail.com Mon Dec 9 09:51:52 2013 From: ameni.khecharem at gmail.com (Akhechar) Date: Mon, 9 Dec 2013 00:51:52 -0800 (PST) Subject: [Scilab-users] HDF5: infinite loop closing library In-Reply-To: <5298C340.1020105@scilab-enterprises.com> References: <1385458200817-4027882.post@n3.nabble.com> <1385462306727-4027884.post@n3.nabble.com> <1385465291905-4027885.post@n3.nabble.com> <52948F18.3010809@laas.fr> <1385738797836-4027929.post@n3.nabble.com> <5298C340.1020105@scilab-enterprises.com> Message-ID: <1386579112124-4027990.post@n3.nabble.com> I am still waiting Calixte, Can u help please... -- View this message in context: http://mailinglists.scilab.org/HDF5-infinite-loop-closing-library-tp4027882p4027990.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Mon Dec 9 20:30:45 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Mon, 09 Dec 2013 20:30:45 +0100 Subject: [Scilab-users] HDF5: infinite loop closing library In-Reply-To: <1386579112124-4027990.post@n3.nabble.com> References: <1385458200817-4027882.post@n3.nabble.com> <1385462306727-4027884.post@n3.nabble.com> <1385465291905-4027885.post@n3.nabble.com> <52948F18.3010809@laas.fr> <1385738797836-4027929.post@n3.nabble.com> <5298C340.1020105@scilab-enterprises.com> <1386579112124-4027990.post@n3.nabble.com> Message-ID: <52A61A65.7090301@scilab-enterprises.com> Hi, Yes I will do it tomorrow. C On 09/12/2013 09:51, Akhechar wrote: > I am still waiting Calixte, Can u help please... > > > > -- > View this message in context: http://mailinglists.scilab.org/HDF5-infinite-loop-closing-library-tp4027882p4027990.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 -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From gnelson.zynrgy at gmail.com Tue Dec 10 06:48:24 2013 From: gnelson.zynrgy at gmail.com (Gary Nelson) Date: Mon, 9 Dec 2013 21:48:24 -0800 Subject: [Scilab-users] Scilab for MacOS-X 10.9 Mavericks? Message-ID: <3CC5F0BF-98C0-438D-AC32-C407AEDAD5C9@gmail.com> Scilab will not open, even using the latest beta version. The app appears to launch and no error messages come forth, but nothing happens. Is there any sense of what it takes to get support for this OS version? Gary Nelson gnelson.zynrgy at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent.couvert at scilab-enterprises.com Tue Dec 10 08:58:49 2013 From: vincent.couvert at scilab-enterprises.com (Vincent COUVERT) Date: Tue, 10 Dec 2013 08:58:49 +0100 Subject: [Scilab-users] Scilab for MacOS-X 10.9 Mavericks? In-Reply-To: <3CC5F0BF-98C0-438D-AC32-C407AEDAD5C9@gmail.com> References: <3CC5F0BF-98C0-438D-AC32-C407AEDAD5C9@gmail.com> Message-ID: <52A6C9B9.5030903@scilab-enterprises.com> Hello, The nightly-build version should work: http://www.scilab.org/en/development/nightly_builds/master Regards, Le 10/12/2013 06:48, Gary Nelson a ?crit : > Scilab will not open, even using the latest beta version. The app > appears to launch and no error messages come forth, but nothing happens. > > Is there any sense of what it takes to get support for this OS version? > > > Gary Nelson > gnelson.zynrgy at gmail.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 Dec 10 13:06:27 2013 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Tue, 10 Dec 2013 10:06:27 -0200 Subject: [Scilab-users] Scilab for MacOS-X 10.9 Mavericks? In-Reply-To: <3CC5F0BF-98C0-438D-AC32-C407AEDAD5C9@gmail.com> References: <3CC5F0BF-98C0-438D-AC32-C407AEDAD5C9@gmail.com> Message-ID: I had to do this about a month ago: http://bugzilla.scilab.org/show_bug.cgi?id=13087 perhaps it could help. -- 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 Tue, Dec 10, 2013 at 3:48 AM, Gary Nelson wrote: > Scilab will not open, even using the latest beta version. The app appears to > launch and no error messages come forth, but nothing happens. > > Is there any sense of what it takes to get support for this OS version? > > > Gary Nelson > gnelson.zynrgy at gmail.com > > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From calixte.denizet at scilab-enterprises.com Tue Dec 10 16:42:02 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Tue, 10 Dec 2013 16:42:02 +0100 Subject: [Scilab-users] HDF5: infinite loop closing library In-Reply-To: <1386579112124-4027990.post@n3.nabble.com> References: <1385458200817-4027882.post@n3.nabble.com> <1385462306727-4027884.post@n3.nabble.com> <1385465291905-4027885.post@n3.nabble.com> <52948F18.3010809@laas.fr> <1385738797836-4027929.post@n3.nabble.com> <5298C340.1020105@scilab-enterprises.com> <1386579112124-4027990.post@n3.nabble.com> Message-ID: <52A7364A.5040602@scilab-enterprises.com> On 09/12/2013 09:51, Akhechar wrote: > I am still waiting Calixte, Can u help please... Hi, I committed a fix: http://gitweb.scilab.org/?p=scilab.git;a=commit;h=70484b22ef07b370e9367ba1c417d0de4532d0d7 So the next nightly-built version should be ok. Best regards Calixte > > > > -- > View this message in context: http://mailinglists.scilab.org/HDF5-infinite-loop-closing-library-tp4027882p4027990.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 -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From yannispas at gmail.com Tue Dec 10 02:00:58 2013 From: yannispas at gmail.com (Yannis Pasvantis) Date: Mon, 9 Dec 2013 17:00:58 -0800 (PST) Subject: [Scilab-users] Scilab 5.4 stoped siplaying graphics Message-ID: <1386637258823-4027993.post@n3.nabble.com> Hi, I am using Scilab 5.4 (a complete newbie) and it suddenly stooped displaying graphics and showing the xcos palette. I was running a simulation in xcos (an example from the openeering tutorials: LHY_Scilab_Xcos_Tutorial_Part2), and I closed the palette, it never showed up again and graphics stopped displaying. I am using ubuntu 13.04 please help! TIA, Yannis -- View this message in context: http://mailinglists.scilab.org/Scilab-5-4-stoped-siplaying-graphics-tp4027993.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From ameni.khecharem at gmail.com Wed Dec 11 14:57:04 2013 From: ameni.khecharem at gmail.com (Akhechar) Date: Wed, 11 Dec 2013 05:57:04 -0800 (PST) Subject: [Scilab-users] HDF5: infinite loop closing library In-Reply-To: <52A7364A.5040602@scilab-enterprises.com> References: <1385458200817-4027882.post@n3.nabble.com> <1385462306727-4027884.post@n3.nabble.com> <1385465291905-4027885.post@n3.nabble.com> <52948F18.3010809@laas.fr> <1385738797836-4027929.post@n3.nabble.com> <5298C340.1020105@scilab-enterprises.com> <1386579112124-4027990.post@n3.nabble.com> <52A7364A.5040602@scilab-enterprises.com> Message-ID: <1386770224088-4028009.post@n3.nabble.com> Ohh Thanks Calixte !! :) -- View this message in context: http://mailinglists.scilab.org/HDF5-infinite-loop-closing-library-tp4027882p4028009.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From simmart37 at gmail.com Wed Dec 11 16:12:48 2013 From: simmart37 at gmail.com (simon_37) Date: Wed, 11 Dec 2013 07:12:48 -0800 (PST) Subject: [Scilab-users] Put .txt data in matrix Message-ID: <1386774768637-4028011.post@n3.nabble.com> Hi everybody, I want to extract data from .txt in matrix for plot a graphic. Unfortunaly files .txt have some headers For example : Constante de temps : 2Nombre de cycles : 2 ms Sensibilit? : 100 microV Tension AC de lecture : 1.000000E+3mV Fr?quence AC de lecture : 3.700000E+0kHz A min : -5.000000E+0 V A max : 5.000000E+0 V Pas de tension : 100.000000E-3 V Dur?e totale du cycle : 150.000000E+0 ms Dur?e de l'impulsion de tension : 150.000000E+0 ms Commentaires : d:\labview\20131125_161108_LL072 Informations sur la pointe : Colonnes 1 et 2 : X,Y de AIO, colonnes 3 et 4 : voies X,Y de AI1 /end 0.000 2.848 0.000 0.628 0.100 2.535 0.100 0.733 0.200 3.562 0.200 1.021 0.300 3.111 0.300 0.620 0.400 2.746 0.400 0.693 0.500 2.739 0.500 0.860 0.600 3.001 0.600 1.126 0.700 2.306 0.700 0.967 0.800 2.452 0.800 0.706 0.900 2.551 0.900 1.046 1.000 3.865 1.000 0.966 1.100 2.161 1.100 0.987 .... I already use the function read or functions mopen and mgetl and it doesn't work... I search the mean to begin the read at line number 15 of my file. I am trap. Regards Simon. -- View this message in context: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From krotersv at gmail.com Wed Dec 11 16:46:00 2013 From: krotersv at gmail.com (=?UTF-8?B?0KHRgtCw0L3QuNGB0LvQsNCy?=) Date: Wed, 11 Dec 2013 21:46:00 +0600 Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: <1386774768637-4028011.post@n3.nabble.com> References: <1386774768637-4028011.post@n3.nabble.com> Message-ID: <52A888B8.9020000@gmail.com> Hi. Try fscanfMat. Stanislav 11.12.2013 21:12, simon_37 ?????: > Hi everybody, > > I want to extract data from .txt in matrix for plot a graphic. > Unfortunaly files .txt have some headers > For example : > Constante de temps : 2Nombre de cycles : 2 > ms > Sensibilit? : 100 microV > Tension AC de lecture : 1.000000E+3mV > Fr?quence AC de lecture : 3.700000E+0kHz > A min : -5.000000E+0 V > A max : 5.000000E+0 V > Pas de tension : 100.000000E-3 V > Dur?e totale du cycle : 150.000000E+0 ms > Dur?e de l'impulsion de tension : 150.000000E+0 ms > Commentaires : d:\labview\20131125_161108_LL072 > Informations sur la pointe : > Colonnes 1 et 2 : X,Y de AIO, colonnes 3 et 4 : voies X,Y de AI1 > /end > > 0.000 2.848 0.000 0.628 > 0.100 2.535 0.100 0.733 > 0.200 3.562 0.200 1.021 > 0.300 3.111 0.300 0.620 > 0.400 2.746 0.400 0.693 > 0.500 2.739 0.500 0.860 > 0.600 3.001 0.600 1.126 > 0.700 2.306 0.700 0.967 > 0.800 2.452 0.800 0.706 > 0.900 2.551 0.900 1.046 > 1.000 3.865 1.000 0.966 > 1.100 2.161 1.100 0.987 > .... > > I already use the function read or functions mopen and mgetl and it doesn't > work... > I search the mean to begin the read at line number 15 of my file. > I am trap. > > Regards > Simon. > > > > > -- > View this message in context: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011.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 simmart37 at gmail.com Wed Dec 11 16:50:06 2013 From: simmart37 at gmail.com (simon_37) Date: Wed, 11 Dec 2013 07:50:06 -0800 (PST) Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: <52A888B8.9020000@gmail.com> References: <1386774768637-4028011.post@n3.nabble.com> <52A888B8.9020000@gmail.com> Message-ID: <1386777006525-4028013.post@n3.nabble.com> It doesn't work to, I already try it. It return me error 999 -- View this message in context: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011p4028013.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Christophe.Dang at sidel.com Wed Dec 11 17:04:15 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Wed, 11 Dec 2013 17:04:15 +0100 Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: <1386777006525-4028013.post@n3.nabble.com> References: <1386774768637-4028011.post@n3.nabble.com> <52A888B8.9020000@gmail.com> <1386777006525-4028013.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F325980D61@301EX00100.sidel.com> Hello, > De : simon_37 > > [...fscanfMat...] > It doesn't work to, I already try it. > It return me error 999 I tried it from the data you gave (copy/paste to a .txt file) and it worked. I don't know what error 999 is, it is not in the table http://help.scilab.org/docs/5.4.1/en_US/error_table.html Maybe you could send the text file atached so we can see what happens. 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 osvaldo at dcc.ufmg.br Wed Dec 11 17:43:13 2013 From: osvaldo at dcc.ufmg.br (Osvaldo Sergio Farhat de Carvalho) Date: Wed, 11 Dec 2013 14:43:13 -0200 Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: <1386777006525-4028013.post@n3.nabble.com> References: <1386777006525-4028013.post@n3.nabble.com>, <1386774768637-4028011.post@n3.nabble.com> <52A888B8.9020000@gmail.com> Message-ID: An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Wed Dec 11 18:38:28 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 11 Dec 2013 18:38:28 +0100 Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: <1386774768637-4028011.post@n3.nabble.com> References: <1386774768637-4028011.post@n3.nabble.com> Message-ID: <52A8A314.10706@laas.fr> Le 11/12/13 16:12, simon_37 a ?crit : > Hi everybody, Hi Simon, Can you send us the raw txt file to see what we can do? Usually the new csv functions should work, the only difficulty is being able to understand how to use the regular expression system to get rid of the comments. Cheers, Antoine > > I want to extract data from .txt in matrix for plot a graphic. > Unfortunaly files .txt have some headers > For example : > Constante de temps : 2Nombre de cycles : 2 > ms > Sensibilit? : 100 microV > Tension AC de lecture : 1.000000E+3mV > Fr?quence AC de lecture : 3.700000E+0kHz > A min : -5.000000E+0 V > A max : 5.000000E+0 V > Pas de tension : 100.000000E-3 V > Dur?e totale du cycle : 150.000000E+0 ms > Dur?e de l'impulsion de tension : 150.000000E+0 ms > Commentaires : d:\labview\20131125_161108_LL072 > Informations sur la pointe : > Colonnes 1 et 2 : X,Y de AIO, colonnes 3 et 4 : voies X,Y de AI1 > /end > > 0.000 2.848 0.000 0.628 > 0.100 2.535 0.100 0.733 > 0.200 3.562 0.200 1.021 > 0.300 3.111 0.300 0.620 > 0.400 2.746 0.400 0.693 > 0.500 2.739 0.500 0.860 > 0.600 3.001 0.600 1.126 > 0.700 2.306 0.700 0.967 > 0.800 2.452 0.800 0.706 > 0.900 2.551 0.900 1.046 > 1.000 3.865 1.000 0.966 > 1.100 2.161 1.100 0.987 > .... > > I already use the function read or functions mopen and mgetl and it doesn't > work... > I search the mean to begin the read at line number 15 of my file. > I am trap. > > Regards > Simon. > > > > > -- > View this message in context: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011.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 serge.steer at inria.fr Wed Dec 11 21:18:57 2013 From: serge.steer at inria.fr (Serge Steer) Date: Wed, 11 Dec 2013 21:18:57 +0100 (CET) Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: <1386774768637-4028011.post@n3.nabble.com> Message-ID: <675451170.2290827.1386793137660.JavaMail.root@inria.fr> The fscanfMat function should do the job Serge Steer ----- Mail original ----- > De: "simon_37" > ?: users at lists.scilab.org > Envoy?: Mercredi 11 D?cembre 2013 16:12:48 > Objet: [Scilab-users] Put .txt data in matrix > > Hi everybody, > > I want to extract data from .txt in matrix for plot a graphic. > Unfortunaly files .txt have some headers > For example : > Constante de temps : 2Nombre de cycles : 2 > ms > Sensibilit? : 100 microV > Tension AC de lecture : 1.000000E+3mV > Fr?quence AC de lecture : 3.700000E+0kHz > A min : -5.000000E+0 V > A max : 5.000000E+0 V > Pas de tension : 100.000000E-3 V > Dur?e totale du cycle : 150.000000E+0 ms > Dur?e de l'impulsion de tension : 150.000000E+0 ms > Commentaires : d:\labview\20131125_161108_LL072 > Informations sur la pointe : > Colonnes 1 et 2 : X,Y de AIO, colonnes 3 et 4 : voies X,Y de AI1 > /end > > 0.000 2.848 0.000 0.628 > 0.100 2.535 0.100 0.733 > 0.200 3.562 0.200 1.021 > 0.300 3.111 0.300 0.620 > 0.400 2.746 0.400 0.693 > 0.500 2.739 0.500 0.860 > 0.600 3.001 0.600 1.126 > 0.700 2.306 0.700 0.967 > 0.800 2.452 0.800 0.706 > 0.900 2.551 0.900 1.046 > 1.000 3.865 1.000 0.966 > 1.100 2.161 1.100 0.987 > .... > > I already use the function read or functions mopen and mgetl and it > doesn't > work... > I search the mean to begin the read at line number 15 of my file. > I am trap. > > Regards > Simon. > > > > > -- > View this message in context: > http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011.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 gnelson.zynrgy at gmail.com Thu Dec 12 01:39:54 2013 From: gnelson.zynrgy at gmail.com (Gary Nelson) Date: Wed, 11 Dec 2013 16:39:54 -0800 Subject: [Scilab-users] HDF5 support Message-ID: I recently saw a thread about the HDF5 file format. I was not aware that Scilab supported this. Can someone point me to documentation. Thanks Gary Nelson gnelson.zynrgy at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From amonmayr at laas.fr Thu Dec 12 07:01:55 2013 From: amonmayr at laas.fr (Antoine Monmayrant) Date: Thu, 12 Dec 2013 07:01:55 +0100 Subject: [Scilab-users] HDF5 support In-Reply-To: Message-ID: <6692-52a95180-7-ec661a@12326007> Le Jeudi 12 D?cembre 2013 01.39 CET, Gary Nelson a ?crit: > I recently saw a thread about the HDF5 file format. I was not aware that Scilab supported this. Can someone point me to documentation. > > Thanks > > > Gary Nelson > gnelson.zynrgy at gmail.com > > > > > Hi Gary, You can have a look here: http://help.scilab.org/docs/5.5.0-beta-1/en_US/section_2963681af984e36e26630a22883e3630.html (Scilab Help >> HDF5 Management) There is also a mininimalist demo (that I wrote) where you can get the source code to open and retrieve a dataset in a hdf5 file. Cheers, Antoine From simmart37 at gmail.com Thu Dec 12 10:45:31 2013 From: simmart37 at gmail.com (simon_37) Date: Thu, 12 Dec 2013 01:45:31 -0800 (PST) Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: References: <1386774768637-4028011.post@n3.nabble.com> <52A888B8.9020000@gmail.com> <1386777006525-4028013.post@n3.nabble.com> Message-ID: Hi Osvaldo, Thanks for your reply. I think your "piece" of code is the most efficient that I search. But Scilab don't recognize the "not" in the while loop parameters... I am trap. Regards Simon 2013/12/11 Osvaldo Carvalho [via Scilab / Xcos - Mailing Lists Archives] < ml-node+s994242n4028015h59 at n3.nabble.com> > If you want to ignore exactly the first 15 lines, you can use: > > f = mopen("your file","r"); > garbage = mgetl(f,15); > m = []; > while not meof(f) > line = mgetl(f,1); // read one line > lineNr = eval(tokens(line))'; // dont forget the ' > m = [m;lineNr]; // add one line to m > end > > -----"users" <[hidden email]> > escreveu: ----- > Para: [hidden email] > De: simon_37 > Enviado por: "users" > Data: 11/12/2013 01:50 PM > Assunto: Re: [Scilab-users] Put .txt data in matrix > > It doesn't work to, I already try it. > It return me error 999 > > > > -- > View this message in context: > http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011p4028013.html > > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > [hidden email] > http://lists.scilab.org/mailman/listinfo/users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011p4028015.html > To unsubscribe from Put .txt data in matrix, click here > . > NAML > -- View this message in context: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011p4028020.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilles.gobillot at cea.fr Thu Dec 12 11:01:07 2013 From: gilles.gobillot at cea.fr (GOBILLOT Gilles 116128) Date: Thu, 12 Dec 2013 10:01:07 +0000 Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: References: <1386774768637-4028011.post@n3.nabble.com> <52A888B8.9020000@gmail.com> <1386777006525-4028013.post@n3.nabble.com> Message-ID: <59863E6B3B5B7245A7B5660A00E8C899194A6A5D@EXDAG0-A0.intra.cea.fr> I use to read text files with Scilab. This piece of code is close to the one I use. To save time, one can give a dimension to ?m? : Instead of m=[] Prefer m=zeros(10000,4); // by-exemple Gilles Tel : +33 (0)4 42 25 20 33 - Mob : +33 (0) 6 87 99 19 57 - Fax : +33 (0)4 42 25 49 17 gilles.gobillot at cea.fr De : users [mailto:users-bounces at lists.scilab.org] De la part de simon_37 Envoy? : jeudi 12 d?cembre 2013 10:46 ? : users at lists.scilab.org Objet : Re: [Scilab-users] Put .txt data in matrix Hi Osvaldo, Thanks for your reply. I think your "piece" of code is the most efficient that I search. But Scilab don't recognize the "not" in the while loop parameters... I am trap. Regards Simon 2013/12/11 Osvaldo Carvalho [via Scilab / Xcos - Mailing Lists Archives] <[hidden email]> If you want to ignore exactly the first 15 lines, you can use: f = mopen("your file","r"); garbage = mgetl(f,15); m = []; while not meof(f) line = mgetl(f,1); // read one line lineNr = eval(tokens(line))'; // dont forget the ' m = [m;lineNr]; // add one line to m end -----"users" <[hidden email]> escreveu: ----- Para: [hidden email] De: simon_37 Enviado por: "users" Data: 11/12/2013 01:50 PM Assunto: Re: [Scilab-users] Put .txt data in matrix It doesn't work to, I already try it. It return me error 999 -- View this message in context: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011p4028013.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/users ________________________________ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011p4028015.html To unsubscribe from Put .txt data in matrix, click here. NAML ________________________________ View this message in context: Re: Put .txt data in matrix Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simmart37 at gmail.com Thu Dec 12 11:58:39 2013 From: simmart37 at gmail.com (simon_37) Date: Thu, 12 Dec 2013 02:58:39 -0800 (PST) Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: <59863E6B3B5B7245A7B5660A00E8C899194A6A5D@EXDAG0-A0.intra.cea.fr> References: <1386774768637-4028011.post@n3.nabble.com> <52A888B8.9020000@gmail.com> <1386777006525-4028013.post@n3.nabble.com> <59863E6B3B5B7245A7B5660A00E8C899194A6A5D@EXDAG0-A0.intra.cea.fr> Message-ID: <1386845919286-4028022.post@n3.nabble.com> Thanks you to everyone for their help. It's finally done. I drop my code : [FileName,PathName] = uigetfile('','','s?lectionnez le(s) fichier(s) ? traiter',%t); f = fullfile(PathName, FileName) f1 = mopen(f,"r"); garbage = mgetl(f1,15); m = []; while ~meof(f1) line = mgetl(f1,1) // read one line if line == [] then break end lineNr = eval(tokens(line))' // dont forget the ' m = [m;lineNr] // add one line to m end x1=m(:,1) y1=m(:,2) x2=m(:,3) y2=m(:,4) plot(x1,y1) Regards Simon -- View this message in context: http://mailinglists.scilab.org/Put-txt-data-in-matrix-tp4028011p4028022.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From osvaldo at dcc.ufmg.br Thu Dec 12 12:16:19 2013 From: osvaldo at dcc.ufmg.br (Osvaldo Sergio Farhat de Carvalho) Date: Thu, 12 Dec 2013 09:16:19 -0200 Subject: [Scilab-users] Put .txt data in matrix In-Reply-To: References: , <1386774768637-4028011.post@n3.nabble.com> <52A888B8.9020000@gmail.com> <1386777006525-4028013.post@n3.nabble.com> Message-ID: An HTML attachment was scrubbed... URL: From profisicasouza at gmail.com Fri Dec 13 02:26:33 2013 From: profisicasouza at gmail.com (daniel souza) Date: Thu, 12 Dec 2013 23:26:33 -0200 Subject: [Scilab-users] command Scilab/Matlab Message-ID: Hi, These line are Matlab: indata=inputdlg({'input filename'}); a = imread(indata{1}); How can I write these lines in scilab? Thanks. -- Daniel de Souza Santos Professor de F?sica UFRPE - UAST (81) 9988 6670 (87) 8855 3970 -------------- next part -------------- An HTML attachment was scrubbed... URL: From aero.g.vijay at gmail.com Fri Dec 13 03:04:25 2013 From: aero.g.vijay at gmail.com (Vijay Gopal) Date: Thu, 12 Dec 2013 20:04:25 -0600 Subject: [Scilab-users] LINEAR SYSTEMS AND BODE PLOT IN SCILAB REPORT Message-ID: Hi, I am a scilab user and I find it amazing about its capabilities. Recently I have encountered a problem for BODE PLOT for Linear Systems in continuous domain in scilab. I have made a report on it and attached herewith in pdf format. I hope this email will be beneficial for mutual progress. Also there are two files attached herewith Regards -- Vijay Gopal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Example 1.sce Type: application/octet-stream Size: 75 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Example 2.sce Type: application/octet-stream Size: 82 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: SCILAB REPORT Linear systems.pdf Type: application/pdf Size: 440868 bytes Desc: not available URL: From Christophe.Dang at sidel.com Fri Dec 13 09:07:33 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Fri, 13 Dec 2013 09:07:33 +0100 Subject: [Scilab-users] command Scilab/Matlab In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F3259DEA7E@301EX00100.sidel.com> Hello, > De : daniel souza > Envoy? : vendredi 13 d?cembre 2013 02:27 > > indata=inputdlg({'input filename'}); > a = imread(indata{1}); > > How can I write these lines in scilab? I don't know much Mtlab, but from its documentation http://www.mathworks.fr/fr/help/matlab/ref/imread.html it seems you want to read an image. There are several modules dedicated to picture processing, see http://atoms.scilab.org/categories/Image_Processing You may look at * SIP (Scilab Image Processing toolbox), * SIVP (Scilab Image and Video Processing toolbox) or * IPD (Image Processing Design toolbox) depending on what you want to do. With SIP and SIVP: image = imread("file_name") imshow(image) With IPD: image = ReadImage("file_name") ShowImage(image) 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 paul.bignier at scilab-enterprises.com Fri Dec 13 09:11:52 2013 From: paul.bignier at scilab-enterprises.com (Paul Bignier) Date: Fri, 13 Dec 2013 09:11:52 +0100 Subject: [Scilab-users] command Scilab/Matlab In-Reply-To: References: Message-ID: <52AAC148.2080503@scilab-enterprises.com> Hi, To open a mesagebox asking for the file name: indata=x_dialog("input filename", "default name"); Help page for x_dialog: http://help.scilab.org/docs/5.4.1/en_US/x_dialog.html Then look for SIVP toolbox in ATOMS for imread(). Regards, Paul On 12/13/2013 02:26 AM, daniel souza wrote: > Hi, > > These line are Matlab: > > indata=inputdlg({'input filename'}); > a = imread(indata{1}); > > How can I write these lines in scilab? > > Thanks. > -- > Daniel de Souza Santos > Professor de F?sica > UFRPE - UAST > (81) 9988 6670 > (87) 8855 3970 > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Paul BIGNIER Scilab Engineer & Xcos Developer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.69 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.bignier at scilab-enterprises.com Fri Dec 13 10:59:53 2013 From: paul.bignier at scilab-enterprises.com (Paul Bignier) Date: Fri, 13 Dec 2013 10:59:53 +0100 Subject: [Scilab-users] LINEAR SYSTEMS AND BODE PLOT IN SCILAB REPORT In-Reply-To: References: Message-ID: <52AADA99.2020703@scilab-enterprises.com> Hi, If it is any help, I broke down bode.sci's code to the job it really does. Example1.sce then comes down to (for the magnitude): clear; clc; s = poly(0, "s"); N = 1; D = (s+1); TF = syslin("c", N/D); // bode(TF) [frq, repf] = repfreq(TF, 1d-3, 1d3); [phi, d] = phasemag(repf); plot2d("ln" ,frq, d) f=gca(); f.grid = color("lightgrey")*ones(1, 3); You can indeed see that the computed magnitude does not match the theoretical one. The first example on this page also shows a gap ( s = poly(0, "s"); bode(syslin("c", 100/(s+30))); ) On 12/13/2013 03:04 AM, Vijay Gopal wrote: > Hi, > I am a scilab user and I find it amazing about its capabilities. > Recently I have encountered a problem for BODE PLOT for Linear Systems > in continuous domain in scilab. I have made a report on it and > attached herewith in pdf format. I hope this email will be beneficial > for mutual progress. Also there are two files attached herewith > Regards > -- > Vijay Gopal > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Paul BIGNIER Scilab Engineer & Xcos Developer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.69 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at kybdr.de Fri Dec 13 11:04:36 2013 From: lists at kybdr.de (Dirk Reusch) Date: Fri, 13 Dec 2013 11:04:36 +0100 Subject: [Scilab-users] LINEAR SYSTEMS AND BODE PLOT IN SCILAB REPORT In-Reply-To: References: Message-ID: <20131213110436.38d97a70@lemon> Hi Vijay, the frequency unit in scilab's bode plot is [Hz] and not [rad/s]! Regards, Dirk On Thu, 12 Dec 2013 20:04:25 -0600 Vijay Gopal wrote: > Hi, > > I am a scilab user and I find it amazing about its capabilities. > Recently I have encountered a problem for BODE PLOT for Linear > Systems in continuous domain in scilab. I have made a report on it > and attached herewith in pdf format. I hope this email will be > beneficial for mutual progress. Also there are two files attached > herewith Regards From paul.bignier at scilab-enterprises.com Fri Dec 13 11:24:36 2013 From: paul.bignier at scilab-enterprises.com (Paul Bignier) Date: Fri, 13 Dec 2013 11:24:36 +0100 Subject: [Scilab-users] LINEAR SYSTEMS AND BODE PLOT IN SCILAB REPORT In-Reply-To: <20131213110436.38d97a70@lemon> References: <20131213110436.38d97a70@lemon> Message-ID: <52AAE064.2030505@scilab-enterprises.com> Nice catch Dirk. In Scilab's latest nightly build , use bode's "rad" option to convert the frequency in rad/s. => clear; clc; s = poly(0, "s"); N = 1; D = (s+1); TF = syslin("c", N/D); bode(TF, "rad") You can also use bode_asymp() after bode() to check the asymptote: bode(TF, "rad") bode_asymp(TF) Regards, Pauli On 12/13/2013 11:04 AM, Dirk Reusch wrote: > Hi Vijay, > > the frequency unit in scilab's bode plot is [Hz] and not [rad/s]! > > Regards, > > Dirk > > On Thu, 12 Dec 2013 20:04:25 -0600 > Vijay Gopal wrote: > >> Hi, >> >> I am a scilab user and I find it amazing about its capabilities. >> Recently I have encountered a problem for BODE PLOT for Linear >> Systems in continuous domain in scilab. I have made a report on it >> and attached herewith in pdf format. I hope this email will be >> beneficial for mutual progress. Also there are two files attached >> herewith Regards > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Paul BIGNIER Scilab Engineer & Xcos Developer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.69 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cedric.dewijs at telfort.nl Fri Dec 13 17:32:01 2013 From: cedric.dewijs at telfort.nl (cedric.dewijs at telfort.nl) Date: 13 Dec 2013 17:32:01 +0100 Subject: [Scilab-users] PID controller, howto write this as S parameters? Message-ID: <21685534.234831386952321899.JavaMail.defaultUser@defaultHost> Hi All, I'm using xcos. I am trying to describe a PID controller as S parameters. So I want to make 3 CLR blocks. One for the P action, One for D and one for I. So I start Xcos, choose continuous time system, and then 3 CLR blocks. For the P=2 I set Numerator = "2" and Denominator = "1" (Without quotes) For the I=0.1 I set Numerator = "0.1" and Denominator = "s" (Without quotes) For the D=5 action I set Numerator = "5*s" and the denominator = "1" (Without quotes). Now I get the error message "Transfer function must be proper or strictly proper". In the source of scilab I see this error is thrown when the order of the numerator is higher than the order of the denominator. Is there a way around this? Best regards, Cedric -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiagocosta at feq.unicamp.br Fri Dec 13 18:17:09 2013 From: thiagocosta at feq.unicamp.br (Thiago Costa) Date: Fri, 13 Dec 2013 15:17:09 -0200 Subject: [Scilab-users] PID controller, howto write this as S parameters? In-Reply-To: <21685534.234831386952321899.JavaMail.defaultUser@defaultHost> References: <21685534.234831386952321899.JavaMail.defaultUser@defaultHost> Message-ID: Hello Cedric, You can implement it as a sum of terms U(s) = E(s)kc + E(s)/tis + tdsE(s) as depicted in the attached file. []'s Thiago C. -- Department of Chemical Systems Engineering School of Chemical Engineering University of Campinas (UNICAMP) 2013/12/13 cedric.dewijs at telfort.nl : > Hi All, > > I'm using xcos. I am trying to describe a PID controller as S parameters. So > I want to make 3 CLR blocks. One for the P action, One for D and one for I. > So I start Xcos, choose continuous time system, and then 3 CLR blocks. > > For the P=2 I set Numerator = "2" and Denominator = "1" (Without quotes) > For the I=0.1 I set Numerator = "0.1" and Denominator = "s" (Without quotes) > For the D=5 action I set Numerator = "5*s" and the denominator = "1" > (Without quotes). Now I get the error message "Transfer function must be > proper or strictly proper". In the source of scilab I see this error is > thrown when the order of the numerator is higher than the order of the > denominator. > > Is there a way around this? > > Best regards, > Cedric > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- A non-text attachment was scrubbed... Name: pid.png Type: image/png Size: 14211 bytes Desc: not available URL: From brunhartjakob at gmail.com Sun Dec 15 14:04:17 2013 From: brunhartjakob at gmail.com (brunjak) Date: Sun, 15 Dec 2013 05:04:17 -0800 (PST) Subject: [Scilab-users] WScilex.exe does not start anymore Message-ID: <1387112657318-4028045.post@n3.nabble.com> Hello I've been working with scilab 5.4.1 64 Bit and Windows 7 professional for several moths with no problem. And now, after putting my note book into sleep mode and putting it back to "work mode" scilab 5.4.1 was not responding anymore. I had to kill the process and startet WScilex.exe again but it hangs in the messagebox (general scilab and copyright informations). I uninstalled and installed scilab but with no success; same behavior. Scilex.exe seems to work fine. Before putting my note book into sleep mode I did not install any new software or any new update. Any idea? Thank you brunjak -- View this message in context: http://mailinglists.scilab.org/WScilex-exe-does-not-start-anymore-tp4028045.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Sun Dec 15 19:49:50 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Sun, 15 Dec 2013 19:49:50 +0100 Subject: [Scilab-users] WScilex.exe does not start anymore In-Reply-To: <1387112657318-4028045.post@n3.nabble.com> References: <1387112657318-4028045.post@n3.nabble.com> Message-ID: <52ADF9CE.8060308@centre-cired.fr> Hi Maybe the config file is broken. Try deleting the content of C:\Users\[USERNAME]\AppData\Roaming\Scilab\scilab-5.4.1 (or similar) and run scilab again On 15/12/2013 14:04, brunjak wrote: > Hello > > I've been working with scilab 5.4.1 64 Bit and Windows 7 professional for > several moths with no problem. And now, after putting my note book into > sleep mode and putting it back to "work mode" scilab 5.4.1 was not > responding anymore. I had to kill the process and startet WScilex.exe again > but it hangs in the messagebox (general scilab and copyright informations). > I uninstalled and installed scilab but with no success; same behavior. > Scilex.exe seems to work fine. Before putting my note book into sleep mode I > did not install any new software or any new update. Any idea? > > Thank you > brunjak > > > > -- > View this message in context: http://mailinglists.scilab.org/WScilex-exe-does-not-start-anymore-tp4028045.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 brunhartjakob at gmail.com Mon Dec 16 11:15:54 2013 From: brunhartjakob at gmail.com (brunjak) Date: Mon, 16 Dec 2013 02:15:54 -0800 (PST) Subject: [Scilab-users] WScilex.exe does not start anymore In-Reply-To: <52ADF9CE.8060308@centre-cired.fr> References: <1387112657318-4028045.post@n3.nabble.com> <52ADF9CE.8060308@centre-cired.fr> Message-ID: <1387188954311-4028047.post@n3.nabble.com> Hi you were right. After deleting the config-files scilab runs fine. Thank you brunjak -- View this message in context: http://mailinglists.scilab.org/WScilex-exe-does-not-start-anymore-tp4028045p4028047.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From communication at scilab-enterprises.com Tue Dec 17 08:56:46 2013 From: communication at scilab-enterprises.com (Scilab Communications) Date: Tue, 17 Dec 2013 08:56:46 +0100 Subject: [Scilab-users] REMINDER: 1 month left to submit your abstract for ScilabTEC 2014 Message-ID: <52B003BE.4020201@scilab-enterprises.com> Is this email not displaying correctly? View it in your browser ScilabTEC Call for Papers ScilabTEC is the annual meeting of current and future Scilab users which has become the major event of numerical computation and simulation community since 2009. SUBMIT YOUR ABSTRACT at scilabtec at scilab-enterprises.com Deadline for abstract submission: 17th January 2014 The Conference Commitee welcomes abstracts on the main scientific domains using Scilab/Xcos for numerical computation such as automotive, aeronautics, space, energy, defense, telecommunications, biomedical, finance, transportation, environment. The purpose of the presentation is to show the full potential of Scilab/Xcos for solving real life problems. In particular, Scilab industrial applications and new Scilab external modules presentations will be greatly appreciated. http://www.scilabtec.com Communication Department, Scilab Enterprises | communication at scilab-enterprises.com 143bis rue Yves Le Coz - 78000 Versailles | www.scilab-enterprises.com - www.scilab.org scilabtec -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 12875 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 16786 bytes Desc: not available URL: From Christophe.Dang at sidel.com Thu Dec 19 08:59:30 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 19 Dec 2013 08:59:30 +0100 Subject: [Scilab-users] Building a f(P, T) matrix from P and T line vectors Message-ID: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> Dear all, I often have to work with 2-variable functions, e.g. from equations of state involving pressure and temperature. I have a range of P and T and build line vectors, with linspace() or v1:p:v2. The Kronecker product allows an easy build of P*T P'.*.T -> [P(1)*T(1) P(1)*T(2) P(2)*T(1) P(2)*T(2)] Now, I'd like to have the same thing with the sum, without using a loop (of course it's not the sum only, there are adequate coefficients and it's possibly enclosed in a exp() function or so). A colleague of mine suggested the following way which works well: sP = size(P, "c"); sT = size(T, "c"); P_matrix = P'*ones(1, sT); T_matrix = T*ones(sP, 1); P_matrix + T_matrix -> [P(1)+T(1) P(1)+T(2) P(2)+T(1) P(2)+T(2)] Now my question: is there a more convenient way to do this, and especially, if I want to generate a f(P, T) matrix, do I have to build P_matrix and T_matrix and perform f(P_matrix, T_matrix) or is there a way to get it directly from the P and T vectors? -- Christophe Dang Ngoc Chan Mechanical calculation engineer Sidel Group Sidel Blowing & Services CS 60627, 76059 Le Havre cedex, France Avenue de la Patrouille de France Tel: 33(0)2 32 85 89 32 Fax: 33(0)2 32 85 91 17 ______________________________________________________________________ This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. ______________________________________________________________________ From Christophe.Dang at sidel.com Thu Dec 19 09:01:28 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 19 Dec 2013 09:01:28 +0100 Subject: [Scilab-users] [correction] Building a f(P, T) matrix from P and T line vectors Message-ID: <3B5FFC67498DFF49AE7271A584867D16F325B3C896@301EX00100.sidel.com> Sorry, small error > -----Message d'origine----- > De : Dang, Christophe > Envoy? : jeudi 19 d?cembre 2013 09:00 > > T_matrix = T*ones(sP, 1); Of course, you have to read T_matrix = ones(sP, 1)*T; 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 antoine.monmayrant at laas.fr Thu Dec 19 14:19:47 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 19 Dec 2013 14:19:47 +0100 Subject: [Scilab-users] Building a f(P, T) matrix from P and T line vectors In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> References: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> Message-ID: <52B2F273.9070302@laas.fr> Le 19/12/13 08:59, Dang, Christophe a ?crit : > Dear all, > > I often have to work with 2-variable functions, > e.g. from equations of state involving pressure and temperature. > > I have a range of P and T and build line vectors, > with linspace() or v1:p:v2. > > The Kronecker product allows an easy build of P*T > > P'.*.T > -> > [P(1)*T(1) P(1)*T(2) > P(2)*T(1) P(2)*T(2)] > > Now, I'd like to have the same thing with the sum, > without using a loop > (of course it's not the sum only, > there are adequate coefficients > and it's possibly enclosed in a exp() function or so). > > A colleague of mine suggested the following way > which works well: > > sP = size(P, "c"); > sT = size(T, "c"); > > P_matrix = P'*ones(1, sT); > T_matrix = T*ones(sP, 1); > > P_matrix + T_matrix > -> > [P(1)+T(1) P(1)+T(2) > P(2)+T(1) P(2)+T(2)] > > Now my question: > > is there a more convenient way to do this, Hi Christophe, I use this approach all the time and I haven't found a better way. > and especially, > if I want to generate a f(P, T) matrix, > do I have to build P_matrix and T_matrix and perform > > f(P_matrix, T_matrix) > > or is there a way to get it directly from the P and T vectors? Well, again, I do the same and be glad to hear about a better way. I think this approaches might not be optimal in term of memory usage... Cheers, Antoine > From vogt at centre-cired.fr Thu Dec 19 15:13:34 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 19 Dec 2013 15:13:34 +0100 Subject: [Scilab-users] Building a f(P, T) matrix from P and T line vectors In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> References: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> Message-ID: <52B2FF0E.6040908@centre-cired.fr> On 19/12/2013 08:59, Dang, Christophe wrote: > Dear all, > > I often have to work with 2-variable functions, > e.g. from equations of state involving pressure and temperature. > > I have a range of P and T and build line vectors, > with linspace() or v1:p:v2. > > The Kronecker product allows an easy build of P*T > > P'.*.T > -> > [P(1)*T(1) P(1)*T(2) > P(2)*T(1) P(2)*T(2)] > > Now, I'd like to have the same thing with the sum, > without using a loop > (of course it's not the sum only, > there are adequate coefficients > and it's possibly enclosed in a exp() function or so). > > A colleague of mine suggested the following way > which works well: > > sP = size(P, "c"); > sT = size(T, "c"); > > P_matrix = P'*ones(1, sT); > T_matrix = T*ones(sP, 1); > > P_matrix + T_matrix > -> > [P(1)+T(1) P(1)+T(2) > P(2)+T(1) P(2)+T(2)] > > Now my question: > > is there a more convenient way to do this, > and especially, > if I want to generate a f(P, T) matrix, > do I have to build P_matrix and T_matrix and perform > > f(P_matrix, T_matrix) > > or is there a way to get it directly from the P and T vectors? > Hi I believe the most convinient think to do is to write a function. Here is an example that works for the sum, but also any arbitrary function f: functiony=map_fun(P,T,f)sP=size(P,"c")sT=size(T,"c")P_=P'*ones(1,sT)T_=ones(sP,1)*Ty=f(P_,T_)endfunctionfunctiony=somme(a,b)y=a+bendfunctionfunctiony=power(a,b)y=a.^bendfunctionP=linspace(3,30,7)T=linspace(0,15,7)map_fun(P,T,somme)["+"string(P);string(T')string(map_fun(P,T,somme))] !+ 3 7.5 12 16.5 21 25.5 30 ! ! ! !0 3 5.5 8 10.5 13 15.5 18 ! ! ! !2.5 7.5 10 12.5 15 17.5 20 22.5 ! ! ! !5 12 14.5 17 19.5 22 24.5 27 ! ! ! !7.5 16.5 19 21.5 24 26.5 29 31.5 ! ! ! !10 21 23.5 26 28.5 31 33.5 36 ! ! ! !12.5 25.5 28 30.5 33 35.5 38 40.5 ! ! ! !15 30 32.5 35 37.5 40 42.5 45 ! ["^"string(P);string(T')string(map_fun(P,T,power))] !^ 3 7.5 12 16.5 21 25.5 30 ! ! ! !0 1 15.588457 243 3787.9951 59049 920482.81 14348907 ! ! ! !2.5 1 154.04697 23730.469 3655606.8 5.631D+08 8.675D+10 1.336D+13 ! ! ! !5 1 498.83063 248832 1.241D+08 6.192D+10 3.089D+13 1.541D+16 ! ! ! !7.5 1 1105.8847 1222981 1.352D+09 1.496D+12 1.654D+15 1.829D+18 ! ! ! !10 1 2020.9159 4084101 8.254D+09 1.668D+13 3.371D+16 6.812D+19 ! ! ! !12.5 1 3283.6015 10782039 3.540D+10 1.163D+14 3.817D+17 1.253D+21 ! ! ! !15 1 4929.503 24300000 1.198D+11 5.905D+14 2.911D+18 1.435D+22 ! Cheer Adrien Vogt-Schilb Exported from Notepad++ -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Thu Dec 19 15:17:54 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 19 Dec 2013 15:17:54 +0100 Subject: [Scilab-users] Building a f(P, T) matrix from P and T line vectors In-Reply-To: <52B2FF0E.6040908@centre-cired.fr> References: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> <52B2FF0E.6040908@centre-cired.fr> Message-ID: <52B30012.6060808@centre-cired.fr> Same thing without formating: function y = map_fun(P,T,f) sP = size(P, "c") sT = size(T, "c") P_= P'*ones(1, sT) T_ = ones(sP, 1)*T y = f(P_,T_) endfunction function y=somme(a,b) y=a+b endfunction function y=power(a,b) y=a.^b endfunction P = linspace(3,30,7) T = linspace(0,15,7) map_fun(P,T,somme) -->["+" string(P); string(T') string(map_fun(P,T,somme))] ans = !+ 3 7.5 12 16.5 21 25.5 30 ! ! ! !0 3 5.5 8 10.5 13 15.5 18 ! ! ! !2.5 7.5 10 12.5 15 17.5 20 22.5 ! ! ! !5 12 14.5 17 19.5 22 24.5 27 ! ! ! !7.5 16.5 19 21.5 24 26.5 29 31.5 ! ! ! !10 21 23.5 26 28.5 31 33.5 36 ! ! ! !12.5 25.5 28 30.5 33 35.5 38 40.5 ! ! ! !15 30 32.5 35 37.5 40 42.5 45 ! -->["^" string(P); string(T') string(map_fun(P,T,power))] ans = !^ 3 7.5 12 16.5 21 25.5 30 ! ! ! !0 1 15.588457 243 3787.9951 59049 920482.81 14348907 ! ! ! !2.5 1 154.04697 23730.469 3655606.8 5.631D+08 8.675D+10 1.336D+13 ! ! ! !5 1 498.83063 248832 1.241D+08 6.192D+10 3.089D+13 1.541D+16 ! ! ! !7.5 1 1105.8847 1222981 1.352D+09 1.496D+12 1.654D+15 1.829D+18 ! ! ! !10 1 2020.9159 4084101 8.254D+09 1.668D+13 3.371D+16 6.812D+19 ! ! ! !12.5 1 3283.6015 10782039 3.540D+10 1.163D+14 3.817D+17 1.253D+21 ! ! ! !15 1 4929.503 24300000 1.198D+11 5.905D+14 2.911D+18 1.435D+22 ! CheerS again Adrien From vogt at centre-cired.fr Thu Dec 19 15:26:36 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 19 Dec 2013 15:26:36 +0100 Subject: [Scilab-users] Building a f(P, T) matrix from P and T line vectors In-Reply-To: <52B30012.6060808@centre-cired.fr> References: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> <52B2FF0E.6040908@centre-cired.fr> <52B30012.6060808@centre-cired.fr> Message-ID: <52B3021C.6010104@centre-cired.fr> On 19/12/2013 15:17, Adrien Vogt-Schilb wrote: > > function y = map_fun(P,T,f) > sP = size(P, "c") > sT = size(T, "c") > P_= P'*ones(1, sT) > T_ = ones(sP, 1)*T > y = f(P_,T_) > endfunction > > > function y=somme(a,b) > y=a+b > endfunction > > function y=power(a,b) > y=a.^b > endfunction > > P = linspace(3,30,7) > T = linspace(0,15,7) > > map_fun(P,T,somme) > > Sorry, the correct vizualisation is: ["+" string(T); string(P') string(map_fun(P,T,somme))] !+ 0 2.5 5 7.5 10 12.5 15 ! ! ! !3 3 5.5 8 10.5 13 15.5 18 ! ! ! !7.5 7.5 10 12.5 15 17.5 20 22.5 ! ! ! !12 12 14.5 17 19.5 22 24.5 27 ! ! ! !16.5 16.5 19 21.5 24 26.5 29 31.5 ! ! ! !21 21 23.5 26 28.5 31 33.5 36 ! ! ! !25.5 25.5 28 30.5 33 35.5 38 40.5 ! ! ! !30 30 32.5 35 37.5 40 42.5 45 ! ["^" string(T); string(P') string(map_fun(P,T,power))] !^ 0 2.5 5 7.5 10 12.5 15 ! ! ! !3 1 15.588457 243 3787.9951 59049 920482.81 14348907 ! ! ! !7.5 1 154.04697 23730.469 3655606.8 5.631D+08 8.675D+10 1.336D+13 ! ! ! !12 1 498.83063 248832 1.241D+08 6.192D+10 3.089D+13 1.541D+16 ! ! ! !16.5 1 1105.8847 1222981 1.352D+09 1.496D+12 1.654D+15 1.829D+18 ! ! ! !21 1 2020.9159 4084101 8.254D+09 1.668D+13 3.371D+16 6.812D+19 ! ! ! !25.5 1 3283.6015 10782039 3.540D+10 1.163D+14 3.817D+17 1.253D+21 ! ! ! !30 1 4929.503 24300000 1.198D+11 5.905D+14 2.911D+18 1.435D+22 ! (anyway, you see the point I guess) -- Adrien Vogt-Schilb PhD Student (Cired) From sgougeon at free.fr Fri Dec 20 11:04:40 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 20 Dec 2013 11:04:40 +0100 Subject: [Scilab-users] Building a f(P, T) matrix from P and T line vectors In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> References: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> Message-ID: <52B41638.90205@free.fr> Hi Christophe, Le 19/12/2013 08:59, Dang, Christophe a ?crit : > .../... > > P_matrix + T_matrix > -> > [P(1)+T(1) P(1)+T(2) > P(2)+T(1) P(2)+T(2)] > > Now my question: > > is there a more convenient way to do this, > and especially, > if I want to generate a f(P, T) matrix, > do I have to build P_matrix and T_matrix and perform > > f(P_matrix, T_matrix) > > or is there a way to get it directly from the P and T vectors? feval(Pvector, Tvector, f, ..) will do that, but much slowly than when using the native Scilab vectorization. You may tic-toc your application to test this alternative. Cheers Samuel From Christophe.Dang at sidel.com Fri Dec 20 16:22:50 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Fri, 20 Dec 2013 16:22:50 +0100 Subject: [Scilab-users] Building a f(P, T) matrix from P and T line vectors In-Reply-To: <52B41638.90205@free.fr> References: <3B5FFC67498DFF49AE7271A584867D16F325B3C87F@301EX00100.sidel.com> <52B41638.90205@free.fr> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F325BE0738@301EX00100.sidel.com> Thanks to all for your advice. I'll be AFK for a week, so I wish you all my best wishes for what you know. 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 communication at scilab-enterprises.com Fri Dec 20 16:41:56 2013 From: communication at scilab-enterprises.com (Scilab Communications) Date: Fri, 20 Dec 2013 16:41:56 +0100 Subject: [Scilab-users] =?iso-8859-1?q?Stages_en_d=E9veloppement_/_Develop?= =?iso-8859-1?q?ment_Internships?= Message-ID: <52B46544.8030807@scilab-enterprises.com> Dear all, Scilab Enterprises is currently looking for several trainees in development. The following topics will be covered: * NAO robot control module * Xcos blocks configuration interfaces improvement * Xcos blocks creation * Docbook to FO converter / Documentation indexer * Frequency analysis module creation * Xcos blocks automatic generator All details are available at http://www.scilab-enterprises.com/fr/company/career Please receive all our best greetings and wishes for 2014. Best Regards ---------------------------- Chers utilisateurs de Scilab, Scilab Enterprises recherche plusieurs stagiaires en d?veloppement Les sujets suivants seront trait?s lors de ces stages : * Module de pilotage robot NAO * Am?lioration des interfaces de param?trage des blocs Xcos * Cr?ation de blocs Xcos * Convertisseur Docbook vers FO / Indexeur documentation * Cr?ation d'un module d'analyse fr?quentielle * G?n?rateur automatique de blocs Xcos Tous les d?tails sont disponibles en ligne sur http://www.scilab-enterprises.com/fr/company/career En vous souhaitant de tr?s bonnes f?tes de fin d'ann?e Bien cordialement, -- Communication Department, Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles (France) http://www.scilab-enterprises.com - http://www.scilab.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From viniciussucupira at gmail.com Sat Dec 21 06:49:45 2013 From: viniciussucupira at gmail.com (email1018) Date: Fri, 20 Dec 2013 21:49:45 -0800 (PST) Subject: [Scilab-users] How to solve this modular inequality in scilab? Message-ID: <1387604985556-4028097.post@n3.nabble.com> |x| <= 6 -- View this message in context: http://mailinglists.scilab.org/How-to-solve-this-modular-inequality-in-scilab-tp4028097.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From iai at axelspace.com Sat Dec 21 12:29:55 2013 From: iai at axelspace.com (Iai Masafumi ax) Date: Sat, 21 Dec 2013 20:29:55 +0900 Subject: [Scilab-users] printing a boolean value Message-ID: <52B57BB3.9030507@axelspace.com> How do I print a boolean value? Any of these gave me an error: mprintf("%d\n", %T) mprintf("%i\n", %T) mprintf("%o\n", %T) mprintf("%u\n", %T) mprintf("%x\n", %T) mprintf("%X\n", %T) mprintf("%e\n", %T) mprintf("%E\n", %T) mprintf("%f\n", %T) mprintf("%g\n", %T) mprintf("%G\n", %T) Thanks, Iai From sdr at durietz.se Sat Dec 21 12:37:24 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Sat, 21 Dec 2013 12:37:24 +0100 Subject: [Scilab-users] How to solve this modular inequality in scilab? In-Reply-To: <1387604985556-4028097.post@n3.nabble.com> References: <1387604985556-4028097.post@n3.nabble.com> Message-ID: <52B57D74.4020202@durietz.se> On 2013-12-21 06:49, email1018 wrote: -------------------- > |x| <= 6 > > > > -- > View this message in context: http://mailinglists.scilab.org/How-to-solve-this-modular-inequality-in-scilab-tp4028097.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 > Like this? -->x = [-7 -6 -5 5 6 7] x = - 7. - 6. - 5. 5. 6. 7. -->abs(x) <= 6 ans = F T T T T F Regards /Stefan From sdr at durietz.se Sat Dec 21 12:48:15 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Sat, 21 Dec 2013 12:48:15 +0100 Subject: [Scilab-users] printing a boolean value In-Reply-To: <52B57BB3.9030507@axelspace.com> References: <52B57BB3.9030507@axelspace.com> Message-ID: <52B57FFF.7060303@durietz.se> On 2013-12-21 12:29, Iai Masafumi ax wrote: -------------------- > How do I print a boolean value? Any of these gave me an error: > > mprintf("%d\n", %T) > mprintf("%i\n", %T) > mprintf("%o\n", %T) > mprintf("%u\n", %T) > mprintf("%x\n", %T) > mprintf("%X\n", %T) > mprintf("%e\n", %T) > mprintf("%E\n", %T) > mprintf("%f\n", %T) > mprintf("%g\n", %T) > mprintf("%G\n", %T) > > Thanks, > Iai I usually do it like this: -->mprintf("%i\n", bool2s([%T; %F])) 1 0 Regards /Stefan From n.p.fenger at gmail.com Sun Dec 22 19:13:58 2013 From: n.p.fenger at gmail.com (Niels Peter Fenger) Date: Sun, 22 Dec 2013 19:13:58 +0100 Subject: [Scilab-users] Plot function in scilab In-Reply-To: References: <520956E8.8020800@gmail.com> <52128015.4090105@gmail.com> Message-ID: <52B72BE6.5050700@gmail.com> To Lester I have nov installed Windows 7 on my computer and plotting is working well. I have now made some usefull tasks successfully using Scilab. Thank you for guiding me. Regards Niels Peter Fenger On 19-08-2013 23:55, Lester Anderson wrote: > Hello Niels, > > I am not sure if the Windows version is the issue, but are you on > 32-bit or 64-bit ? Not too familiar with Windows Vista other than it > always seemed to hog loads of memory. > > The code you had works fine on Windows 7 at least - it is a very > simple program so should run. > > I have attached the code as a .sci file so you can load it up in > SciNotes and execute it directly, or copy straight to the console > window. We need to see where you are having problems; the plot command > should not cause any problems. > > If you can try Scilab on a different machine, with say Windows 7 then > we can have a better idea as to what is going on. > function f=myquadratic(x) > f = x^2 > endfunction > xdata = linspace(1 , 10 , 50); > ydata = myquadratic(xdata); > plot (xdata , ydata); > xlabel("X-Data"); > ylabel("Y-Data"); > title("myquadratic"); > > Lester > > > On 19 August 2013 21:29, Niels Peter Fenger > wrote: > > To Lester > > Thank you for your mail. I have now installed Scilab 5.4.1 instead > of version 5.4.0. The problem is however the same: Without the > plot command in line 0006 the xdata and the ydata are shown > correct. When i include the plot command and execute everything > disappears from the screen. My computer has Wista, could that be > the reason? > > Regards > > Niels Peter Fenger > > > > Den 13-08-2013 07:42, Lester Anderson skrev: >> Works fine on 5.4.1 (Windows 7) >> >> function f=myquadratic(x) >> f = x^2 >> endfunction >> xdata = linspace(1 , 10 , 50); >> ydata = myquadratic(xdata); >> plot (xdata , ydata); >> xlabel("X-Data"); >> ylabel("Y-Data"); >> title("myquadratic"); >> >> >> Lester >> >> >> On 12 August 2013 22:43, Niels Peter Fenger > > wrote: >> >> Hi, >> >> I have installed scilab and most of it works all right. I >> have however a problem with the flot function. I can >> illustrate the problem by the attached file plot-1.sce. When >> line no 0006 is omited, the xdata and the ydata are made >> correct. When I include the plot command line no. 0006 and >> run the file, scilab disappears from my screen and I cannot >> see any error message. How can I produce a plot? >> >> Regards >> >> Niels Peter Fenger >> >> E-mail: n.p.fenger at gmail.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 > > > _______________________________________________ > 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 --- Denne e-mail er fri for virus og malware fordi avast! Antivirus beskyttelse er aktiveret. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From n_hizume at nifty.com Thu Dec 26 14:18:55 2013 From: n_hizume at nifty.com (=?iso-2022-jp?B?GyRCSHVEXiEhPy5JVxsoQg==?=) Date: Thu, 26 Dec 2013 22:18:55 +0900 Subject: [Scilab-users] Xcos RLC_Modelica electrical circuit demo Message-ID: <538A23F934EE4C8582C60C9777BEA15E@E515> Dear Everyone: I have tried the RLC_Modelica demo recently and found the result was not correct due to faulty wiring of blocks. In that circuit the phase of the voltage should exceed that of the current by ?/2 rad. But the result shows the opposite because the VsourceAC and the CurrentSensor are connected wrongly. If you connect the VsourceAC?s black positive port to the resistor?s black port and the CurrentSensor?s black port to the VoltageSensor?s white port, you get the correct result. Please let me know your opinion. For your information, I?ve been using Scilab5.4.1. with Windows7 and Visual C++ 2010 express. Regards, Nobuo Hizume -------------- next part -------------- An HTML attachment was scrubbed... URL: From obs.psr at wanadoo.fr Thu Dec 26 14:56:37 2013 From: obs.psr at wanadoo.fr (obs-psr) Date: Thu, 26 Dec 2013 05:56:37 -0800 (PST) Subject: [Scilab-users] Scilab-5.5.0-beta-1 crashes at startup In-Reply-To: <1607603683.15341539.1380733014977.JavaMail.root@inria.fr> References: <1607603683.15341539.1380733014977.JavaMail.root@inria.fr> Message-ID: <1388066197049-4028131.post@n3.nabble.com> For information, under Mageia-3 on a 32bits processor I obtain the following trace at startup.... [serge at darkstar bin]$ ./scilab SCILABBIN : scilab-bin DISABLE_JAVA_DETECTION : 0 SCILAB_MODE : gui OS : Linux MODEL : i686 IS_SCILAB_BINARY : 1 SCI : /home/serge/Downloads/scilab-5.5.0-beta-1/share/scilab SCIBIN : /home/serge/Downloads/scilab-5.5.0-beta-1/bin/scilab-bin PATH : .:/opt/aster/bin:/opt/aster/bin:/usr/local/bin:/usr/bin:/usr/games:/usr/lib/qt4/bin:/usr/lib/qt5/bin:/home/vdx-1.2.1/bin:/home/wcstools:/home/wcstools/bin:/home/wcstools/SAOimage.scripts:/home/eclipse/bin:/home/serge/astro/Wavelets/bin:/home/serge/bin:/usr/lib/qt5/bin:/home/vdx-1.2.1/bin:/home/wcstools:/home/wcstools/bin:/home/wcstools/SAOimage.scripts:/home/eclipse/bin:/home/serge/astro/Wavelets/bin:/home/serge/Downloads/scilab-5.5.0-beta-1/share/scilab/modules/scicos/ CLASSPATH : :/usr/share/java/lucene.jar:/usr/share/java/lucene-demos.jar:./home/serge/Downloads/scilab-5.5.0-beta-1/share/scilab/modules/core/jar/org.scilab.modules.core.jar EGL_DRIVER : egl_glx LD_LIBRARY_PATH : /home/serge/Downloads/scilab-5.5.0-beta-1/share/scilab/bin:/home/serge/Downloads/scilab-5.5.0-beta-1/share/scilab/lib/scilab/:/home/serge/Downloads/scilab-5.5.0-beta-1/share/scilab/lib64/scilab/:.:/home/serge/Downloads/scilab-5.5.0-beta-1/lib/scilab:/home/serge/Downloads/scilab-5.5.0-beta-1/lib/thirdparty:/home/serge/Downloads/scilab-5.5.0-beta-1/thirdparty/java//lib/i386/:/home/serge/Downloads/scilab-5.5.0-beta-1/thirdparty/java//lib/i386/server/:/home/serge/Downloads/scilab-5.5.0-beta-1/thirdparty/java//lib/i386/native_threads/:/usr/local/Kobo:/usr/local/Trolltech:/home/midas/13SEPpl1.1/lib:/usr/local/lib/vtk-5.8 scilab-bin: /home/serge/Downloads/scilab-5.5.0-beta-1/lib/thirdparty/libcurl.so.4: no version information available (required by /home/serge/Downloads/scilab-5.5.0-beta-1/lib/scilab/libscilab-cli.so.0) scilab-bin: /home/serge/Downloads/scilab-5.5.0-beta-1/lib/thirdparty/libcrypto.so.0.9.8: no version information available (required by /home/serge/Downloads/scilab-5.5.0-beta-1/lib/thirdparty/libcurl.so.4) scilab-bin: /home/serge/Downloads/scilab-5.5.0-beta-1/lib/thirdparty/libssl.so.0.9.8: no version information available (required by /home/serge/Downloads/scilab-5.5.0-beta-1/lib/thirdparty/libcurl.so.4) (scilab-bin:10669): GLib-WARNING **: unknown option bit(s) set (scilab-bin:10669): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed (scilab-bin:10669): GLib-CRITICAL **: g_regex_unref: assertion `regex != NULL' failed (scilab-bin:10669): GLib-WARNING **: unknown option bit(s) set (scilab-bin:10669): GLib-CRITICAL **: g_regex_match_full: assertion `regex != NULL' failed ./scilab: line 911: 10669 Segmentation fault "$SCILABBIN" "$@" Thanks for coop ! Serge. -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Scilab-5-5-0-beta-1-crashes-at-startup-tp4027544p4028131.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From n_hizume at nifty.com Sun Dec 29 04:18:42 2013 From: n_hizume at nifty.com (Nobuo Hizume) Date: Sun, 29 Dec 2013 12:18:42 +0900 Subject: [Scilab-users] Xcos RLC_Modelica electrical demo has faulty wiring Message-ID: <2BCB71C6F0DF49459B66A1BBC14EB7D8@E515> Dear Xcos electrical palette users: Regarding above, I resend the mail. Please disregard the one which I sent on Dec.26. with Chinese signature. I have tried the RLC_Modelica demo recently and found the result was not correct due to faulty wiring of blocks. In that circuit the phase of the voltage should exceed that of the current by ?/2 rad. But the result shows the opposite because the VsourceAC and the CurrentSensor are connected wrongly. If you connect the VsourceAC?s black positive port to the resistor?s black port, the white port to the CurrentSensor?s white port & the Ground, and the CurrentSensor?s black port to the VoltageSensor?s white port, you get the correct result. Please let me know your opinion. For your information, I?ve been using Scilab5.4.1 on Windows7 32 bit and Visual C++ 2010 express. I appreciate your help. Thank you in advance. Nobuo Hizume -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Sun Dec 29 23:24:38 2013 From: paul.carrico at free.fr (Paul CARRICO) Date: Sun, 29 Dec 2013 23:24:38 +0100 Subject: [Scilab-users] how to read huge ascii files Message-ID: <000001cf04e4$c36a6c60$4a3f4520$@carrico@free.fr> Dear All How can I read and record huge ascii file when mgetl leads to memory troubles (even using stacksize('max')) ? it it possible to split it ? I'm speaking about an ascii file wherein there's a lot of irrelevant comments/texts/blanks etc. . ? Thanks for any advice Happy new year Paul --- Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.crete at thalesgroup.com Sun Dec 29 23:49:15 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Sun, 29 Dec 2013 23:49:15 +0100 Subject: [Scilab-users] how to read huge ascii files In-Reply-To: <000001cf04e4$c36a6c60$4a3f4520$@carrico@free.fr> References: <000001cf04e4$c36a6c60$4a3f4520$@carrico@free.fr> Message-ID: <3289_1388357337_52C0A6D9_3289_12978_1_8F1D40232A0E68409E3FC23A30C326620168F627CB1A@THSONEA01CMS04P.one.grp> Hello, To read only parts of a huge ASCII file,I use an external filter based on ?sed? (or ?gawk?) called by SciLab with ?unix_g?... it is fast and very flexible. HTH Denis De : users [mailto:users-bounces at lists.scilab.org] De la part de Paul CARRICO Envoy? : dimanche 29 d?cembre 2013 23:25 ? : users at lists.scilab.org Objet : [Scilab-users] how to read huge ascii files Dear All How can I read and record huge ascii file when mgetl leads to memory troubles (even using stacksize('max')) ? it it possible to split it ? I?m speaking about an ascii file wherein there?s a lot of irrelevant comments/texts/blanks etc. ? ? Thanks for any advice Happy new year Paul ________________________________ [cid:~WRD000.jpg] Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ~WRD000.jpg Type: image/jpeg Size: 823 bytes Desc: ~WRD000.jpg URL: From paul.carrico at free.fr Mon Dec 30 10:05:14 2013 From: paul.carrico at free.fr (Paul CARRICO) Date: Mon, 30 Dec 2013 10:05:14 +0100 Subject: [Scilab-users] how to read huge ascii files In-Reply-To: <3289_1388357337_52C0A6D9_3289_12978_1_8F1D40232A0E68409E3FC23A30C326620168F627CB1A@THSONEA01CMS04P.one.grp> References: <000001cf04e4$c36a6c60$4a3f4520$@carrico@free.fr> <3289_1388357337_52C0A6D9_3289_12978_1_8F1D40232A0E68409E3FC23A30C326620168F627CB1A@THSONEA01CMS04P.one.grp> Message-ID: <000c01cf053e$4110b940$c3322bc0$@carrico@free.fr> Thanks Denis ?sed? ?awk? and ?grep? as well seem to be promising for this purpose (either in a batch file or directly within scilab) ? thanks for this advice Paul De : users [mailto:users-bounces at lists.scilab.org] De la part de CRETE Denis Envoy? : dimanche 29 d?cembre 2013 23:49 ? : International users mailing list for Scilab. Objet : Re: [Scilab-users] how to read huge ascii files Hello, To read only parts of a huge ASCII file,I use an external filter based on ?sed? (or ?gawk?) called by SciLab with ?unix_g?... it is fast and very flexible. HTH Denis De : users [mailto:users-bounces at lists.scilab.org] De la part de Paul CARRICO Envoy? : dimanche 29 d?cembre 2013 23:25 ? : users at lists.scilab.org Objet : [Scilab-users] how to read huge ascii files Dear All How can I read and record huge ascii file when mgetl leads to memory troubles (even using stacksize('max')) ? it it possible to split it ? I?m speaking about an ascii file wherein there?s a lot of irrelevant comments/texts/blanks etc. ? ? Thanks for any advice Happy new year Paul _____ Image supprim?e par l'exp?diteur. Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! est active. --- Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 823 bytes Desc: not available URL: From n_hizume at nifty.com Tue Dec 31 05:46:50 2013 From: n_hizume at nifty.com (Nobuo Hizume) Date: Tue, 31 Dec 2013 13:46:50 +0900 Subject: [Scilab-users] Xcos RLC_Modelica electrical demo has faulty wiring Message-ID: Dear Xcos electrical palette users: Regarding above, I found the correct answer in the document below. ?Modeling in Xcos using Modelica? (?Modeling an ODE: 3 different approaches?) pp.7 to 10 which is at http://www.openeering.com/scilab_tutorials/. Regards, Nobuo Hizume -------------- next part -------------- An HTML attachment was scrubbed... URL: From inderpreet_arora at rediffmail.com Tue Dec 31 10:23:51 2013 From: inderpreet_arora at rediffmail.com (inderpreet) Date: Tue, 31 Dec 2013 01:23:51 -0800 (PST) Subject: [Scilab-users] Lapack library error while using Xcos Message-ID: <1388481831622-4028182.post@n3.nabble.com> Hello, I am using Scilab-Xcos for Control systems applications. I am trying to execute an Xcos diagram which has continuous and discrete time systems. However, it gives an error: xerbla: On entry to DGEMM parameter number 10 had an illegal value (lapack library problem) I could execute the same diagram in Scilab 4.1. Could you please help me find out the possible causes of this error? Thanks. Sincerely, Inderpreet -- View this message in context: http://mailinglists.scilab.org/Lapack-library-error-while-using-Xcos-tp4028182.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.