From sgougeon at free.fr Fri Jun 1 10:19:27 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 01 Jun 2012 10:19:27 +0200 Subject: [scilab-Users] Re: reducing timeseries dataset for later on linear interpolation In-Reply-To: <1338449094088-4024263.post@n3.nabble.com> References: <1338389227649-4022470.post@n3.nabble.com> <1338449094088-4024263.post@n3.nabble.com> Message-ID: <4FC87B0F.5020202@free.fr> Hello David, Le 31/05/2012 09:24, David Ch?ze a ?crit : > Hi, > > I've done it that way: > > dat=[0 0 1 3 2 2 0 0 0 0 2 4 2 4 4 2 0 0 0 0]; > plot2d(dat) > datp=diff(dat); > datp_1=[datp(1) datp(1:$-1)]; > k=find(datp<>datp_1) > datr=dat(k); > plot2d(k,datr) > > i should have add the first point of dat in datr to have exactly the same > curve but it works. > Is there a more direct and efficient way to do that in Scilab? > Here is another way: dat($+1) = %nan; i = find(dat(2:$)~=dat(1:$-1)); plot2d(dat(unique([i-1 i]))) Regards Samuel From gilles.gobillot at cea.fr Fri Jun 1 13:28:02 2012 From: gilles.gobillot at cea.fr (GOBILLOT Gilles 116128) Date: Fri, 1 Jun 2012 11:28:02 +0000 Subject: [scilab-Users] Re: reducing timeseries dataset for later on linear interpolation In-Reply-To: <1338449094088-4024263.post@n3.nabble.com> References: <1338389227649-4022470.post@n3.nabble.com> <1338449094088-4024263.post@n3.nabble.com> Message-ID: <59863E6B3B5B7245A7B5660A00E8C89903271354@EXDAG0-A0.intra.cea.fr> Hi David, A simple way to under-sampling datas is : Undersamplingfactor=4; Dat_undersamp=dat(1: Undersamplingfactor:$); But if datas are physical signals you will have an aliasing problem (http://en.wikipedia.org/wiki/Nyquist%E2%80%93Shannon_sampling_theorem#Aliasing in English, http://www-prima.imag.fr/Prima/jlc/Courses/2000/ENSI2.TS/ENSI2.TS.S5.pdf = in French) So, in this case, you've to apply an anti-alisasing filter BEFORE the under-sampling. Hope it will help you Gilles -----Message d'origine----- De?: CHEZE David 227480 Envoy??: jeudi 31 mai 2012 09:25 ??: users at lists.scilab.org Objet?: [scilab-Users] Re: reducing timeseries dataset for later on linear interpolation Hi, I've done it that way: dat=[0 0 1 3 2 2 0 0 0 0 2 4 2 4 4 2 0 0 0 0]; plot2d(dat) datp=diff(dat); datp_1=[datp(1) datp(1:$-1)]; k=find(datp<>datp_1) datr=dat(k); plot2d(k,datr) i should have add the first point of dat in datr to have exactly the same curve but it works. Is there a more direct and efficient way to do that in Scilab? Thanks for your comment, David -- View this message in context: http://mailinglists.scilab.org/reducing-timeseries-dataset-for-later-on-linear-interpolation-tp4022470p4024263.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From korchkidu at gmail.com Fri Jun 1 13:29:57 2012 From: korchkidu at gmail.com (Korchkidu) Date: Fri, 1 Jun 2012 13:29:57 +0200 Subject: License question about my scilab scripts Message-ID: Hi everybody, I am not sure so I prefer ask before making any mistakes. I have scilab scripts. So: - Do the Scilab licenses apply to my scilab scripts too? - If I convert my Scilab scripts to C using scilab2c ( http://forge.scilab.org/index.php/p/scilab2c/), do I own the generated C files made from my initial scilab scripts or do the Scilab licences apply here? Thanks for any clarification. Best regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Fri Jun 1 13:32:49 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 01 Jun 2012 13:32:49 +0200 Subject: [scilab-Users] License question about my scilab scripts In-Reply-To: References: Message-ID: <4FC8A861.3030900@scilab-enterprises.com> Le 01/06/2012 13:29, Korchkidu a ?crit : > Hi everybody, > > I am not sure so I prefer ask before making any mistakes. I have > scilab scripts. So: > > - Do the Scilab licenses apply to my scilab scripts too? The Scilab license is old and deprecated. If you are referring to the license used by Scilab: CeCILL. No, it does not impact your code. You are free to select the license what you want. > - If I convert my Scilab scripts to C using scilab2c > (http://forge.scilab.org/index.php/p/scilab2c/), do I own the > generated C files made from my initial scilab scripts or do the Scilab > licences apply here? > Usually, it keeps the same license as the source used to produce it. Sylvestre From sylvestre.ledru at scilab-enterprises.com Fri Jun 1 13:45:01 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 01 Jun 2012 13:45:01 +0200 Subject: [scilab-Users] License question about my scilab scripts In-Reply-To: References: <4FC8A861.3030900@scilab-enterprises.com> Message-ID: <4FC8AB3D.5080506@scilab-enterprises.com> Le 01/06/2012 13:44, Korchkidu a ?crit : > Sorry to insist but I really want to be sure. So, to summarize what > you said: > > 1) my scilab scripts are my own property and I am free to distribute > them separately from Scilab with any license I want; > 2) Conversion of my scilab scripts to C are my property too and I am > free to distribute them separately from Scilab with any license I want; > > Is this true? Yes for both questions. Sylvestre From korchkidu at gmail.com Fri Jun 1 13:44:24 2012 From: korchkidu at gmail.com (Korchkidu) Date: Fri, 1 Jun 2012 13:44:24 +0200 Subject: [scilab-Users] License question about my scilab scripts In-Reply-To: <4FC8A861.3030900@scilab-enterprises.com> References: <4FC8A861.3030900@scilab-enterprises.com> Message-ID: Sorry to insist but I really want to be sure. So, to summarize what you said: 1) my scilab scripts are my own property and I am free to distribute them separately from Scilab with any license I want; 2) Conversion of my scilab scripts to C are my property too and I am free to distribute them separately from Scilab with any license I want; Is this true? Thanks a lot for your clarification. Best regards. On Fri, Jun 1, 2012 at 1:32 PM, Sylvestre Ledru < sylvestre.ledru at scilab-enterprises.com> wrote: > Le 01/06/2012 13:29, Korchkidu a ?crit : > > Hi everybody, > > > > I am not sure so I prefer ask before making any mistakes. I have > > scilab scripts. So: > > > > - Do the Scilab licenses apply to my scilab scripts too? > The Scilab license is old and deprecated. > If you are referring to the license used by Scilab: CeCILL. No, it does > not impact your code. You are free to select the license what you want. > > > - If I convert my Scilab scripts to C using scilab2c > > (http://forge.scilab.org/index.php/p/scilab2c/), do I own the > > generated C files made from my initial scilab scripts or do the Scilab > > licences apply here? > > > Usually, it keeps the same license as the source used to produce it. > > Sylvestre > -------------- next part -------------- An HTML attachment was scrubbed... URL: From melaine.gautier at inria.fr Fri Jun 1 19:39:22 2012 From: melaine.gautier at inria.fr (Melaine Gautier) Date: Fri, 1 Jun 2012 17:39:22 +0000 (UTC) Subject: Compiling c++ project with with Windows (CallScilab, =?utf-8?b?YXBpX3NjaWxhYik=?= References: <1fc775d1ad33eef7df5a7ffd9040ea00@scilab.org> Message-ID: writes: > > Hi, > > Have you try examples in > SCI/modules/call_scilab/examples/call_scilab/c/visual_studio > > In Scilab 5.3.x we splist dependencies. > > You must add: api_scilab.lib, call_scilab.lib as dependencies to your > vs project > > or > > #pragma comment(lib, "../../../../../../bin/call_scilab.lib") > #pragma comment(lib, "../../../../../../bin/api_scilab.lib") > > in your code. > > Please notice that in x64 target, your code must call a scilab x64 and > that in x86 target, your code must call scilab 32 bit > > Best regards > > Allan CORNET > Hi, I tried to replace LibScilab.lib by call_scilab.lib but I miss more linking so I return to my initial dependanceis api_scilab and LibScilab.lib. My PC is 64bits machine so I was thinking to link to 64bits scilab lib but I can't. I didn't know the macro pragma, it is used to include lib easyly, that's great. But I keep my problem even with using those macro. Thanks, Melaine From goden99 at ano-mail.net Sun Jun 3 23:07:58 2012 From: goden99 at ano-mail.net (chab) Date: Sun, 3 Jun 2012 14:07:58 -0700 (PDT) Subject: Xcos LaTeX (two llines in one textbox) Message-ID: <1338757677753-4024276.post@n3.nabble.com> Hello, I'm trying to add two formulas to a textbox in Xcos. I'd like the second formula being below the first one (each line one formula). Using the \newline command xcos tells me it does not know this command. Thanks. -- View this message in context: http://mailinglists.scilab.org/Xcos-LaTeX-two-llines-in-one-textbox-tp4024276.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.baudin at edf.fr Mon Jun 4 08:48:15 2012 From: michael.baudin at edf.fr (Michael BAUDIN) Date: Mon, 4 Jun 2012 08:48:15 +0200 Subject: [scilab-Users] Question about Scilab Message-ID: Accus? de r?ception Votre document : [scilab-Users] Question about Scilab a ?t? re?u par : michael.baudin at edf.fr le : 04/06/2012 08:48:15 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dungnguyenbk at gmail.com Mon Jun 4 14:14:26 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Mon, 4 Jun 2012 05:14:26 -0700 (PDT) Subject: Can't get scilab source git and svn in window Message-ID: <1338812066531-4024280.post@n3.nabble.com> I'm a beginner. This is first time I used scilab and git. I want to compiler scilab in visual c++ 2010 express Following link. http://wiki.scilab.org/Visual%20Studio%20C%2B%2B%202008%20Express http://wiki.scilab.org/Visual%20Studio%20C%2B%2B%202008%20Express But I can't get code by git and can't Checkout the Windows prerequisites. 1. I setup git version for window 2. I open git bash and config proxy server 3. I clone your code. But have error. I try search to find solutions so. I can't get git code. Because I download release packet. $git config --global http.proxy $http_proxy http://proxy.abc.com:8080 $git clone git://git.scilab.org/scilab cloning into 'scilab'... fata: unable to connect to git.scilab.org git.scilab.org[0: 193.51.192.152]:error=No error svn 1. I steup tortoises and setting proxy server for svn. 2. Check out code link checkout: svn://svn.scilab.org/scilab/trunk/Dev-Tools/SE/Prerequirements/Windows/ But I can't check out code. Could you help me? -- View this message in context: http://mailinglists.scilab.org/Can-t-get-scilab-source-git-and-svn-in-window-tp4024280.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dungnguyenbk at gmail.com Mon Jun 4 14:17:23 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Mon, 4 Jun 2012 05:17:23 -0700 (PDT) Subject: How to make icon for block Message-ID: <1338812243750-4024281.post@n3.nabble.com> I try to make new module for xcos. And I want created icon for my block look same other block in xcos. How to draw icon file to export gif, svg, h5 file ? -- View this message in context: http://mailinglists.scilab.org/How-to-make-icon-for-block-tp4024281.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From mail at hubersimon.de Wed Jun 6 20:05:04 2012 From: mail at hubersimon.de (Simon Huber) Date: Wed, 06 Jun 2012 20:05:04 +0200 Subject: No way to plot - Java Exception Message-ID: <4FCF9BD0.4030202@hubersimon.de> Dear all, there is no way to plot anymore so far. It seems to be a Java problem. I have tested all scilab versions and 32/64 bit possibilities although with java engine. It doesnt work any more. I use Windows 7 64bit What can I do???? I always get the same failure: -->x=[2 5 8 9 6 3];y=2*x^2;plot(x,y) Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Error making context current: 0 at com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:169) at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory$1.run(WindowsGLDrawableFactory.java:106) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.maybeDoSingleThreadedWorkaround(WindowsGLDrawableFactory.java:219) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.canCreateGLPbuffer(WindowsGLDrawableFactory.java:119) at javax.media.opengl.GLJPanel.initialize(GLJPanel.java:889) at javax.media.opengl.GLJPanel.paintComponent(GLJPanel.java:488) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) java.lang.reflect.InvocationTargetException at java.awt.EventQueue.invokeAndWait(Unknown Source) at javax.swing.SwingUtilities.invokeAndWait(Unknown Source) at org.scilab.modules.gui.bridge.tab.SwingScilabTab.draw(Unknown Source) at org.scilab.modules.gui.tab.ScilabTabBridge.draw(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.draw(Unknown Source) at org.scilab.modules.gui.tab.ScilabTab.draw(Unknown Source) at org.scilab.modules.gui.graphicWindow.ScilabRendererProperties.forceDisplay(Unknown Source) at org.scilab.modules.renderer.figureDrawing.DrawableFigureGL.drawCanvas(Unknown Source) Caused by: javax.media.opengl.GLException: Error making context current: 0 at com.sun.opengl.impl.windows.WindowsGLContext.makeCurrentImpl(WindowsGLContext.java:169) at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory$1.run(WindowsGLDrawableFactory.java:106) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.maybeDoSingleThreadedWorkaround(WindowsGLDrawableFactory.java:219) at com.sun.opengl.impl.windows.WindowsGLDrawableFactory.canCreateGLPbuffer(WindowsGLDrawableFactory.java:119) at javax.media.opengl.GLJPanel.initialize(GLJPanel.java:889) at javax.media.opengl.GLJPanel.paintComponent(GLJPanel.java:488) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JLayeredPane.paint(Unknown Source) at org.scilab.modules.gui.bridge.tab.SwingScilabAxes.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JViewport.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at org.scilab.modules.gui.bridge.tab.SwingScilabTab.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at org.flexdock.docking.defaults.DefaultDockingPort.paint(DefaultDockingPort.java:1976) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at org.scilab.modules.gui.bridge.tab.SwingScilabTab.paintImmediately(Unknown Source) at org.scilab.modules.gui.bridge.tab.SwingScilabTab$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) From paul.carrico at free.fr Wed Jun 6 22:47:12 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Wed, 6 Jun 2012 22:47:12 +0200 (CEST) Subject: "unix" or "unix_g" ... use In-Reply-To: <1746444325.85287718.1339015227509.JavaMail.root@zimbra5-e1.priv.proxad.net> Message-ID: <1928917930.85300778.1339015632164.JavaMail.root@zimbra5-e1.priv.proxad.net> Hi all, I'm currently rewriting programs (initially developped under Windows OS) on Linux OS ... and I've some troubles ... under Linux, why the following code does not work : unix('firefox') ... 'firefox is just for the example' from the help, 'unix' is equivalent to 'sh' ... on a terminal 'sh firefox' or simply 'firefox' works ???? It's probably a stupid question, but I've many "command lines" to lauch from scilab ... Thanks Paul From anubhab91 at gmail.com Thu Jun 7 06:58:38 2012 From: anubhab91 at gmail.com (anubhab91) Date: Wed, 6 Jun 2012 21:58:38 -0700 (PDT) Subject: Some basic questions Message-ID: <1339045118873-4024298.post@n3.nabble.com> I am a beginner here. So, I am now stuck with some very basic problems. Please help. 1. How to convert a string to an integer? I mean, let str = '1' and I need an operation like (int) str + 1. How to do that? 2. How to review and edit the functions that I have written? Thank you in advance. -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From xr at geo.hmg.inpg.fr Thu Jun 7 08:02:36 2012 From: xr at geo.hmg.inpg.fr (xavier roguiez) Date: Thu, 07 Jun 2012 08:02:36 +0200 Subject: [scilab-Users] Some basic questions In-Reply-To: <1339045118873-4024298.post@n3.nabble.com> References: <1339045118873-4024298.post@n3.nabble.com> Message-ID: <4FD043FC.1070901@geo.hmg.inpg.fr> Hello > I am a beginner here. So, I am now stuck with some very basic problems. > Please help. > > 1. How to convert a string to an integer? I mean, let str = '1' and I need > an operation like (int) str + 1. How to do that? evstr("1")+1 > > 2. How to review and edit the functions that I have written? > just type edit xavier > Thank you in advance. > > -- > View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From xr at geo.hmg.inpg.fr Thu Jun 7 08:02:56 2012 From: xr at geo.hmg.inpg.fr (xavier roguiez) Date: Thu, 07 Jun 2012 08:02:56 +0200 Subject: [scilab-Users] Some basic questions In-Reply-To: <1339045118873-4024298.post@n3.nabble.com> References: <1339045118873-4024298.post@n3.nabble.com> Message-ID: <4FD04410.8020709@geo.hmg.inpg.fr> Hello > I am a beginner here. So, I am now stuck with some very basic problems. > Please help. > > 1. How to convert a string to an integer? I mean, let str = '1' and I need > an operation like (int) str + 1. How to do that? evstr("1")+1 > > 2. How to review and edit the functions that I have written? > just type edit xavier > Thank you in advance. > > -- > View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From paul.carrico at free.fr Thu Jun 7 09:15:45 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Thu, 7 Jun 2012 09:15:45 +0200 (CEST) Subject: [scilab-Users] "unix" or "unix_g" ... use + portability In-Reply-To: <1928917930.85300778.1339015632164.JavaMail.root@zimbra5-e1.priv.proxad.net> Message-ID: <441673504.86088634.1339053345983.JavaMail.root@zimbra5-e1.priv.proxad.net> Dear All, AS ever spoken herebellow, I'm working on the portability from Windows OS to Linux oS including bash instructions .... Original code under Windows (works fine): commandline_BACON = "( ECHO ;INPUT """ + INPUT_FILE_NAME + ".dat"" & ECHO ;.FIN& ECHO;.STOP ) | " + samcef_path + "\Bacon NOM=" + INPUT_FILE_NAME +" SAM_PREFIX=SAM_TMPDIR=banque=" + INPUT_FILE_NAME + ".dat " [rep,stat,err]=unix_g(commandline_BACON); Nota : - INPUT + .FIN + .STOP are specific keywords of the solver ... and they lead to error with sh - I'm not "bash" skilled so I've not found the problem - I've ever tested both unix_g and unix scilab keywords ... Any advice or any doc on how to avoid this trouble ? thanks in advance Paul ----- Mail original ----- De: "paul carrico" ?: users at lists.scilab.org Envoy?: Mercredi 6 Juin 2012 22:47:12 Objet: [scilab-Users] "unix" or "unix_g" ... use Hi all, I'm currently rewriting programs (initially developped under Windows OS) on Linux OS ... and I've some troubles ... under Linux, why the following code does not work : unix('firefox') ... 'firefox is just for the example' from the help, 'unix' is equivalent to 'sh' ... on a terminal 'sh firefox' or simply 'firefox' works ???? It's probably a stupid question, but I've many "command lines" to lauch from scilab ... Thanks Paul -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From anubhab91 at gmail.com Thu Jun 7 10:42:52 2012 From: anubhab91 at gmail.com (anubhab91) Date: Thu, 7 Jun 2012 01:42:52 -0700 (PDT) Subject: Some basic questions In-Reply-To: <4FD04410.8020709@geo.hmg.inpg.fr> References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> Message-ID: Can you please tell me how to convert from an integer to a string? -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298p4024303.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Thu Jun 7 10:45:02 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Thu, 7 Jun 2012 10:45:02 +0200 Subject: [scilab-Users] Re: Some basic questions In-Reply-To: References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> Message-ID: <011801cd4489$d449d830$7cdd8890$@scilab.org> Hi, See http://help.scilab.org/docs/5.3.3/en_US/string.html Allan De : anubhab91 [mailto:anubhab91 at gmail.com] Envoy? : jeudi 7 juin 2012 10:43 ? : users at lists.scilab.org Objet : [scilab-Users] Re: Some basic questions Can you please tell me how to convert from an integer to a string? _____ View this message in context: Re: Some basic questions Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Thu Jun 7 11:00:08 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 7 Jun 2012 10:00:08 +0100 Subject: [scilab-Users] Re: Some basic questions In-Reply-To: Message-ID: If you want control of formats and are used to writing in C, then you can use sprintf or msprintf. They are fully covered in the help system. HTH, Mike. -----Original Message----- From: anubhab91 [mailto:anubhab91 at gmail.com] Sent: 07 June 2012 09:43 To: users at lists.scilab.org Subject: [scilab-Users] Re: Some basic questions Can you please tell me how to convert from an integer to a string? ---------------------------------------------------------------------------- -- View this message in context: Re: Some basic questions Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2178 / Virus Database: 2433/5053 - Release Date: 06/06/12 -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Thu Jun 7 11:13:52 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 07 Jun 2012 11:13:52 +0200 Subject: Using End, Home, Del and Ctrl arrow in scilab console from putty Message-ID: <4FD070D0.4000908@centre-cired.fr> Hi In short, when i use Scilab through putty, the console does not reccognize keystrokes like [End] [Home] or [Del]. Those produce thinfs like [1~ [4~ or [3~ Anyway i can configure my Scilab to solve this? For the details: I have a Linux server with Scilab 5.3.3 installed on it. I connect to this server with Putty from my personal win XP machine. When using the regular console, I can use things like [End] to go to the end of the current line, or even [Alt]+[Backspace] to delete an entire word. I had to configure putty specifically for this. On the Linux server, I have to start Scilab -nwni because I cannot use X in my win XP machine. (i do not believe that this matters at all) I don't know if the problem should be solved by configuring my local keyboard, putty, the Linux server, or Scilab in the linux server Best regards -- Adrien Vogt-Schilb (Cired) Tel: (+33) 1 43 94 *73 77* -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Thu Jun 7 11:50:47 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 07 Jun 2012 11:50:47 +0200 Subject: [scilab-Users] "unix" or "unix_g" ... use + portability In-Reply-To: <441673504.86088634.1339053345983.JavaMail.root@zimbra5-e1.priv.proxad.net> References: <441673504.86088634.1339053345983.JavaMail.root@zimbra5-e1.priv.proxad.net> Message-ID: <4FD07977.6050501@laas.fr> On 07/06/2012 09:15, paul.carrico at free.fr wrote: > Dear All, > > AS ever spoken herebellow, I'm working on the portability from Windows OS to Linux oS including bash instructions .... > > > Original code under Windows (works fine): > commandline_BACON = "( ECHO ;INPUT """ + INPUT_FILE_NAME + ".dat""& ECHO ;.FIN& ECHO;.STOP ) | " + samcef_path + "\Bacon NOM=" + INPUT_FILE_NAME +" SAM_PREFIX=SAM_TMPDIR=banque=" + INPUT_FILE_NAME + ".dat " > [rep,stat,err]=unix_g( ); > > > Nota : > - INPUT + .FIN + .STOP are specific keywords of the solver ... and they lead to error with sh > - I'm not "bash" skilled so I've not found the problem > - I've ever tested both unix_g and unix scilab keywords ... > > Any advice or any doc on how to avoid this trouble ? > > thanks in advance > > Paul > > > > > > ----- Mail original ----- > De: "paul carrico" > ?: users at lists.scilab.org > Envoy?: Mercredi 6 Juin 2012 22:47:12 > Objet: [scilab-Users] "unix" or "unix_g" ... use > > Hi all, > > I'm currently rewriting programs (initially developped under Windows OS) on Linux OS ... and I've some troubles ... > > under Linux, why the following code does not work : unix('firefox') ... 'firefox is just for the example' > > > from the help, 'unix' is equivalent to 'sh' ... on a terminal 'sh firefox' or simply 'firefox' works ???? > > It's probably a stupid question, but I've many "command lines" to lauch from scilab ... > > Thanks > > Paul > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > Hi Paul, Can you give us an example of what commandline_BACON really looks like once all the variables are evaluated (ie replaced by the string they code for)? Did you try to run directly this commandline_BACON in a unix terminal to see what it gives? You might have in commandline_BACON some characters that have special meaning for the shell (like "&", "*", ">"). Antoine From antoine.monmayrant at laas.fr Thu Jun 7 11:53:59 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 07 Jun 2012 11:53:59 +0200 Subject: [scilab-Users] Using End, Home, Del and Ctrl arrow in scilab console from putty In-Reply-To: <4FD070D0.4000908@centre-cired.fr> References: <4FD070D0.4000908@centre-cired.fr> Message-ID: <4FD07A37.7040709@laas.fr> On 07/06/2012 11:13, Adrien Vogt-Schilb wrote: > Hi > > In short, when i use Scilab through putty, the console does not > reccognize keystrokes like [End] [Home] or [Del]. Those produce thinfs > like [1~ [4~ or [3~ > Anyway i can configure my Scilab to solve this? > > > For the details: > > I have a Linux server with Scilab 5.3.3 installed on it. > I connect to this server with Putty from my personal win XP machine. > > When using the regular console, I can use things like [End] to go to > the end of the current line, or even [Alt]+[Backspace] to delete an > entire word. > I had to configure putty specifically for this. > > On the Linux server, I have to start Scilab -nwni because I cannot use > X in my win XP machine. (i do not believe that this matters at all) > > I don't know if the problem should be solved by configuring my local > keyboard, putty, the Linux server, or Scilab in the linux server > > Best regards Hi Adrien, That might not be an option for you, but did you try to use cygwin and its console instead of Putty? I used it several times to acces scilab on linux from Windows an it worked fine. Hope it helps, Antoine From paul.carrico at free.fr Thu Jun 7 13:37:40 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Thu, 7 Jun 2012 13:37:40 +0200 (CEST) Subject: [scilab-Users] "unix" or "unix_g" ... use + portability In-Reply-To: <4FD07977.6050501@laas.fr> Message-ID: <337410132.86747251.1339069060674.JavaMail.root@zimbra5-e1.priv.proxad.net> Dear Antoine, input, fin and stop are specific words for the solveur (bacon is for the pre-processing): - input -> read the input file - fin and stop -> record and close the pre-process module It works fine under Windows os (it was developped for some years) using cmd if I'm right ... the goal is to do the same under linux (FEA server) Somebody advices me to have a look in the "Standard input" stdin field ... Paul ----- Mail original ----- De: "Antoine Monmayrant" ?: users at lists.scilab.org Envoy?: Jeudi 7 Juin 2012 11:50:47 Objet: Re: [scilab-Users] "unix" or "unix_g" ... use + portability On 07/06/2012 09:15, paul.carrico at free.fr wrote: > Dear All, > > AS ever spoken herebellow, I'm working on the portability from Windows OS to Linux oS including bash instructions .... > > > Original code under Windows (works fine): > commandline_BACON = "( ECHO ;INPUT """ + INPUT_FILE_NAME + ".dat""& ECHO ;.FIN& ECHO;.STOP ) | " + samcef_path + "\Bacon NOM=" + INPUT_FILE_NAME +" SAM_PREFIX=SAM_TMPDIR=banque=" + INPUT_FILE_NAME + ".dat " > [rep,stat,err]=unix_g( ); > > > Nota : > - INPUT + .FIN + .STOP are specific keywords of the solver ... and they lead to error with sh > - I'm not "bash" skilled so I've not found the problem > - I've ever tested both unix_g and unix scilab keywords ... > > Any advice or any doc on how to avoid this trouble ? > > thanks in advance > > Paul > > > > > > ----- Mail original ----- > De: "paul carrico" > ?: users at lists.scilab.org > Envoy?: Mercredi 6 Juin 2012 22:47:12 > Objet: [scilab-Users] "unix" or "unix_g" ... use > > Hi all, > > I'm currently rewriting programs (initially developped under Windows OS) on Linux OS ... and I've some troubles ... > > under Linux, why the following code does not work : unix('firefox') ... 'firefox is just for the example' > > > from the help, 'unix' is equivalent to 'sh' ... on a terminal 'sh firefox' or simply 'firefox' works ???? > > It's probably a stupid question, but I've many "command lines" to lauch from scilab ... > > Thanks > > Paul > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > Hi Paul, Can you give us an example of what commandline_BACON really looks like once all the variables are evaluated (ie replaced by the string they code for)? Did you try to run directly this commandline_BACON in a unix terminal to see what it gives? You might have in commandline_BACON some characters that have special meaning for the shell (like "&", "*", ">"). Antoine -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From anubhab91 at gmail.com Thu Jun 7 13:16:22 2012 From: anubhab91 at gmail.com (anubhab91) Date: Thu, 7 Jun 2012 04:16:22 -0700 (PDT) Subject: Some basic questions In-Reply-To: References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> Message-ID: Thanks again. -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298p4024309.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anubhab91 at gmail.com Thu Jun 7 17:18:17 2012 From: anubhab91 at gmail.com (anubhab91) Date: Thu, 7 Jun 2012 08:18:17 -0700 (PDT) Subject: Some basic questions In-Reply-To: References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> Message-ID: Another question: Does Scilab supports recursive function? I'm asking because I could not do it. -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298p4024311.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mike at Page-One.Waitrose.com Thu Jun 7 17:44:25 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 7 Jun 2012 16:44:25 +0100 Subject: [scilab-Users] Re: Some basic questions In-Reply-To: Message-ID: Yes it does. Try this: -->function [y]=fct(x) -->if x==1 -->y=x; -->else -->y=x*fct(x-1); -->end -->endfunction -->fct(1) ans = 1. -->fct(3) ans = 6. -->fct(10) ans = 3628800. HTH, Mike. -----Original Message----- From: anubhab91 [mailto:anubhab91 at gmail.com] Sent: 07 June 2012 16:18 To: users at lists.scilab.org Subject: [scilab-Users] Re: Some basic questions Another question: Does Scilab supports recursive function? I'm asking because I could not do it. ---------------------------------------------------------------------------- -- View this message in context: Re: Some basic questions Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2178 / Virus Database: 2433/5053 - Release Date: 06/06/12 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Thu Jun 7 18:47:34 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 07 Jun 2012 18:47:34 +0200 Subject: [scilab-Users] No way to plot - Java Exception In-Reply-To: <4FCF9BD0.4030202@hubersimon.de> References: <4FCF9BD0.4030202@hubersimon.de> Message-ID: <4FD0DB26.6010204@scilab-enterprises.com> On 06/06/2012 20:05, Simon Huber wrote: > Dear all, > > there is no way to plot anymore so far. > It seems to be a Java problem. > I have tested all scilab versions and 32/64 bit possibilities although > with java engine. Could you defines what means "all scilab versions" ? Thanks Sylvestre From anubhab91 at gmail.com Fri Jun 8 05:55:42 2012 From: anubhab91 at gmail.com (anubhab91) Date: Thu, 7 Jun 2012 20:55:42 -0700 (PDT) Subject: Some basic questions In-Reply-To: References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> Message-ID: Now, another question: A have a row vector (1*n matrix). I want to remove all repeating entries. Thanks. -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298p4024314.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Fri Jun 8 08:41:59 2012 From: stephane.mottelet at utc.fr (=?UTF-8?B?U3TDqXBoYW5lIE1vdHRlbGV0?=) Date: Fri, 08 Jun 2012 08:41:59 +0200 Subject: [scilab-Users] Re: Some basic questions In-Reply-To: References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> Message-ID: <4FD19EB7.20201@utc.fr> Le 08/06/12 05:55, anubhab91 a ?crit : > Now, another question: A have a row vector (1*n matrix). I want to > remove all repeating entries. > Thanks. > > ------------------------------------------------------------------------ > View this message in context: Re: Some basic questions > > Sent from the Scilab users - Mailing Lists Archives mailing list > archive > > at Nabble.com. see the "unique" macro. S. -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Fri Jun 8 08:52:23 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Fri, 08 Jun 2012 08:52:23 +0200 Subject: [scilab-Users] "unix" or "unix_g" ... use + portability In-Reply-To: <337410132.86747251.1339069060674.JavaMail.root@zimbra5-e1.priv.proxad.net> References: <337410132.86747251.1339069060674.JavaMail.root@zimbra5-e1.priv.proxad.net> Message-ID: <4FD1A127.7030405@laas.fr> Le 07/06/12 13:37, paul.carrico at free.fr a ?crit : > Dear Antoine, > > input, fin and stop are specific words for the solveur (bacon is for the pre-processing): > - input -> read the input file > - fin and stop -> record and close the pre-process module > > It works fine under Windows os (it was developped for some years) using cmd if I'm right ... the goal is to do the same under linux (FEA server) My point was that the sh shell on unix does not behave like cmd in Windows and that the command string you pass to the shell can be interpreted differently by sh. In particular, things like '*' '?', ... can be expanded by the shell if you don't specify that no expansion should be performed. If you can show a real example of the string "commandline_BACON", we might be able to spot the problem. Again, did you try to call directyl the solver, that is to copy paste the content of "commandline_BACON" in a terminal to see what happens? If it works when calling directly, it can be a problem of environment: the shell that is called by scilab might not have the same environment then the one you get when opening a terminal. Antoine > > > > Somebody advices me to have a look in the "Standard input" stdin field ... > > Paul > > > > > > > > > > > ----- Mail original ----- > De: "Antoine Monmayrant" > ?: users at lists.scilab.org > Envoy?: Jeudi 7 Juin 2012 11:50:47 > Objet: Re: [scilab-Users] "unix" or "unix_g" ... use + portability > > On 07/06/2012 09:15, paul.carrico at free.fr wrote: >> Dear All, >> >> AS ever spoken herebellow, I'm working on the portability from Windows OS to Linux oS including bash instructions .... >> >> >> Original code under Windows (works fine): >> commandline_BACON = "( ECHO ;INPUT """ + INPUT_FILE_NAME + ".dat""& ECHO ;.FIN& ECHO;.STOP ) | " + samcef_path + "\Bacon NOM=" + INPUT_FILE_NAME +" SAM_PREFIX=SAM_TMPDIR=banque=" + INPUT_FILE_NAME + ".dat " >> [rep,stat,err]=unix_g( ); >> >> >> Nota : >> - INPUT + .FIN + .STOP are specific keywords of the solver ... and they lead to error with sh >> - I'm not "bash" skilled so I've not found the problem >> - I've ever tested both unix_g and unix scilab keywords ... >> >> Any advice or any doc on how to avoid this trouble ? >> >> thanks in advance >> >> Paul >> >> >> >> >> >> ----- Mail original ----- >> De: "paul carrico" >> ?: users at lists.scilab.org >> Envoy?: Mercredi 6 Juin 2012 22:47:12 >> Objet: [scilab-Users] "unix" or "unix_g" ... use >> >> Hi all, >> >> I'm currently rewriting programs (initially developped under Windows OS) on Linux OS ... and I've some troubles ... >> >> under Linux, why the following code does not work : unix('firefox') ... 'firefox is just for the example' >> >> >> from the help, 'unix' is equivalent to 'sh' ... on a terminal 'sh firefox' or simply 'firefox' works ???? >> >> It's probably a stupid question, but I've many "command lines" to lauch from scilab ... >> >> Thanks >> >> Paul >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ >> >> -- >> To unsubscribe from this mailing-list, please send an empty mail to >> users-unsubscribe at lists.scilab.org >> To check the archives of this mailing list, see >> http://mailinglists.scilab.org/ >> >> > Hi Paul, > > Can you give us an example of what commandline_BACON really looks like > once all the variables are evaluated (ie replaced by the string they > code for)? > Did you try to run directly this commandline_BACON in a unix terminal > to see what it gives? > You might have in commandline_BACON some characters that have special > meaning for the shell (like "&", "*",">"). > > Antoine > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > From samuel.enibe at unn.edu.ng Fri Jun 8 10:40:25 2012 From: samuel.enibe at unn.edu.ng (samuel.enibe at unn.edu.ng) Date: Fri, 08 Jun 2012 08:40:25 +0000 Subject: Ellimination of insignificant parameters in multipe linear regression with reglinr function Message-ID: <4fd1ba82.cc770e0a.4558.504a@mx.google.com> I have a set of data X made up of n columns. I wish to use the reglinr linear regression function to correlate the data with Y, such that Y =f(X). What is the best function or procedure to minimise the number of columns of X needed to descibe the function while maximising the R2 coeffient. Samuel Enibe From samuel.enibe at unn.edu.ng Fri Jun 8 13:14:53 2012 From: samuel.enibe at unn.edu.ng (samuel.enibe at unn.edu.ng) Date: Fri, 08 Jun 2012 11:14:53 +0000 Subject: Regreseeion with linregr Message-ID: <4fd1deb2.832f0e0a.45d7.ffff8614@mx.google.com> Dear sir, I have a dataset X of n columns, and a dependent variable Y. Using the linregr function or otherwise, I would like to do a multiple linear regression to correlate Y with X such that Y = f(X).. I would like to keep the order of the regression polynomials as low as possible, while maintaining a high value of R2. Is there a function or an existing procedure to elliminate the columns of X that do not have significant effects on Y.? Thanks. Samuel Enibe From remi.mercier at imelavi.fr Sat Jun 9 13:06:43 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Sat, 9 Jun 2012 04:06:43 -0700 (PDT) Subject: 500mo Ascii file Message-ID: <1339240003209-4024324.post@n3.nabble.com> Hello everyone, I have got a 500mo ascii file that I would like to post process with Scilab( 5.3.3 or 5.4) and I am struggling a lot?. My file looks like that: *Header Test number 1, 05/06/2012 6 Channels at 50000Hz Data starts here: Time,CH1,CH2,CH3,CH4,CH5,CH6 -10.000019,-0.660920,-0.136021,-0.120244,1.206482,-0.201057,-0.040760, -9.999999,-0.605067,-0.136021,-0.124390,1.151813,-0.126591,0.002605, -9.999979,-0.584123,-0.140555,-0.128536,1.025510,-0.040956,0.027115, ???* Cause of the header I can?t use straight csv_read (or I need to delete the header first with a text editor and then use it. That works but is not very ?clean?) so I would like to do it only with scilab. What I do (and that does not work?): First I check where start the data and analyse the format: /f=mopen(file,?r?);data=mgetl(f,10);mclose(f); =>works fine/ Then I increase the stacksize and read the entire file : /stacksize(?max?);f=mopen(file,?r?);data=mgetl(f,-1);mclose(f);/ =>works fine Then I try to extract some of the data: /[n,Time,CHX]=msscanf(-1,data(6:$),?%f,%f?)/ => crashes everytime (with 5.3.3 or 5.4) But a /[n,Time,CHX]=msscanf(-1,data(6:1000:$),?%f,%f?)/ => works fine (with 5.3.3 or 5.4) Do you have some advice to open the whole file properly in scilab? Thx you a lot for your help and have a great week-end. -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From samuel.enibe at unn.edu.ng Sat Jun 9 21:20:46 2012 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Sat, 9 Jun 2012 20:20:46 +0100 Subject: [scilab-Users] 500mo Ascii file In-Reply-To: <1339240003209-4024324.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> Message-ID: Try this; 1. Let full name of file be myfile.csv 2. Read the entire file using the csv read function. mystring = read_csv(myfile); 3. Extract the header lines (lines 1 to 5 in the example) into a new variable as follows:. myheader = mystring(1:5,:); 4. Delete the header lines from the variable mystring using the command mystring(1:5,:) = []; 5. Convert the remaining object into a numeric variable as follows: mydata = evstr(mystring). 6. Process the numeric data as usual. I hope this helps. Prof. Samuel Enibe Department of Mechanical Engineering University of Nigeria, Nsukka, Nigeria -----Original Message----- From: Tingsten Sent: 09/06/2012 12.06.43 pm Subject: [scilab-Users] 500mo Ascii file Hello everyone, I have got a 500mo ascii file that I would like to post process with Scilab ( 5.3.3 or 5.4) and I am struggling a lot?. My file looks like that: *Header Test number 1, 05/06/2012 6 Channels at 50000Hz Data starts here: Time,CH1,CH2,CH3,CH4,CH5,CH6 -10.000019,-0.660920,-0.136021,-0.120244,1.206482,-0.201057,-0.040760, -9.999999,-0.605067,-0.136021,-0.124390,1.151813,-0.126591,0.002605, -9.999979,-0.584123,-0.140555,-0.128536,1.025510,-0.040956,0.027115, ???* Cause of the header I can?t use straight csv_read (or I need to del ete the header first with a text editor and then use it. That works but is not very ?clean?) so I would like to do it only with scilab. What I do (and that does not work?): First I check where start the data and analyse the format: /f=mopen(file,?r?);data=mgetl(f,10);mclose(f); =>work s fine/ Then I increase the stacksize and read the entire file : /stacksize(?max?);f=mopen(file,?r?);data =mgetl(f,-1);mclose(f);/ =>works fine Then I try to extract some of the data: /[n,Time,CHX]=msscanf(-1,data(6:$),?%f,%f?)/ => crashes everytime (with 5.3.3 or 5.4) But a /[n,Time,CHX]=msscanf(-1,data(6:1000:$),?%f,%f?)/ => wo rks fine (with 5.3.3 or 5.4) Do you have some advice to open the whole file properly in scilab? Thx you a lot for your help and have a great week-end. -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-fi le-tp4024324.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From igorio at bk.ru Sun Jun 10 07:06:41 2012 From: igorio at bk.ru (=?UTF-8?B?SWdvciBJZ29y?=) Date: Sun, 10 Jun 2012 09:06:41 +0400 Subject: =?UTF-8?B?UmU6IFtzY2lsYWItVXNlcnNdIFVzaW5nIEVuZCwgSG9tZSwgRGVsIGFuZCBD?= =?UTF-8?B?dHJsIGFycm93IGluIHNjaWxhYiBjb25zb2xlIGZyb20gcHV0dHk=?= In-Reply-To: <4FD070D0.4000908@centre-cired.fr> References: <4FD070D0.4000908@centre-cired.fr> Message-ID: <1339304801.535562654@m.mail.ru> Hi Adrien, Sounds to me like it should be possible to configure these in putty or sshclient settings Igor Thu, 07 Jun 2012 11:13:52 +0200 ?? Adrien Vogt-Schilb : > Hi > > In short, when i use Scilab through putty, the console does not > reccognize keystrokes like [End] [Home] or [Del]. Those produce thinfs > like [1~ [4~ or [3~ > Anyway i can configure my Scilab to solve this? > > > For the details: > > I have a Linux server with Scilab 5.3.3 installed on it. > I connect to this server with Putty from my personal win XP machine. > > When using the regular console, I can use things like [End] to go to the > end of the current line, or even [Alt]+[Backspace] to delete an entire word. > I had to configure putty specifically for this. > > On the Linux server, I have to start Scilab -nwni because I cannot use X > in my win XP machine. (i do not believe that this matters at all) > > I don't know if the problem should be solved by configuring my local > keyboard, putty, the Linux server, or Scilab in the linux server > > Best regards > -- > Adrien Vogt-Schilb (Cired) > Tel: (+33) 1 43 94 *73 77* From grocer.toolbox at gmail.com Sun Jun 10 14:37:34 2012 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Sun, 10 Jun 2012 14:37:34 +0200 Subject: [scilab-Users] Regreseeion with linregr In-Reply-To: <4fd1deb2.832f0e0a.45d7.ffff8614@mx.google.com> References: <4fd1deb2.832f0e0a.45d7.ffff8614@mx.google.com> Message-ID: Hello. In the toolbox Grocer, available on my web site ( dubois.ensae.net/grocer.html) or through Scilab module manager Atoms, you will find a function called automatic that aims at recovering the minimum number of variables while keeping the relevant ones. Regards. ?ric. 2012/6/8 samuel.enibe at unn.edu.ng > Dear sir, > I have a dataset X of n columns, and a dependent variable Y. Using the > linregr function or otherwise, I would like to do a multiple linear > regression to correlate Y with X such that Y = f(X).. I would like to keep > the order of the regression polynomials as low as possible, while > maintaining a high value of R2. > > Is there a function or an existing procedure to elliminate the columns of > X that do not have significant effects on Y.? > > > Thanks. > > Samuel Enibe > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From anubhab91 at gmail.com Fri Jun 8 23:06:31 2012 From: anubhab91 at gmail.com (anubhab91) Date: Fri, 8 Jun 2012 14:06:31 -0700 (PDT) Subject: Some basic questions In-Reply-To: <4FD19EB7.20201@utc.fr> References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> <4FD19EB7.20201@utc.fr> Message-ID: Thank you all. Now, would anybody please tell me what are sci and sce files and how to use them? Regards. -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298p4024321.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anubhab91 at gmail.com Sat Jun 9 11:40:15 2012 From: anubhab91 at gmail.com (anubhab91) Date: Sat, 9 Jun 2012 02:40:15 -0700 (PDT) Subject: Some basic questions In-Reply-To: <4FD19EB7.20201@utc.fr> References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> <4FD19EB7.20201@utc.fr> Message-ID: Again another: Is there any facility to put vertices and edges (I'm doing problems on Graph Theory)? -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298p4024322.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From anubhab91 at gmail.com Sat Jun 9 11:48:28 2012 From: anubhab91 at gmail.com (anubhab91) Date: Sat, 9 Jun 2012 02:48:28 -0700 (PDT) Subject: Some basic questions In-Reply-To: References: <1339045118873-4024298.post@n3.nabble.com> <4FD04410.8020709@geo.hmg.inpg.fr> Message-ID: <1339235308767-4024323.post@n3.nabble.com> Thank you all. Now, would anybody please tell me 1. What are sci and sce files and how to use them? 2. Is there any facility to put vertices and edges (I'm doing problems on Graph Theory)? Regards. -- View this message in context: http://mailinglists.scilab.org/Some-basic-questions-tp4024298p4024323.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From david.cheze at cea.fr Mon Jun 11 08:16:41 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Sun, 10 Jun 2012 23:16:41 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <1339240003209-4024324.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> Message-ID: <1339395401372-4024333.post@n3.nabble.com> Hi, for processing large csv file, I'm used to manage it with the external module csv_readwrite: http://atoms.scilab.org/toolboxes/csv_readwrite which is both very practical and fast for this. Hope it can help, David -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024333.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From dungnguyenbk at gmail.com Mon Jun 11 13:39:31 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Mon, 11 Jun 2012 04:39:31 -0700 (PDT) Subject: How to used CFSCOPE Message-ID: <1339414771205-4024337.post@n3.nabble.com> Hi. I investigate block generate graph. I try to used CFSCOPE. This block only have one input control. I try to connect CLOCK_c block to CFSCOPE block. So have error. The graph not generate. Cloud you tell me what's wrong ? -- View this message in context: http://mailinglists.scilab.org/How-to-used-CFSCOPE-tp4024337.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Mon Jun 11 19:19:07 2012 From: meni.tima at hotmail.com (Tima) Date: Mon, 11 Jun 2012 10:19:07 -0700 (PDT) Subject: Function in Java based on Scilab Message-ID: <1339435147467-4024341.post@n3.nabble.com> Hi, I am trying to program a Solver in Java based on Scilab. So, I defined function as, for example, /void function(String *equation*){ //open Scilab and try block sci.exec("function [y] =f(x), y=*equation*, endfunction") //...other commands }/ I tried to convert equation as a ScilabString but it don't work! Is there anyone who knows how to do it? Thanks, Tima -- View this message in context: http://mailinglists.scilab.org/Function-in-Java-based-on-Scilab-tp4024341.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From rcorderog at gmail.com Mon Jun 11 19:28:32 2012 From: rcorderog at gmail.com (Cordero R. ) Date: Mon, 11 Jun 2012 13:28:32 -0400 Subject: [scilab-Users] How to used CFSCOPE In-Reply-To: <1339414771205-4024337.post@n3.nabble.com> References: <1339414771205-4024337.post@n3.nabble.com> Message-ID: Hi Could you send your simulation diagram? att. R. Cordero UFMS-Brazil 2012/6/11 hehiha > Hi. > I investigate block generate graph. > I try to used CFSCOPE. This block only have one input control. > I try to connect CLOCK_c block to CFSCOPE block. So have error. The graph > not generate. > Cloud you tell me what's wrong ? > > > > -- > View this message in context: > http://mailinglists.scilab.org/How-to-used-CFSCOPE-tp4024337.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnoorshuib at gmail.com Mon Jun 11 19:02:12 2012 From: mnoorshuib at gmail.com (shuib mnoor) Date: Tue, 12 Jun 2012 01:02:12 +0800 Subject: do i have to have a C compiler to run scilab? Message-ID: ---------- Forwarded message ---------- From: shuib mnoor Date: Tue, Jun 12, 2012 at 12:59 AM Subject: To: users at lists.scilab.org Cc: shuib mnoor asSalamu'alaikum good day to u good people of scilab doing good things for humanity by offering a freeware important in technical and engineering, pls keep it up and on, may ALLAH guides u all and me, then with ALLAH's Guidance may u and me all be successful in this world and in the world hereafter, Dear good people, 1) i have installed scilab 5.3.3 and try to run demo xcos of "DC/DC Boost Converter", but a problem: "Flat Modelica : C:\DOCUME~1\ADMINI~2\LOCALS~1\Temp\SCI_TMP_3368_\Boost_Converter_imf.mo Simulation C code :C:\DOCUME~1\ADMINI~2\LOCALS~1\Temp\SCI_TMP_3368_\Boost_Converter_im.c Generate a loader file Generate a Makefile Running the Makefile !sorry compiling problem ! ! ! !A Fortran or C compiler is required. ! " - the above was "said" by scilab, could u pls help me sort it out. 2) i'm studying power electronics, there is a software "PLECS" (u can google it), which can be used in tandem with matlab, could u pls suggest me if there's any such software that is freeware that can be used with scilab. pls help me with these 2 issues, thank u so much, mnoorshuib at gmail.com, freewares liker and supporter, -------------- next part -------------- An HTML attachment was scrubbed... URL: From remi.mercier at imelavi.fr Mon Jun 11 22:57:47 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Mon, 11 Jun 2012 13:57:47 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <1339395401372-4024333.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> Message-ID: <1339448267945-4024346.post@n3.nabble.com> Hello David and Samuel, Thx you both of you for the message. Unfortunatly as explained in my previous mail, the csv_read fonction (that is very usefull) does not work directly in this case. Indeed since there is a header without , it returns an error 999 (can not read file). 1)So one solution would be to be able to remove the header with scilab.And then use csv_read. 2)Otherwise being able to load the data properly with mopen/mgetl/msscanf/.... -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024346.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From allan.cornet at scilab.org Tue Jun 12 06:16:41 2012 From: allan.cornet at scilab.org (Allan CORNET) Date: Tue, 12 Jun 2012 06:16:41 +0200 Subject: [scilab-Users] do i have to have a C compiler to run scilab? In-Reply-To: References: Message-ID: <00e101cd4852$2b552190$81ff64b0$@scilab.org> Hi, Xcos requires a C compiler for simulation acceleration and modelica blocks. It is recommended that you install a supported compiler on your machine. See also http://help.scilab.org/docs/5.3.3/en_US/supported_compilers.html Best regards Allan De : shuib mnoor [mailto:mnoorshuib at gmail.com] Envoy? : lundi 11 juin 2012 19:02 ? : users Cc : shuib mnoor Objet : [scilab-Users] do i have to have a C compiler to run scilab? ---------- Forwarded message ---------- From: shuib mnoor Date: Tue, Jun 12, 2012 at 12:59 AM Subject: To: users at lists.scilab.org Cc: shuib mnoor asSalamu'alaikum good day to u good people of scilab doing good things for humanity by offering a freeware important in technical and engineering, pls keep it up and on, may ALLAH guides u all and me, then with ALLAH's Guidance may u and me all be successful in this world and in the world hereafter, Dear good people, 1) i have installed scilab 5.3.3 and try to run demo xcos of "DC/DC Boost Converter", but a problem: "Flat Modelica : C:\DOCUME~1\ADMINI~2\LOCALS~1\Temp\SCI_TMP_3368_\Boost_Converter_imf.mo Simulation C code :C:\DOCUME~1\ADMINI~2\LOCALS~1\Temp\SCI_TMP_3368_\Boost_Converter_im.c Generate a loader file Generate a Makefile Running the Makefile !sorry compiling problem ! ! ! !A Fortran or C compiler is required. ! " - the above was "said" by scilab, could u pls help me sort it out. 2) i'm studying power electronics, there is a software "PLECS" (u can google it), which can be used in tandem with matlab, could u pls suggest me if there's any such software that is freeware that can be used with scilab. pls help me with these 2 issues, thank u so much, mnoorshuib at gmail.com, freewares liker and supporter, -------------- next part -------------- An HTML attachment was scrubbed... URL: From dungnguyenbk at gmail.com Tue Jun 12 03:00:34 2012 From: dungnguyenbk at gmail.com (hehiha) Date: Mon, 11 Jun 2012 18:00:34 -0700 (PDT) Subject: How to used CFSCOPE In-Reply-To: References: <1339414771205-4024337.post@n3.nabble.com> Message-ID: <1339462834742-4024347.post@n3.nabble.com> Here my diagram. http://mailinglists.scilab.org/file/n4024347/FSCOPE.jpg -- View this message in context: http://mailinglists.scilab.org/How-to-used-CFSCOPE-tp4024337p4024347.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From remi.mercier at imelavi.fr Tue Jun 12 22:37:32 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Tue, 12 Jun 2012 13:37:32 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <1339448267945-4024346.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> Message-ID: <1339533452175-4024354.post@n3.nabble.com> Hello All Scilab users, Maybe the fist question to answer would be : is it reasonable to try to open a 500mo ascii file with Scilab for post-processing? Isn't it to much? I am waiting for your feedback. R?mi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024354.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Wed Jun 13 08:08:20 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 13 Jun 2012 08:08:20 +0200 Subject: [scilab-Users] Re: 500mo Ascii file In-Reply-To: <1339533452175-4024354.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> Message-ID: <4FD82E54.5090708@laas.fr> Le 12/06/12 22:37, Tingsten a ?crit : > Hello All Scilab users, > > Maybe the fist question to answer would be : is it reasonable to try to open > a 500mo ascii file with Scilab for post-processing? Isn't it to much? Hi R?mi, Size does not matter, what matters is the way to use it ;-) We often process huge data files. The only thing is that you cannot go the brute force way: load the whole file and process the huge matrix of string that represents it in scilab. This will most likely fail because of the file size. I think you should process your file line by line or chunk by chunk using mopen/mgetl/evstr/mclose. You can ask for more help if you can provide more details on the specific processing you want to perform on your data file. Hope it helps, Antoine > > I am waiting for your feedback. > > R?mi > > -- > View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024354.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > From remi.mercier at imelavi.fr Wed Jun 13 09:24:15 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Wed, 13 Jun 2012 00:24:15 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <4FD82E54.5090708@laas.fr> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> Message-ID: <1339572255519-4024356.post@n3.nabble.com> Hello Antoine, Thx you for your post. Indeed, I can give more detail about what I would like to achieve. As you can see in the first post that did includes the first lines of the file, I have a 6 channels recording (in fact 7 cause first column is time). First think I want to do is to verify that there is nothing "strange" on each channel. So I would like at least be able to load the time and 1 channel (2 first columns) to do a plot. The "game" is to do it in an efficient way : without loading twice the data => what I do using mgetl + msscanf and without using an external software to delete the header If needed I can upload the first lines of the file? Thank you for help and have a great day, R?mi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024356.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Wed Jun 13 10:14:27 2012 From: meni.tima at hotmail.com (Tima) Date: Wed, 13 Jun 2012 01:14:27 -0700 (PDT) Subject: Function in Java based on Scilab In-Reply-To: <1339435147467-4024341.post@n3.nabble.com> References: <1339435147467-4024341.post@n3.nabble.com> Message-ID: <1339575267765-4024358.post@n3.nabble.com> Hi, I found my response! I have not paid attention to something quite simple ^_^ Just, I concatenate the String *equation* as(...y="+*equation*+"...) Sorry for this stupid message :D Tima -- View this message in context: http://mailinglists.scilab.org/Function-in-Java-based-on-Scilab-tp4024341p4024358.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Wed Jun 13 10:25:23 2012 From: meni.tima at hotmail.com (Tima) Date: Wed, 13 Jun 2012 01:25:23 -0700 (PDT) Subject: How to resolve this differentiel equation? Message-ID: <1339575923147-4024359.post@n3.nabble.com> Hi, Does somebody knows how to resolve this equation with Scilab: *X=C*dT/dt + R(T1-T2);* (X,C,R,T1,T2) are known... THANKS, Tima -- View this message in context: http://mailinglists.scilab.org/How-to-resolve-this-differentiel-equation-tp4024359.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Wed Jun 13 11:01:41 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 13 Jun 2012 11:01:41 +0200 Subject: [scilab-Users] Re: 500mo Ascii file In-Reply-To: <1339572255519-4024356.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> Message-ID: <4FD856F5.6060208@laas.fr> On 13/06/2012 09:24, Tingsten wrote: > Hello Antoine, > > Thx you for your post. > Indeed, I can give more detail about what I would like to achieve. > > As you can see in the first post that did includes the first lines of the > file, I have a 6 channels recording (in fact 7 cause first column is time). > First think I want to do is to verify that there is nothing "strange" on > each channel. So I would like at least be able to load the time and 1 > channel (2 first columns) to do a plot. The "game" is to do it in an > efficient way : > without loading twice the data => what I do using mgetl + msscanf > and without using an external software to delete the header > > If needed I can upload the first lines of the file? > Thank you for help and have a great day, > R?mi Hi again, Sorry I missed your first post. From what I've read, you're almost done: > First I check where start the data and analyse the format: > /f=mopen(file,?r?);data=mgetl(f,10);mclose(f); =>works fine/ From here, you should have a look at data. It should be a nlinesx1 matrix of strings from which you can strip the header and then evaluate the rest as a matrix definition: //sample script that worked on the file you put in your first post filename='/tmp/dat.csv'; f=mopen(filename,'r'); data=mgetl(f,10); mclose(f); // Getting rid of the 5 1st lines that corresponds to the header and converting to a matrix of double // I assumed the file started at 'Test number ...': if it starts at '*Header, change 5 into 6 scan_dat=evstr(data(5:$,:)); clear data T=scan_dat(:,1); CH1=scan_dat(:,2); CH2=scan_dat(:,3); CH3=scan_dat(:,4); CH4=scan_dat(:,5); CH5=scan_dat(:,6); CH6=scan_dat(:,7); scf(); plot(T,CH1,'r'); plot(T,CH2,'k'); Hope it helps, Antoine > > -- > View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024356.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From manu-list at gmx.de Wed Jun 13 14:27:54 2012 From: manu-list at gmx.de (Manuel Poller) Date: Wed, 13 Jun 2012 14:27:54 +0200 Subject: [scilab-Users] How to resolve this differentiel equation? In-Reply-To: <1339575923147-4024359.post@n3.nabble.com> References: <1339575923147-4024359.post@n3.nabble.com> Message-ID: <1768380.M2u3tBFCAX@tspc> Hi Tima, > Does somebody knows how to resolve this equation with Scilab: > > *X=C*dT/dt + R(T1-T2);* I'm not sure what you are calculating! I guess T is some temperature, t is time and the data are from an experiment. So you would have measured a temperatue T1 at time t1 and same with T2 and t2. If this is the case, I would try to calculate like this: X = (C * (T1 - T2) / (t1 - t2)) + R(T1 - T2) (with index 1 > 2) Manu -- Manuel Poller manu-list at gmx.de From trevor.stittleburg at gmail.com Wed Jun 13 16:06:53 2012 From: trevor.stittleburg at gmail.com (Trevor Stittleburg) Date: Wed, 13 Jun 2012 10:06:53 -0400 Subject: [scilab-Users] How to resolve this differentiel equation? In-Reply-To: <1339575923147-4024359.post@n3.nabble.com> References: <1339575923147-4024359.post@n3.nabble.com> Message-ID: So you are asking how to perform a numerical integration of: dT/dt = (X - R(T1-T2)) / C Is one or more of these X,R,T1,T2,C a time varying quantity you have as an array or [ t data ]? I think pg. 6 of this link will help you: http://www.infoclearinghouse.com/files/scilab/scilab07.pdf On Wed, Jun 13, 2012 at 4:25 AM, Tima wrote: > Hi, > > Does somebody knows how to resolve this equation with Scilab: > > *X=C*dT/dt + R(T1-T2);* > > (X,C,R,T1,T2) are known... > > THANKS, > Tima > > -- > View this message in context: > http://mailinglists.scilab.org/How-to-resolve-this-differentiel-equation-tp4024359.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From manu-list at gmx.de Wed Jun 13 16:57:24 2012 From: manu-list at gmx.de (Manuel Poller) Date: Wed, 13 Jun 2012 16:57:24 +0200 Subject: [scilab-Users] How to resolve this differentiel equation? In-Reply-To: <1768380.M2u3tBFCAX@tspc> References: <1339575923147-4024359.post@n3.nabble.com> <1768380.M2u3tBFCAX@tspc> Message-ID: <1359844.cdj5OGiZLh@tspc> Hi Tima, forget my guess! I have not recognized, that X is also known. Manu > Hi Tima, > > > Does somebody knows how to resolve this equation with Scilab: > > > > *X=C*dT/dt + R(T1-T2);* > > X = (C * (T1 - T2) / (t1 - t2)) + R(T1 - T2) > (with index 1 > 2) From remi.mercier at imelavi.fr Wed Jun 13 21:47:16 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Wed, 13 Jun 2012 12:47:16 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <4FD856F5.6060208@laas.fr> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> Message-ID: <1339616836952-4024364.post@n3.nabble.com> Thx you a lot Antoine, Indeed the script you send works fine with "few lines". Then on my computer it runs very slow (after 100000 lines it starts to be hard) and i need to read much more ;-). My computer is correct so I don't think another could do much better. Moreover your script (don't see that as a critizme since mine was definitly not better) is also loading data at least twice in the memory.First time with mgetl in the variable data.Then in scan_data. As far as i understand in terms of performance the csv_read function is obtimized to load ascii file and would do the best job. Issue is how to remove the headers?Can we delete the first lines of the file in Scilab (with mputl maybe) or run csv_read starting from the 6th line? Thx you, Remi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024364.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Wed Jun 13 22:55:03 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 13 Jun 2012 22:55:03 +0200 Subject: [scilab-Users] Re: 500mo Ascii file In-Reply-To: <1339616836952-4024364.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> Message-ID: <4FD8FE27.2060806@laas.fr> Le 13/06/12 21:47, Tingsten a ?crit : > Thx you a lot Antoine, > > Indeed the script you send works fine with "few lines". Then on my computer > it runs very slow (after 100000 lines it starts to be hard) and i need to > read much more ;-). My computer is correct so I don't think another could do > much better. Oh, that's what I was expected, but reading your first post I thought it was working OK on your computer (I was a bit surprised to be honest). > > Moreover your script (don't see that as a critizme since mine was definitly > not better) is also loading data at least twice in the memory.First time > with mgetl in the variable data.Then in scan_data. > > As far as i understand in terms of performance the csv_read function is > obtimized to load ascii file and would do the best job. Issue is how to > remove the headers? I am a bit new to csv_read but it seems to me that weirdly enough this feature is not present. > Can we delete the first lines of the file in Scilab (with > mputl maybe) or run csv_read starting from the 6th line? Well, you can use mopen/mgetl/mputl to make a copy of your file starting from the 6th line. I don't know how efficient this will be. If you don't care about portability and you are lucky enough to work on a normal computer (ie one running linux or some kind of unix-like os), you can use scilab 'unix_g' function to call 'sed' or other commandline utilities that are really good at parsing big files. This is way more efficient and I regularly parse/modify/sort multiMB text files in a snap. > > Thx you, > Remi > > -- > View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024364.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From david.cheze at cea.fr Thu Jun 14 08:43:17 2012 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Wed, 13 Jun 2012 23:43:17 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <4FD8FE27.2060806@laas.fr> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> Message-ID: <1339656197454-4024366.post@n3.nabble.com> Hi, I've seen that recent version 0.6.1 of csv_readwrite can use prefiltering features to skip unwanted lines and get only the relevant ones : you may try to find the right regexp command to identify your first 6 lines (not so easy after a few attempts from my side...). Anyway, since this test case is quite common, you may ask directly to the csv-readwrite developers what's their advice to manage this case. David -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024366.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Thu Jun 14 09:22:37 2012 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 14 Jun 2012 09:22:37 +0200 Subject: [scilab-Users] Re: 500mo Ascii file In-Reply-To: <1339656197454-4024366.post@n3.nabble.com> References: <1339240003209-4024324.post@n3.nabble.com> <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> <1339656197454-4024366.post@n3.nabble.com> Message-ID: <4FD9913D.3040102@laas.fr> On 14/06/2012 08:43, David Ch?ze wrote: > Hi, > > I've seen that recent version 0.6.1 of csv_readwrite can use prefiltering > features to skip unwanted lines and get only the relevant ones : you may try > to find the right regexp command to identify your first 6 lines (not so easy > after a few attempts from my side...). What kind of regexp? Some can be used to skip lines. I'll have a look. Thanks for the info. Antoine > Anyway, since this test case is quite common, you may ask directly to the > csv-readwrite developers what's their advice to manage this case. > > David > > -- > View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024366.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > From remi.mercier at imelavi.fr Thu Jun 14 13:12:26 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Thu, 14 Jun 2012 04:12:26 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <4FD9913D.3040102@laas.fr> References: <1339395401372-4024333.post@n3.nabble.com> <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> <1339656197454-4024366.post@n3.nabble.com> <4FD9913D.3040102@laas.fr> Message-ID: <1339672346861-4024369.post@n3.nabble.com> Hello David and Antoine and thank you again for your help, Indeed, I discovered yesterday evening that one argument of the csv_read function could be used to identify a header. I used it succefully ;-) As you can see in the first post, every header line as a "e" in it. So /A=csv_read('mytestfile.csv',',','.','double',[],'/e/');/ does the job !!! (By the way there are much better way to do the regexp search http://perldoc.perl.org/perlrequick.html) So the csv_read fonction is really good. Only missing feature I can see now is if you want to load only 1 line every 100 you can't with csv_read (correct?) but you can with altenative methods. Have a good day, R?mi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024369.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From meni.tima at hotmail.com Thu Jun 14 16:33:14 2012 From: meni.tima at hotmail.com (Tima) Date: Thu, 14 Jun 2012 07:33:14 -0700 (PDT) Subject: How to resolve this differentiel equation? In-Reply-To: <1359844.cdj5OGiZLh@tspc> References: <1339575923147-4024359.post@n3.nabble.com> <1768380.M2u3tBFCAX@tspc> <1359844.cdj5OGiZLh@tspc> Message-ID: <1339684394570-4024370.post@n3.nabble.com> Hi, Thanks a lot for your replies. In fact, I am tring to implement a solver of differential equation in Java. I indicate my equation as a String: *P=C*dT/dt + R(T-Tenv) * in my class Java, I initialize my parameters, all this are introduced to Scilab(with sci.exec(".. ")) and then tried to solve this equation with ode or something else. Otherwise, I don't define the function in this way: *"dT/dt=..."* I tried it with a simple function, and it works fine, but this kind of functions I don't know how to solve it? Any suggestions please, Thanks -- View this message in context: http://mailinglists.scilab.org/How-to-resolve-this-differentiel-equation-tp4024359p4024370.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From coelho.eletrica at hotmail.com Fri Jun 15 01:05:51 2012 From: coelho.eletrica at hotmail.com (Camilo Coelho) Date: Thu, 14 Jun 2012 23:05:51 +0000 Subject: Install in Fedora Message-ID: Hello, First I would like to congratulate you for the amazing scilab software. I'm currently using Fedora 17 and just downloaded and unpacked the latest scilab-5.3.3.bin.linux-x86_64.tar.gzI'm running scilab doing $ cd usr/bin/scilab-5.3.3/bin $ ./scilab Is there any more elegant way to do it? I mean:-> /usr/bin is the most recommended place to install it?-> Perheps creating one alias?-> How can I create an icon in the gnome desktop? Thanks, ___________________________ Camilo Coelho Electrical Engineering Academic UFPR (BR) - Polytechnique UJF (FR) e-mail I: coelho.eletrica at gmail.com e-mail II: coelho.eletrica at hotmail.com Skype: coelho.eletrica -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Fri Jun 15 09:16:23 2012 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment_DAVID?=) Date: Fri, 15 Jun 2012 09:16:23 +0200 Subject: [scilab-Users] Install in Fedora In-Reply-To: References: Message-ID: <4FDAE147.4070700@scilab-enterprises.com> Hello Camilo, Why not using the packaged version ? > -> /usr/bin is the most recommended place to install it? in packaged version > -> Perheps creating one alias? Scilab stock version should be used easily : extract and run > -> How can I create an icon in the gnome desktop? desktop files are installed on the packaged version; https://admin.fedoraproject.org/pkgdb/acls/name/scilab http://koji.fedoraproject.org/koji/buildinfo?buildID=302811 -- Cl?ment Le 15/06/2012 01:05, Camilo Coelho a ?crit : > Hello, > > First I would like to congratulate you for the amazing scilab software. > > I'm currently using Fedora 17 and just downloaded and unpacked the > latest scilab-5.3.3.bin.linux-x86_64.tar.gz > I'm running scilab doing > $ cd usr/bin/scilab-5.3.3/bin > $ ./scilab > > Is there any more elegant way to do it? I mean: > -> /usr/bin is the most recommended place to install it? > -> Perheps creating one alias? > -> How can I create an icon in the gnome desktop? > > Thanks, > ___________________________ > > Camilo Coelho > Electrical Engineering Academic > UFPR (BR) - Polytechnique UJF (FR) > e-mail I: coelho.eletrica at gmail.com > e-mail II: coelho.eletrica at hotmail.com > Skype: coelho.eletrica -- Cl?ment DAVID Scilab Enterprises mobile: 06 26 26 51 90 skype://clement_david_scilab From remi.mercier at imelavi.fr Sat Jun 16 17:05:56 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Sat, 16 Jun 2012 08:05:56 -0700 (PDT) Subject: 500mo Ascii file In-Reply-To: <1339672346861-4024369.post@n3.nabble.com> References: <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> <1339656197454-4024366.post@n3.nabble.com> <4FD9913D.3040102@laas.fr> <1339672346861-4024369.post@n3.nabble.com> Message-ID: <1339859156112-4024379.post@n3.nabble.com> Hello all, Following the "success" of reading a big file (around 200mo) I tried with bigger files ;-) Although I waited more than 5 minutes I was not able to load a 500mo file. So I wanted to only load 1 line every 100 but I did not find a good technique. I was thinking doing something like this (I noticed that a line as a "length" of 41 or 42) : f=mopen('my500mofile.txt','r'); data=[];eof=0; While eof==0, data=[data;mgetl(f,1)];mseek(4100,'cur'); eof=meof(f);,end; mseek(4100,'cur'); should skip 100 line but the problem is that sometimes 4100 does not exactly correspond to exactly 100 lines and it messed up the result..... Any idee to avoid this? Thx you a lot and have a good week-end, R?mi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024379.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Sun Jun 17 13:02:17 2012 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 17 Jun 2012 13:02:17 +0200 Subject: [scilab-Users] Re: 500mo Ascii file In-Reply-To: <1339859156112-4024379.post@n3.nabble.com> References: <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> <1339656197454-4024366.post@n3.nabble.com> <4FD9913D.3040102@laas.fr> <1339672346861-4024369.post@n3.nabble.com> <1339859156112-4024379.post@n3.nabble.com> Message-ID: <4FDDB939.4050702@free.fr> Hello, Le 16/06/2012 17:05, Tingsten a ?crit : > Hello all, > > Following the "success" of reading a big file (around 200mo) I tried with > bigger files ;-) > Although I waited more than 5 minutes I was not able to load a 500mo file. > > So I wanted to only load 1 line every 100 but I did not find a good > technique. > I was thinking doing something like this (I noticed that a line as a > "length" of 41 or 42) : > > f=mopen('my500mofile.txt','r'); > data=[];eof=0; > While eof==0, data=[data;mgetl(f,1)];mseek(4100,'cur'); eof=meof(f);,end; > > > mseek(4100,'cur'); should skip 100 line but the problem is that sometimes > 4100 does not exactly correspond to exactly 100 lines and it messed up the > result..... > > Any idee to avoid this? > You may try this code: ------------------- fid = file('open',"myFile.txt","old"); H = read(fid,5,1,"(a)"); // Header (5 lines) // Sampling lines of data => Matrix N = 100; // Read 1 line over N ok = %t; L = []; try L = read(fid,1,7,"(7f11.3)"); catch ok = %f; end while ok try read(fid,N-2,1,"(f11.3)"); // Skipped lines li = read(fid,1,7,"(7f11.3)") L = [L ; li ]; catch ok = %f end end file('close',fid); // Sampled lines are in L ----------------- Please do not hesitate to report here the timing when applying it to your big file (provided that all its data are supported by the f11.3 format. Otherwise, you may adapt it in the script). Regards Samuel Gougeon From michael.baudin at edf.fr Mon Jun 18 09:59:06 2012 From: michael.baudin at edf.fr (Michael BAUDIN) Date: Mon, 18 Jun 2012 09:59:06 +0200 Subject: RE [scilab-Users] Re: 500mo Ascii file In-Reply-To: <1339859156112-4024379.post@n3.nabble.com> References: <1339448267945-4024346.post@n3.nabble.com> <1339533452175-4024354.post@n3.nabble.com> <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> <1339656197454-4024366.post@n3.nabble.com> <4FD9913D.3040102@laas.fr> <1339672346861-4024369.post@n3.nabble.com> <1339859156112-4024379.post@n3.nabble.com> Message-ID: Hi, You cannot read one line every 100 lines. But what you can do (and this is more interesting) is to read your files by blocks: this is the "range" option. See this post : http://www.equalis.com/forums/posts.asp?topic=169983 This should allow you to read huge files. Best regards, Micha?l remi.mercier at imelavi.fr 16/06/2012 17:06 Veuillez r?pondre ? users at lists.scilab.org A users at lists.scilab.org cc Objet [scilab-Users] Re: 500mo Ascii file Hello all, Following the "success" of reading a big file (around 200mo) I tried with bigger files ;-) Although I waited more than 5 minutes I was not able to load a 500mo file. So I wanted to only load 1 line every 100 but I did not find a good technique. I was thinking doing something like this (I noticed that a line as a "length" of 41 or 42) : f=mopen('my500mofile.txt','r'); data=[];eof=0; While eof==0, data=[data;mgetl(f,1)];mseek(4100,'cur'); eof=meof(f);,end; mseek(4100,'cur'); should skip 100 line but the problem is that sometimes 4100 does not exactly correspond to exactly 100 lines and it messed up the result..... Any idee to avoid this? Thx you a lot and have a good week-end, R?mi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024379.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme ? sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse. Si vous n'?tes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez re?u ce Message par erreur, merci de le supprimer de votre syst?me, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions ?galement d'en avertir imm?diatement l'exp?diteur par retour du message. Il est impossible de garantir que les communications par messagerie ?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de toute erreur ou virus. ____________________________________________________ This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message. E-mail communication cannot be guaranteed to be timely secure, error or virus-free. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnoorshuib at gmail.com Tue Jun 19 05:10:13 2012 From: mnoorshuib at gmail.com (shuib mnoor) Date: Tue, 19 Jun 2012 11:10:13 +0800 Subject: error message "a Fortran or C compiler is required" Message-ID: ---------- Forwarded message ---------- From: shuib mnoor Date: Tue, Jun 12, 2012 at 12:59 AM Subject: To: users at lists.scilab.org Cc: shuib mnoor asSalamu'alaikum good day to u good people of scilab doing good things for humanity by offering a freeware important in technical and engineering, pls keep it up and on, may ALLAH guides u all and me, then with ALLAH's Guidance may u and me all be successful in this world and in the world hereafter, Dear good people, 1) i have installed scilab 5.3.3 and try to run demo xcos of "DC/DC Boost Converter", but a problem: "Flat Modelica : C:\DOCUME~1\ADMINI~2\LOCALS~1\Temp\SCI_TMP_3368_\Boost_Converter_imf.mo Simulation C code :C:\DOCUME~1\ADMINI~2\LOCALS~1\Temp\SCI_TMP_3368_\Boost_Converter_im.c Generate a loader file Generate a Makefile Running the Makefile !sorry compiling problem ! ! ! !A Fortran or C compiler is required. ! " - the above was "said" by scilab, could u pls help me sort it out. 2) i'm studying power electronics, there is a software "PLECS" (u can google it), which can be used in tandem with matlab, could u pls suggest me if there's any such software that is freeware that can be used with scilab. pls help me with these 2 issues, thank u so much, mnoorshuib at gmail.com, freewares liker and supporter, -------------- next part -------------- An HTML attachment was scrubbed... URL: From plea at trashmail.de Tue Jun 19 12:42:42 2012 From: plea at trashmail.de (eudoxos) Date: Tue, 19 Jun 2012 03:42:42 -0700 (PDT) Subject: Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: <280394.65556.qm@web45510.mail.sp1.yahoo.com> References: <280394.65556.qm@web45510.mail.sp1.yahoo.com> Message-ID: <1340102562516-4024385.post@n3.nabble.com> Hello, I have the same problem with Win7 and scilab 5.3.3 (64-bit). Is there anywhere a problem solution for this error message? Thanks, I hope anybody can help me. -- View this message in context: http://mailinglists.scilab.org/Problem-Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations-tp2892455p4024385.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Tue Jun 19 12:47:31 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 19 Jun 2012 12:47:31 +0200 Subject: [scilab-Users] Re: Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: <1340102562516-4024385.post@n3.nabble.com> References: <280394.65556.qm@web45510.mail.sp1.yahoo.com> <1340102562516-4024385.post@n3.nabble.com> Message-ID: <4FE058C3.2090409@scilab-enterprises.com> Could you try with a nightly build ? Sylvestre On 19/06/2012 12:42, eudoxos wrote: > Hello, > > I have the same problem with Win7 and scilab 5.3.3 (64-bit). Is there > anywhere a problem solution for this error message? > > Thanks, I hope anybody can help me. > > > -- > View this message in context: http://mailinglists.scilab.org/Problem-Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations-tp2892455p4024385.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -- ----------------------------- Sylvestre Ledru Operations manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From plea at trashmail.de Tue Jun 19 13:03:30 2012 From: plea at trashmail.de (eudoxos) Date: Tue, 19 Jun 2012 04:03:30 -0700 (PDT) Subject: Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: <4FE058C3.2090409@scilab-enterprises.com> References: <280394.65556.qm@web45510.mail.sp1.yahoo.com> <1340102562516-4024385.post@n3.nabble.com> <4FE058C3.2090409@scilab-enterprises.com> Message-ID: <1340103810892-4024387.post@n3.nabble.com> Thanks for your quick answer, but I can't understand your question. What is a "nightly build"? I have a running system with vc++ and scilab 5.2.2, but now I'm trying to get a solution with scilab 5.3.3, the MinGw-Tool and a gnu-compiler. -- View this message in context: http://mailinglists.scilab.org/Problem-Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations-tp2892455p4024387.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Tue Jun 19 13:18:47 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 19 Jun 2012 13:18:47 +0200 Subject: [scilab-Users] Re: Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: <1340103810892-4024387.post@n3.nabble.com> References: <280394.65556.qm@web45510.mail.sp1.yahoo.com> <1340102562516-4024385.post@n3.nabble.com> <4FE058C3.2090409@scilab-enterprises.com> <1340103810892-4024387.post@n3.nabble.com> Message-ID: <4FE06017.3060204@scilab-enterprises.com> On 19/06/2012 13:03, eudoxos wrote: > Thanks for your quick answer, but I can't understand your question. What is a > "nightly build"? > I have a running system with vc++ and scilab 5.2.2, but now I'm trying to > get a solution with scilab 5.3.3, the MinGw-Tool and a gnu-compiler. A nightly build of Scilab is a very built out of the current source tree: http://www.scilab.org/fr/communities/developer_zone/scilab_versions/development_version/nightly_builds/branch_master Basically, it is close to be the 5.4.0 beta. Many many bugs are fixed in the current nightly build. Sylvestre -- ----------------------------- Sylvestre Ledru Operations manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From remi.mercier at imelavi.fr Tue Jun 19 14:33:18 2012 From: remi.mercier at imelavi.fr (Tingsten) Date: Tue, 19 Jun 2012 05:33:18 -0700 (PDT) Subject: RE [scilab-Users] Re: 500mo Ascii file In-Reply-To: References: <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> <1339656197454-4024366.post@n3.nabble.com> <4FD9913D.3040102@laas.fr> <1339672346861-4024369.post@n3.nabble.com> <1339859156112-4024379.post@n3.nabble.com> Message-ID: <1340109198207-4024389.post@n3.nabble.com> Hello Samuel and Michael, Thx you a lot for your help. First let's say that I found a reasonnable technique to do the job which is : f=mopen('my500mofile.txt','r'); data=mgetl(f,1);eof=0; While eof==0,* mgetl(f,1);* data=[data;mgetl(f,1)];mseek(4100,'cur'); eof=meof(f);,end; By adding a mgetl(f,1) that I "throw away" I have no more the issue of recording a not complete line. So it does work with my 500mo file. Then by changing the 4100 we can adapt to different type (and size) of file. Regarding the script you send, I did try Samuel's that look great. For the moment it goes out of the loop and goes false but I'll investigate why and try it. It could be much more efficient than mine (only things is that you read every line). Michael, I'll also try your technique. Have a good day, R?mi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024389.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From plea at trashmail.de Tue Jun 19 15:02:12 2012 From: plea at trashmail.de (eudoxos) Date: Tue, 19 Jun 2012 06:02:12 -0700 (PDT) Subject: Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: <4FE06017.3060204@scilab-enterprises.com> References: <280394.65556.qm@web45510.mail.sp1.yahoo.com> <1340102562516-4024385.post@n3.nabble.com> <4FE058C3.2090409@scilab-enterprises.com> <1340103810892-4024387.post@n3.nabble.com> <4FE06017.3060204@scilab-enterprises.com> Message-ID: <1340110932570-4024390.post@n3.nabble.com> I installed the nightly building but the minGw-Toolbox ist not available for this version (5.4). I tried to install it offline but it doesn't work. Is it better to install a 32-Bit Version of Scilab and GCC? Maybe it is a 64bit - Problem. Best Regards -- View this message in context: http://mailinglists.scilab.org/Problem-Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations-tp2892455p4024390.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From plea at trashmail.de Tue Jun 19 15:06:52 2012 From: plea at trashmail.de (eudoxos) Date: Tue, 19 Jun 2012 06:06:52 -0700 (PDT) Subject: Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: <4FE06017.3060204@scilab-enterprises.com> References: <280394.65556.qm@web45510.mail.sp1.yahoo.com> <1340102562516-4024385.post@n3.nabble.com> <4FE058C3.2090409@scilab-enterprises.com> <1340103810892-4024387.post@n3.nabble.com> <4FE06017.3060204@scilab-enterprises.com> Message-ID: <1340111212306-4024391.post@n3.nabble.com> Sorry, I tried again and it was successful to install mingw-toolbox on scilab 5.4 -- View this message in context: http://mailinglists.scilab.org/Problem-Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations-tp2892455p4024391.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From plea at trashmail.de Tue Jun 19 15:18:05 2012 From: plea at trashmail.de (eudoxos) Date: Tue, 19 Jun 2012 06:18:05 -0700 (PDT) Subject: Problem: Gcc compiler / Scilab 5.3.1 version - 64 bits / MinGW / Scilab demonstrations In-Reply-To: <4FE06017.3060204@scilab-enterprises.com> References: <280394.65556.qm@web45510.mail.sp1.yahoo.com> <1340102562516-4024385.post@n3.nabble.com> <4FE058C3.2090409@scilab-enterprises.com> <1340103810892-4024387.post@n3.nabble.com> <4FE06017.3060204@scilab-enterprises.com> Message-ID: <1340111885652-4024392.post@n3.nabble.com> Hello, I tried it with: scilab 5.4 (nightly building) (64 bit), mingw 0.8 gcc 4.6.3 (64 bit). It doesn't work. I got an error message: erzeuge eine Laderdatei erzeuge ein Makefile !--error 144 Undefinierte Operation f?r die gegebenen Operanden. ?berpr?fen oder definieren der Funktion %b_a_c f?r ?berlast. at line 54 of function dlwGenerateMakefile called by : at line 34 of function generateMakefile called by : at line 79 of function ilib_for_link called by : ilib_for_link(link_name,dot_filename,[],'c'); at line 27 of exec file called by : exec('C:\Clib\clib.sce', -1) ---------------------------------------------- *.sce - File: // Script zur Ansteuerung des RT-Prozessors clear all; clc; /////////////////////////////////////////////// cd "C:\Clib" // Abfrage, ob ein c-Compiler vorhanden ist. cOK = haveacompiler(); if (~cOK) then disp('Fehler: Kein C-Compiler gefunden!'); abort end //Sytax-Pr?fung [out,bOK] = dos('call C:\gcc\bin\gcc.exe C:\Clib\dspace.c'); exec('C:\Clib\cleaner.sce', -1) ////////////////////////////////////// dot_filename='C:\Clib\dspace.c'; // zu compilierende Datei link_name = ['main']; // zu exportierende Prozeduren dos('del dspace.dll'); // sicherstellen, dass auch wirklich eine neue dll erstellt wird. files=['dspace.c']; //ilib_build('build_c','main',files,[]); ilib_for_link(link_name,dot_filename,[],'c'); //link(dot_filename,link_name,'c'); -- View this message in context: http://mailinglists.scilab.org/Problem-Gcc-compiler-Scilab-5-3-1-version-64-bits-MinGW-Scilab-demonstrations-tp2892455p4024392.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From samuel.enibe at unn.edu.ng Tue Jun 19 16:03:41 2012 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Tue, 19 Jun 2012 15:03:41 +0100 Subject: How to Install SCILAB 5.4.0 ALPHA 1 on Ubuntu 11.10 Message-ID: I have downloaded the 32 bit version of SCILAB 5.4.0 ALPHA 1 and extracted the files in a folder. i have tried to run it from that folder as I used to do with earlier versions of Ubuntu, but it does not work this time. Instead, I have the following error reports: *"Could not load JVM dynamic library (libjava). Error: libjvm.so: cannot open shared object file: No such file or directory If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/. If you are using a self-built version of Scilab, update the script bin/scilab to provide the path to the JVM. The problem might be related to SELinux. Try to deactivate it. Please also check that you are not trying to run Scilab 64 bits on a 32 bits system (or vice versa). Scilab cannot open JVM library." * I would appreciate it if you could let me know how to complete the installation. -- Samuel Ogbonna Enibe University of Nigeria, Nsukka, Nigeria -------------- next part -------------- An HTML attachment was scrubbed... URL: From denis.crete at thalesgroup.com Tue Jun 19 16:29:06 2012 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Tue, 19 Jun 2012 16:29:06 +0200 Subject: [scilab-Users] Re: RE [scilab-Users] Re: 500mo Ascii file In-Reply-To: <1340109198207-4024389.post@n3.nabble.com> References: <4FD82E54.5090708@laas.fr> <1339572255519-4024356.post@n3.nabble.com> <4FD856F5.6060208@laas.fr> <1339616836952-4024364.post@n3.nabble.com> <4FD8FE27.2060806@laas.fr> <1339656197454-4024366.post@n3.nabble.com> <4FD9913D.3040102@laas.fr> <1339672346861-4024369.post@n3.nabble.com> <1339859156112-4024379.post@n3.nabble.com> <1340109198207-4024389.post@n3.nabble.com> Message-ID: <8996_1340116130_4FE08CA2_8996_4062_1_908CBC9017354841B2F32BBEC70A05A101C37BF4FC0F@THSONEA01CMS01P.one.grp> Hello, As David mentioned, you can use regexp in SED (I am not familiar with perl-style regexp used in SciLab) If you have the basic "sed" installed (standard with Unix/Linux OSes) and available also for Windows, it may be very fast to use Extracted_lines=unix_g('sed -ne ""'+filter+'p;"" my500mofile.txt'); Where filter is the string for the selection of the lines to extract, e.g. starting at line 6, keep only the first 2 fields separated by comma: 6,$ s/^\([^,]*,[^,]*\).*$/\1/ Giving Extracted_lines=unix_g('sed -ne ""6,$ s/^\([^,]*,[^,]*\).*$/\1/p;"" my500mofile.txt'); Then you can use data=[]; for line=Extracted_lines', data=[data;eval(tokens(line,",")')];end; or [Iter,Time,CHX]= msscanf(-1,Extracted_lines,'%f,%f'); HTH Denis -----Message d'origine----- De?: Tingsten [mailto:remi.mercier at imelavi.fr] Envoy??: mardi 19 juin 2012 14:33 ??: users at lists.scilab.org Objet?: [scilab-Users] Re: RE [scilab-Users] Re: 500mo Ascii file Hello Samuel and Michael, Thx you a lot for your help. First let's say that I found a reasonnable technique to do the job which is : f=mopen('my500mofile.txt','r'); data=mgetl(f,1);eof=0; While eof==0,* mgetl(f,1);* data=[data;mgetl(f,1)];mseek(4100,'cur'); eof=meof(f);,end; By adding a mgetl(f,1) that I "throw away" I have no more the issue of recording a not complete line. So it does work with my 500mo file. Then by changing the 4100 we can adapt to different type (and size) of file. Regarding the script you send, I did try Samuel's that look great. For the moment it goes out of the loop and goes false but I'll investigate why and try it. It could be much more efficient than mine (only things is that you read every line). Michael, I'll also try your technique. Have a good day, R?mi -- View this message in context: http://mailinglists.scilab.org/500mo-Ascii-file-tp4024324p4024389.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From eduardo.torrecillas at gmail.com Tue Jun 19 20:12:06 2012 From: eduardo.torrecillas at gmail.com (Eduardo Torrecillas) Date: Tue, 19 Jun 2012 15:12:06 -0300 Subject: Usage of OPTIM function with external fortran Message-ID: Hi all, I am currently working on a huge optimization (impossible to have it done on pure scilab), so my cost function is an external fortran function. I've tried a few small examples and everything is working fine (links, results, etc). The external subroutine should be on the form: subroutine costf(ind,n,x,f,g,ti,tr,td) Then, I can call it via scilab, passing integer, real, or double arguments (ti, tr, td, respectively). Unfortunately, I couldn't find a way to pass text strings (if needed) and also matrices. I have a cost function which should count on a huge matrix (for example, dimension 10.000,3). Is there a way to pass it via optim? Best regards, -- Eduardo Torrecillas -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at inria.fr Tue Jun 19 22:14:22 2012 From: Serge.Steer at inria.fr (Serge Steer) Date: Tue, 19 Jun 2012 22:14:22 +0200 Subject: [scilab-Users] Usage of OPTIM function with external fortran In-Reply-To: References: Message-ID: <4FE0DD9E.6080209@inria.fr> Le 19/06/2012 20:12, Eduardo Torrecillas a ?crit : > Hi all, > > I am currently working on a huge optimization (impossible to have it > done on pure scilab), so my cost function is an external fortran > function. I've tried a few small examples and everything is working > fine (links, results, etc). > > The external subroutine should be on the form: > > subroutine costf(ind,n,x,f,g,ti,tr,td) > > Then, I can call it via scilab, passing integer, real, or double > arguments (ti, tr, td, respectively). Unfortunately, I couldn't find a > way to pass text strings (if needed) and also matrices. I have a cost > function which should count on a huge matrix (for example, dimension > 10.000,3). Is there a way to pass it via optim? > > Best regards, > -- > Eduardo Torrecillas You can pass your huge matrix using td for the floating point numbers and ti for the dimensions, The costf routine should then be able to recover pointer on matrix data from td ans matrix dimension from ti Serge Steer INRIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfabbri at gmail.com Tue Jun 19 22:43:34 2012 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Tue, 19 Jun 2012 17:43:34 -0300 Subject: [scilab-Users] How to Install SCILAB 5.4.0 ALPHA 1 on Ubuntu 11.10 In-Reply-To: References: Message-ID: More and more people are using the Scilab nightly builds: http://www.scilab.org/communities/developer_zone/scilab_versions/development_version/nightly_builds Ricardo Fabbri -- Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Tue, Jun 19, 2012 at 11:03 AM, Samuel Enibe wrote: > I have downloaded the 32 bit version of SCILAB 5.4.0 ALPHA 1 and extracted > the files in a folder. > i have tried to run it from that folder as I used to do with earlier > versions of Ubuntu, but it does not work this time. > > Instead, I have the following error reports: > > > "Could not load JVM dynamic library (libjava). > Error: libjvm.so: cannot open shared object file: No such file or directory > If you are using a binary version of Scilab, please report a bug > http://bugzilla.scilab.org/. > If you are using a self-built version of Scilab, update the script > bin/scilab to provide the path to the JVM. > The problem might be related to SELinux. Try to deactivate it. > Please also check that you are not trying to run Scilab 64 bits on a 32 bits > system (or vice versa). > > Scilab cannot open JVM library." > > > I would appreciate it if you could let me know how to complete the > installation. > -- > Samuel Ogbonna Enibe > University of Nigeria, Nsukka, Nigeria From laavecilla at gmail.com Wed Jun 20 20:32:51 2012 From: laavecilla at gmail.com (Mikel larrea) Date: Wed, 20 Jun 2012 20:32:51 +0200 Subject: examples Message-ID: hello,would you know where can i get any examples about programming fortran and C blocks from the users functions palette??? i would be very pleasant, i have been trying for some long and i could not do it. Thank you, bye.... -------------- next part -------------- An HTML attachment was scrubbed... URL: From nomiya at galaxy.dti.ne.jp Thu Jun 21 13:37:51 2012 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Thu, 21 Jun 2012 20:37:51 +0900 Subject: can't compile the very latest git (Scilab 5.4.0 alpha1) Message-ID: <87395ozyi8.wl%nomiya@galaxy.dti.ne.jp> Hello, I got the very latest git of scilab with 'git pull' command, then tried to compile. But it failed. 1. the result of configure. Scilab is configured as follows. Please verify that this configuration matches your expectations. Host system type : x86_64-unknown-linux-gnu Option Value ------------------------------------------------------------------------- Shared libraries....... --enable-shared=yes Static libraries....... --enable-static=no GNU ld................. --with-gnu-ld=yes Enable debug .......... --enable-debug=no Enable debug C......... --enable-debug-C=no Enable debug C++....... --enable-debug-CXX=no Enable debug Java...... --enable-debug-java= Enable debug Fortran... --enable-debug-fortran=no Enable stop on warning. --enable-stop-on-warning= Compiler Configuration: Intel (--with-intelcompilers) .... = GNU gcc (--with-gcc) ............. = GNU Fortran 95 (--with-gfortran) . = Options: Do not use TCL/TK (--without-tk) ................. = TCL include (--with-tcl-include) ................. = TCL library (--with-tcl-library) ................. = TK include (--with-tk-include) ................... = TK library (--with-tk-library) ................... = Install XML Help (--with-install-help-xml) ....... = Compilation tests (--enable-compilation-tests) ... = no Make the package relocatable (--enable-relocatable)= no Use FFTW (--without-fftw) ........................ = Use MATIO (--without-matio) ...................... = Xcos enable Build modelica compiler (--without-modelica) ....... = Ocaml Configuration (for Modelica compiler): OCAMLC ............. = ocamlc OCAMLOPT ........... = ocamlopt OCAMLDEP ........... = ocamldep Not using code coverage OpenMP Configuration: OpenMP CFLAGS ...... = -fopenmp OpenMP CXXFLAGS .... = -fopenmp OpenMP LIBS ........ = -lgomp OpenMP FFLAGS ...... = FFTW Configuration: FFTW LIBS .......... = -lfftw3 FFTW CFLAGS ........ = MATIO Configuration: MATIO LIBS .......... = -lmatio -lz MATIO CFLAGS ........ = UMFPACK Configuration: UMFPACK LIBS ....... = -lumfpack -lamd UMFPACK CFLAGS ..... = UMFPACK SUITESPARSE = Yes BLAS/LAPACK/ATLAS Configuration: BLAS LIBS ............. = -lblas BLAS TYPE ............. = Generic Blas LAPACK LIBS ........... = -llapack LAPACK TYPE ........... = Library -llapack ARPACK LIBS ........... = -larpack Gettext/localization configuration: xgettext ............... = /usr/bin/xgettext msgfmt ................ = /usr/bin/msgfmt msgfmt_opts ............ = msgcat ................ = /usr/bin/msgcat Documentation building configuration: Docbook XSL path ....... = /usr/share/xml/docbook/stylesheet/nwalsh/current/ Saxon XSLT ............. = /usr/share/java/saxon.jar XML commons external ... = /usr/share/java/xml-commons-jaxp-1.3-apis-ext-1.3.04.jar Java Configuration: JAVA_HOME ........... = /usr/lib64/jvm/java JAVAC ............... = /usr/lib64/jvm/java/bin/javac JAVA_CLASSPATH ...... = JAVA_VERSION ........ = 1.6 JAVAC_FLAGS ......... = -g JAVA_JNI_INCLUDE .... = -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux JAVA_JNI_LIBS ....... = -L/usr/lib64/jvm/java/jre/lib/amd64 -ljava -lverify -L/usr/lib64/jvm/java/jre/lib/amd64/server -ljvm JAVA_JNI_LIBS_PRELOAD = JAVA ................ = /usr/lib64/jvm/java/bin/java JAVADOC ............. = /usr/lib64/jvm/java/bin/javadoc JAR ................. = /usr/lib64/jvm/java/bin/jar ANT ................. = /usr/bin/ant Java dependencies: Flexdock ............ = /usr/share/java/flexdock.jar JOGL 2............... = /usr/share/java/jogl2.jar JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL Gluegen 2 ........... = /usr/share/java/gluegen2-rt.jar Gluegen 2 LIBS (JNI) = Jeuclid (MathML) .... = /usr/share/java/jeuclid-core.jar Jhall .............. = /usr/share/java/javahelp2.jar Jrosetta (API) ...... = /usr/share/java/jrosetta-API.jar Jrosetta (Engine) ... = /usr/share/java/jrosetta-engine.jar Commons Logging ..... = /usr/share/java/commons-logging.jar JGraph X ............ = /usr/share/java/jgraphx.jar SciRenderer ......... = /usr/share/java/scirenderer-0.4.9.jar JLaTeXMath .......... = /usr/share/java/jlatexmath.jar Documentation, graphic export: FOP (XML => PDF) .... = /usr/share/java/xmlgraphics-fop-1.0.jar JLaTeXMath Fop ...... = /usr/share/java/jlatexmath-fop.jar Batik (SVG) ......... = /usr/share/java/batik-all.jar Avalon Framework .... = /usr/share/java/excalibur/avalon-framework.jar Commons I/O ......... = /usr/share/java/commons-io.jar XML graphics commons = /usr/share/java/xmlgraphics-commons.jar Code quality (optional): Checkstyle .......... = /usr/share/java/checkstyle-5.5.jar Commons-beanutils ... = /usr/share/java/commons-beanutils.jar Antlr ............... = /usr/share/java/antlr.jar Junit4 .............. = Cobertura ........... = splint .............. = no TCL/TK configuration: TK_INC_PATH ........ = -I/usr/include TCL_INC_PATH ....... = -I/usr/include TCLTK_LIBS ......... = -L/usr/lib64 -ltk8.5 -L/usr/lib64 -ltcl8.5 -ldl TCL_SERIAL_VERSION . = 8.5.10 TK_SERIAL_VERSION .. = 8.5.10 XML configuration: XML_FLAGS .......... = -I/usr/include/libxml2 XML_LIBS ........... = -lxml2 -lz -lm XML_VERSION ........ = 2.7.8 ./configure: line 42569: test: =: unary operator expected Not using HDF5 PCRE configuration: PCRE_CFLAGS ........ = PCRE_LIBS .......... = -L/usr/lib64 -lpcreposix -lpcre PCRE_VERSION ....... = 8.13 SWIG Configuration: SWIG generation disabled GIWS Configuration: GIWS generation disabled Libtool config: objext .............. = o libext (static) ..... = a shrext_cmds ......... = .so exeext .............. = Compilation paths: srcdir .............. = . srcdir_full ......... = /tmp/tes/scilab.old/scilab builddir ............ = /tmp/tes/scilab.old/scilab Platform informations: host ........... = x86_64-unknown-linux-gnu host_cpu ....... = x86_64 host_vendor .... = unknown host_os ... .... = linux-gnu hostname ....... = linux-7lcw CPU 64 bits .... = true Options used to compile and link: prefix ......... = /usr localedir ...... = ${datarootdir}/locale VERSION ........ = 5 CC ............. = gcc CFLAGS ......... = -g -O2 SCI_CFLAGS ..... = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector DEFS ........... = -DHAVE_CONFIG_H LD ............. = /usr/x86_64-suse-linux/bin/ld -m elf_x86_64 LDFLAGS ........ = SCI_LDFLAGS .... = -lstdc++ -Wl,--no-as-needed LIBS ........... = -lpthread -ldl -lncurses -lm CXX ............ = g++ CXXFLAGS ....... = -g -O2 SCI_CXXFLAGS ... = -DNDEBUG -fno-stack-protector F77 ............ = gfortran FFLAGS ......... = -g -O2 SCI_FFLAGS ..... = -DNDEBUG -m64 -fPIC F77_LDFLAGS .... = TERMCAP_LIB .... = no 2. the result of compilation. [...] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -I./includes/ -I./src/cpp/ -I./src/c/ -I./src/jni/ -I../../libs/MALLOC/includes/ -I../../modules/api_scilab/includes/ -I../../modules/commons/src/jni/ -I../../modules/core/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -DNDEBUG -fno-stack-protector -g -O2 -MT libscigraphic_objects_la-createGraphicObject.lo -MD -MP -MF .deps/libscigraphic_objects_la-createGraphicObject.Tpo -c src/cpp/createGraphicObject.cpp -fPIC -DPIC -o .libs/libscigraphic_objects_la-createGraphicObject.o src/cpp/createGraphicObject.cpp: In function 'char* createGraphicObject(const char*)': src/cpp/createGraphicObject.cpp:27:77: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] ./src/jni/CallGraphicController.hxx:166:15: error: initializing argument 2 of 'static char* org_scilab_modules_graphic_objects::CallGraphicController::askGraphicObject(JavaVM*, char*)' [-fpermissive] src/cpp/createGraphicObject.cpp: In function 'char* cloneGraphicObject(const char*)': src/cpp/createGraphicObject.cpp:32:77: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] ./src/jni/CallGraphicController.hxx:164:15: error: initializing argument 2 of 'static char* org_scilab_modules_graphic_objects::CallGraphicController::cloneGraphicObject(JavaVM*, char*)' [-fpermissive] src/cpp/createGraphicObject.cpp: In function 'void buildFigureMenuBar(const char*)': src/cpp/createGraphicObject.cpp:42:76: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] ./src/jni/CallGraphicController.hxx:210:13: error: initializing argument 2 of 'static void org_scilab_modules_graphic_objects::CallGraphicController::buildFigureMenuBar(JavaVM*, char*)' [-fpermissive] make[3]: *** [libscigraphic_objects_la-createGraphicObject.lo] error 1 make[3]: ?????? `/tmp/tes/scilab/scilab/modules/graphic_objects' ????? make[2]: *** [all] error 2 make[2]: ?????? `/tmp/tes/scilab/scilab/modules/graphic_objects' ????? make[1]: *** [all-recursive] error 1 make[1]: ?????? `/tmp/tes/scilab/scilab/modules' ????? Any idea? Thanks in advance. --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From clement.david at scilab-enterprises.com Thu Jun 21 13:40:46 2012 From: clement.david at scilab-enterprises.com (=?UTF-8?B?Q2zDqW1lbnQgREFWSUQ=?=) Date: Thu, 21 Jun 2012 13:40:46 +0200 Subject: [scilab-Users] can't compile the very latest git (Scilab 5.4.0 alpha1) In-Reply-To: <87395ozyi8.wl%nomiya@galaxy.dti.ne.jp> References: <87395ozyi8.wl%nomiya@galaxy.dti.ne.jp> Message-ID: <4FE3083E.9000003@scilab-enterprises.com> Hello, I also got this error. Rebuilding from scratch [1] fix this issue on my machine. [1]: make distclean && ./configure && make -- Cl?ment DAVID Le 21/06/2012 13:37, Masaru Nomiya a ?crit : > Hello, > > I got the very latest git of scilab with 'git pull' command, then > tried to compile. > But it failed. > > 1. the result of configure. > > Scilab is configured as follows. Please verify that this configuration > matches your expectations. > > Host system type : x86_64-unknown-linux-gnu > > Option Value > ------------------------------------------------------------------------- > Shared libraries....... --enable-shared=yes > Static libraries....... --enable-static=no > GNU ld................. --with-gnu-ld=yes > Enable debug .......... --enable-debug=no > Enable debug C......... --enable-debug-C=no > Enable debug C++....... --enable-debug-CXX=no > Enable debug Java...... --enable-debug-java= > Enable debug Fortran... --enable-debug-fortran=no > Enable stop on warning. --enable-stop-on-warning= > > Compiler Configuration: > Intel (--with-intelcompilers) .... = > GNU gcc (--with-gcc) ............. = > GNU Fortran 95 (--with-gfortran) . = > > Options: > Do not use TCL/TK (--without-tk) ................. = > TCL include (--with-tcl-include) ................. = > TCL library (--with-tcl-library) ................. = > TK include (--with-tk-include) ................... = > TK library (--with-tk-library) ................... = > Install XML Help (--with-install-help-xml) ....... = > Compilation tests (--enable-compilation-tests) ... = no > Make the package relocatable (--enable-relocatable)= no > Use FFTW (--without-fftw) ........................ = > Use MATIO (--without-matio) ...................... = > > Xcos enable > Build modelica compiler (--without-modelica) ....... = > > Ocaml Configuration (for Modelica compiler): > OCAMLC ............. = ocamlc > OCAMLOPT ........... = ocamlopt > OCAMLDEP ........... = ocamldep > > Not using code coverage > > OpenMP Configuration: > OpenMP CFLAGS ...... = -fopenmp > OpenMP CXXFLAGS .... = -fopenmp > OpenMP LIBS ........ = -lgomp > OpenMP FFLAGS ...... = > > FFTW Configuration: > FFTW LIBS .......... = -lfftw3 > FFTW CFLAGS ........ = > > MATIO Configuration: > MATIO LIBS .......... = -lmatio -lz > MATIO CFLAGS ........ = > > UMFPACK Configuration: > UMFPACK LIBS ....... = -lumfpack -lamd > UMFPACK CFLAGS ..... = > UMFPACK SUITESPARSE = Yes > > BLAS/LAPACK/ATLAS Configuration: > BLAS LIBS ............. = -lblas > BLAS TYPE ............. = Generic Blas > LAPACK LIBS ........... = -llapack > LAPACK TYPE ........... = Library -llapack > ARPACK LIBS ........... = -larpack > > > Gettext/localization configuration: > xgettext ............... = /usr/bin/xgettext > msgfmt ................ = /usr/bin/msgfmt > msgfmt_opts ............ = > msgcat ................ = /usr/bin/msgcat > > Documentation building configuration: > Docbook XSL path ....... = /usr/share/xml/docbook/stylesheet/nwalsh/current/ > Saxon XSLT ............. = /usr/share/java/saxon.jar > XML commons external ... = /usr/share/java/xml-commons-jaxp-1.3-apis-ext-1.3.04.jar > > Java Configuration: > JAVA_HOME ........... = /usr/lib64/jvm/java > JAVAC ............... = /usr/lib64/jvm/java/bin/javac > JAVA_CLASSPATH ...... = > JAVA_VERSION ........ = 1.6 > JAVAC_FLAGS ......... = -g > JAVA_JNI_INCLUDE .... = -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux > JAVA_JNI_LIBS ....... = -L/usr/lib64/jvm/java/jre/lib/amd64 -ljava -lverify -L/usr/lib64/jvm/java/jre/lib/amd64/server -ljvm > JAVA_JNI_LIBS_PRELOAD = > JAVA ................ = /usr/lib64/jvm/java/bin/java > JAVADOC ............. = /usr/lib64/jvm/java/bin/javadoc > JAR ................. = /usr/lib64/jvm/java/bin/jar > ANT ................. = /usr/bin/ant > > Java dependencies: > Flexdock ............ = /usr/share/java/flexdock.jar > JOGL 2............... = /usr/share/java/jogl2.jar > JOGL 2 LIBS (JNI) ... = -ljogl_desktop -lGL > Gluegen 2 ........... = /usr/share/java/gluegen2-rt.jar > Gluegen 2 LIBS (JNI) = > Jeuclid (MathML) .... = /usr/share/java/jeuclid-core.jar > Jhall .............. = /usr/share/java/javahelp2.jar > Jrosetta (API) ...... = /usr/share/java/jrosetta-API.jar > Jrosetta (Engine) ... = /usr/share/java/jrosetta-engine.jar > Commons Logging ..... = /usr/share/java/commons-logging.jar > JGraph X ............ = /usr/share/java/jgraphx.jar > SciRenderer ......... = /usr/share/java/scirenderer-0.4.9.jar > JLaTeXMath .......... = /usr/share/java/jlatexmath.jar > > Documentation, graphic export: > FOP (XML => PDF) .... = /usr/share/java/xmlgraphics-fop-1.0.jar > JLaTeXMath Fop ...... = /usr/share/java/jlatexmath-fop.jar > Batik (SVG) ......... = /usr/share/java/batik-all.jar > Avalon Framework .... = /usr/share/java/excalibur/avalon-framework.jar > Commons I/O ......... = /usr/share/java/commons-io.jar > XML graphics commons = /usr/share/java/xmlgraphics-commons.jar > > Code quality (optional): > Checkstyle .......... = /usr/share/java/checkstyle-5.5.jar > Commons-beanutils ... = /usr/share/java/commons-beanutils.jar > Antlr ............... = /usr/share/java/antlr.jar > Junit4 .............. = > Cobertura ........... = > splint .............. = no > > TCL/TK configuration: > TK_INC_PATH ........ = -I/usr/include > TCL_INC_PATH ....... = -I/usr/include > TCLTK_LIBS ......... = -L/usr/lib64 -ltk8.5 -L/usr/lib64 -ltcl8.5 -ldl > TCL_SERIAL_VERSION . = 8.5.10 > TK_SERIAL_VERSION .. = 8.5.10 > > XML configuration: > XML_FLAGS .......... = -I/usr/include/libxml2 > XML_LIBS ........... = -lxml2 -lz -lm > XML_VERSION ........ = 2.7.8 > > ./configure: line 42569: test: =: unary operator expected > Not using HDF5 > > PCRE configuration: > PCRE_CFLAGS ........ = > PCRE_LIBS .......... = -L/usr/lib64 -lpcreposix -lpcre > PCRE_VERSION ....... = 8.13 > > SWIG Configuration: > SWIG generation disabled > > GIWS Configuration: > GIWS generation disabled > > Libtool config: > objext .............. = o > libext (static) ..... = a > shrext_cmds ......... = .so > exeext .............. = > > Compilation paths: > srcdir .............. = . > srcdir_full ......... = /tmp/tes/scilab.old/scilab > builddir ............ = /tmp/tes/scilab.old/scilab > > Platform informations: > host ........... = x86_64-unknown-linux-gnu > host_cpu ....... = x86_64 > host_vendor .... = unknown > host_os ... .... = linux-gnu > hostname ....... = linux-7lcw > CPU 64 bits .... = true > > Options used to compile and link: > prefix ......... = /usr > localedir ...... = ${datarootdir}/locale > VERSION ........ = 5 > CC ............. = gcc > CFLAGS ......... = -g -O2 > SCI_CFLAGS ..... = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector > DEFS ........... = -DHAVE_CONFIG_H > LD ............. = /usr/x86_64-suse-linux/bin/ld -m elf_x86_64 > LDFLAGS ........ = > SCI_LDFLAGS .... = -lstdc++ -Wl,--no-as-needed > LIBS ........... = -lpthread -ldl -lncurses -lm > CXX ............ = g++ > CXXFLAGS ....... = -g -O2 > SCI_CXXFLAGS ... = -DNDEBUG -fno-stack-protector > F77 ............ = gfortran > FFLAGS ......... = -g -O2 > SCI_FFLAGS ..... = -DNDEBUG -m64 -fPIC > F77_LDFLAGS .... = > TERMCAP_LIB .... = no > > 2. the result of compilation. > > [...] > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -I./includes/ -I./src/cpp/ -I./src/c/ -I./src/jni/ -I../../libs/MALLOC/includes/ -I../../modules/api_scilab/includes/ -I../../modules/commons/src/jni/ -I../../modules/core/includes/ -I../../modules/jvm/includes/ -I../../modules/localization/includes/ -I../../modules/output_stream/includes/ -DNDEBUG -fno-stack-protector -g -O2 -MT libscigraphic_objects_la-createGraphicObject.lo -MD -MP -MF .deps/libscigraphic_objects_la-createGraphicObject.Tpo -c src/cpp/createGraphicObject.cpp -fPIC -DPIC -o .libs/libscigraphic_objects_la-createGraphicObject.o > src/cpp/createGraphicObject.cpp: In function 'char* createGraphicObject(const char*)': > src/cpp/createGraphicObject.cpp:27:77: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] > ./src/jni/CallGraphicController.hxx:166:15: error: initializing argument 2 of 'static char* org_scilab_modules_graphic_objects::CallGraphicController::askGraphicObject(JavaVM*, char*)' [-fpermissive] > src/cpp/createGraphicObject.cpp: In function 'char* cloneGraphicObject(const char*)': > src/cpp/createGraphicObject.cpp:32:77: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] > ./src/jni/CallGraphicController.hxx:164:15: error: initializing argument 2 of 'static char* org_scilab_modules_graphic_objects::CallGraphicController::cloneGraphicObject(JavaVM*, char*)' [-fpermissive] > src/cpp/createGraphicObject.cpp: In function 'void buildFigureMenuBar(const char*)': > src/cpp/createGraphicObject.cpp:42:76: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] > ./src/jni/CallGraphicController.hxx:210:13: error: initializing argument 2 of 'static void org_scilab_modules_graphic_objects::CallGraphicController::buildFigureMenuBar(JavaVM*, char*)' [-fpermissive] > make[3]: *** [libscigraphic_objects_la-createGraphicObject.lo] error 1 > make[3]: ?????? `/tmp/tes/scilab/scilab/modules/graphic_objects' ????? > make[2]: *** [all] error 2 > make[2]: ?????? `/tmp/tes/scilab/scilab/modules/graphic_objects' ????? > make[1]: *** [all-recursive] error 1 > make[1]: ?????? `/tmp/tes/scilab/scilab/modules' ????? > > Any idea? > > Thanks in advance. > > --- > ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp > ???? > ???? "Bill! You married with Computers. > Not with Me!" > "No..., with money." > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ > -- Cl?ment DAVID Scilab Enterprises mobile: 06 26 26 51 90 skype://clement_david_scilab From sylvestre.ledru at scilab-enterprises.com Thu Jun 21 13:41:33 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 21 Jun 2012 13:41:33 +0200 Subject: [scilab-Users] can't compile the very latest git (Scilab 5.4.0 alpha1) In-Reply-To: <87395ozyi8.wl%nomiya@galaxy.dti.ne.jp> References: <87395ozyi8.wl%nomiya@galaxy.dti.ne.jp> Message-ID: <4FE3086D.100@scilab-enterprises.com> Le 21/06/2012 13:37, Masaru Nomiya a ?crit : > Hello, > > I got the very latest git of scilab with 'git pull' command, then > tried to compile. > But it failed. > [...] > .libs/libscigraphic_objects_la-createGraphicObject.o > src/cpp/createGraphicObject.cpp: In function 'char* createGraphicObject(const char*)': > src/cpp/createGraphicObject.cpp:27:77: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] > ./src/jni/CallGraphicController.hxx:166:15: error: initializing argument 2 of 'static char* Interesting. Which version of gcc are you using ? gcc --version g++ --version As a workaround, make CXXFLAGS="-fpermissive" should fix it Thanks Sylvestre From nomiya at galaxy.dti.ne.jp Thu Jun 21 14:25:27 2012 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Thu, 21 Jun 2012 21:25:27 +0900 Subject: can't compile the very latest git (Scilab 5.4.0 alpha1) In-Reply-To: <4FE3086D.100@scilab-enterprises.com> References: <87395ozyi8.wl%nomiya@galaxy.dti.ne.jp> <4FE3086D.100@scilab-enterprises.com> Message-ID: <871ul8zwaw.wl%nomiya@galaxy.dti.ne.jp> Hello, In the Message; Subject : Re: [scilab-Users] can't compile the very latest git (Scilab 5.4.0 alpha1) Message-ID : <4FE3086D.100 at scilab-enterprises.com> Date & Time: Thu, 21 Jun 2012 13:41:33 +0200 Sylvestre Ledru has written: > [...] >> .libs/libscigraphic_objects_la-createGraphicObject.o >> src/cpp/createGraphicObject.cpp: In function 'char* createGraphicObject(const char*)': >> src/cpp/createGraphicObject.cpp:27:77: error: invalid conversion from 'const char*' to 'char*' [-fpermissive] >> ./src/jni/CallGraphicController.hxx:166:15: error: initializing argument 2 of 'static char* > Interesting. Which version of gcc are you using ? > gcc --version > g++ --version $ gcc --version gcc (SUSE Linux) 4.6.3 20120531 [gcc-4_6-branch revision 188067] $ g++ --version g++ (SUSE Linux) 4.6.3 20120531 [gcc-4_6-branch revision 188067] > As a workaround, > make CXXFLAGS="-fpermissive" > should fix it Yes, I could compile. But, 'sudo make install' failes with the same error messages as before. I could solve this problem; $ sudo make install CXXFLAGS="-fpermissive" Anyway, thank you so much. Regards, --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From communication at scilab.org Thu Jun 21 14:29:44 2012 From: communication at scilab.org (Scilab Communication) Date: Thu, 21 Jun 2012 14:29:44 +0200 Subject: D-7: ScilabTEC, Thursday 28 June Message-ID: <4FE313B8.9070805@scilab.org> *It is still time to registrate to ScilabTEC 2012!* It is on thursday 28 June at the ?cole Polytechnique, Palaiseau (91), organized within Teratec Forum. Open invitation, online registration required: http://www.teratec.eu/gb/forum/inscription.php ScilabTEC *With the participation of Kitware, Eramet, Silkan (HPC Project), Sanofi, Astrium, Dassault Aviation and CNES.* Complete program: http://www.scilab.org/news/events/20120516 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: scilabtec_en.png Type: image/png Size: 110668 bytes Desc: not available URL: From brix.frederic at canvas.ocn.ne.jp Fri Jun 22 08:01:22 2012 From: brix.frederic at canvas.ocn.ne.jp (Frederic Brix) Date: Thu, 21 Jun 2012 23:01:22 -0700 (PDT) Subject: xcos() launch error Message-ID: <1340344882701-4024414.post@n3.nabble.com> Hello, I have reinstalled SCILAB 5.3.3 on my Win7 PC. The xcos() launching doesn't work and unfortunately doesn't provide any information, sorry. Except this message : * -->xcos() !--error 999 xcos: if with_module("xcos") then xcos(); else disp(gettext("Please install xcos !--error 999 xcos: while executing a callback * Is there anything I should check ? in the Java installation for example as I have see similar error on this site related to Java. Thank you for your support. -- View this message in context: http://mailinglists.scilab.org/xcos-launch-error-tp4024414.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.baudin at contrib.scilab.org Fri Jun 22 10:05:00 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Fri, 22 Jun 2012 10:05:00 +0200 Subject: [scilab-Users] Usage of OPTIM function with external fortran Message-ID: <2e9f3ee3fb771099e72bd63d01beed79@contrib.scilab.org> Hi, In addition to the advices from Serge, you can find examples at : http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/modules/optimization/tests/unit_tests/optim_sourcec.tst;h=1ae43f6b105ae87b06eacf752a94c5d0a62c31fa;hb=HEAD http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/modules/optimization/tests/unit_tests/optim_sourcefortran1.tst;h=b653bcfd9174779da3a3ea72a7f99ca2ddfc4e68;hb=HEAD http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/modules/optimization/tests/unit_tests/optim_sourcefortran2.tst;h=f4cb00621db62af1cb719a8283bf0f44e3973568;hb=HEAD But there is no way to pass a text: can't you convert the text into doubles or integers ? For example, the text may contain an option "yes" or "no" which is actually a boolean, that you can represent by an integer 0 or 1. Could this be possible ? Best regards, Micha?l Le 19/06/2012 20:12, Eduardo Torrecillas a ?crit : Hi all, I am currently working on a huge optimization (impossible to have it done on pure scilab), so my cost function is an external fortran function. I've tried a few small examples and everything is working fine (links, results, etc). The external subroutine should be on the form: subroutine costf(ind,n,x,f,g,ti,tr,td) Then, I can call it via scilab, passing integer, real, or double arguments (ti, tr, td, respectively). Unfortunately, I couldn't find a way to pass text strings (if needed) and also matrices. I have a cost function which should count on a huge matrix (for example, dimension 10.000,3). Is there a way to pass it via optim? Best regards, -- Eduardo Torrecillas From communication at scilab.org Fri Jun 22 17:21:51 2012 From: communication at scilab.org (Scilab Communication) Date: Fri, 22 Jun 2012 17:21:51 +0200 Subject: Release of Scilab 5.4.0 beta 1 Message-ID: <4FE48D8F.1000604@scilab.org> Dear Scilab Users, The R&D team is glad to announce the release of Scilab 5.4.0 beta 1 which includes Scilab Desktop, XML file reading and writing functionalities, major improvements of Scilab graphics, Scilab preferences, and new Scilab file format. Scilab 5.4.0 beta 1 is a test version provided to the community and available for download on our website at: http://www.scilab.org/products/scilab/download/5.4.0-beta-1 If you find a bug, please report it to Scilab bug tracking system (http://bugzilla.scilab.org/). Best Regards ----------------------------------------------- The Scilab Consortium R&D Team ----------------------------------------------- Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France From michael.baudin at contrib.scilab.org Fri Jun 22 23:49:43 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Fri, 22 Jun 2012 23:49:43 +0200 Subject: MKL and FFTW for Scilab behind a proxy Message-ID: <8cd78fe67daa3b874778ea3de3924215@contrib.scilab.org> Hi, I am sometimes behind a proxy but I want to be able to use Scilab on Windows. In this case, the installation completes, but I have a problem with Scilab tries to get the Intel MKL and the FFTW: the download fails. This topic is mentioned here : http://wiki.scilab.org/howto/install/windows/5.4?highlight=%28proxy%29 The solution which is advocated is to download manually the MKL from the File Exchange : http://fileexchange.scilab.org/toolboxes/MKL But there are two issues : * The MKL is not provided for Scilab 5.3.3, the last stable release of Scilab. Of course, we can use Scilab-5.4.0 Beta 1 (congratulations for this, by the way !), for which the MKL is available on the File Exchange, but this is not completely satisfactory. * The FFTW is not available, for no version of Scilab. Is there a link that I missed where I can find these two binaries ? Best regards, Micha?l PS For users interested in installing ATOMS packages behind a proxy, the following page gives some advices : http://wiki.scilab.org/ATOMS#Configure_the_network_proxy From awd-s at cloistral.net Mon Jun 25 04:54:49 2012 From: awd-s at cloistral.net (Andrew Donovan-Shead) Date: Sun, 24 Jun 2012 21:54:49 -0500 Subject: SciLab 5.3.3. Demo-Graphics-Animation-Shell Window Closes at Completion of Rendering Message-ID: <4FE7D2F9.1060804@cloistral.net> Greetings, I am running SciLab 5.3.3 on Ubuntu 10.04 with Linux Kernel 2.6.32-41-generic and Gnome 2.30.2. When I execute Demo-Graphics-Animation-Shell, the shell is displayed and the window closes as soon as the rendering is complete. With SciLab 5.2.2., the shell is rendered and the window remains open to allow rotation of the display. Does anyone know how to stop the SciLab 5.3.3. display window from closing at soon as rendering is complete? Thanks, Andrew. From grant.ellis at gmail.com Mon Jun 25 02:38:58 2012 From: grant.ellis at gmail.com (Grant Ellis) Date: Mon, 25 Jun 2012 08:38:58 +0800 Subject: Scilab use with multiple core processors Message-ID: Hello, Does Scilab allow use of multiple cores for parallel processing applications? If not, is this planned for a future release? Grant -------------- next part -------------- An HTML attachment was scrubbed... URL: From meni.tima at hotmail.com Mon Jun 25 10:52:21 2012 From: meni.tima at hotmail.com (Tima) Date: Mon, 25 Jun 2012 01:52:21 -0700 (PDT) Subject: x-axis and y-axis Message-ID: <1340614341391-4024431.post@n3.nabble.com> Hi, How can I rename my axis. For example for the title, I make xtitle('Name')? there's commands to do that? Thanks, Tima -- View this message in context: http://mailinglists.scilab.org/x-axis-and-y-axis-tp4024431.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From paul.carrico at free.fr Mon Jun 25 11:58:26 2012 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Mon, 25 Jun 2012 11:58:26 +0200 (CEST) Subject: [scilab-Users] x-axis and y-axis In-Reply-To: <1340614341391-4024431.post@n3.nabble.com> Message-ID: <589266680.124198791.1340618306026.JavaMail.root@zimbra5-e1.priv.proxad.net> Hi Here is an example of a curve plotting ... the data come from a text file (i.e. psd persently) You can find good tutorials on the net Paul #################################################################### noms_fichiers = ["3 sigma" "1 sigma"]; POSITION_LEGENDE = 2 ; scf(1); drawlater(); xgrid(3); f = gcf(); f.figure_size = [1000, 1000]; f.background = color(245,245,245); a = gca(); a.font_size = 2; a.x_label.text = "Frequency [Hz]" ; a.x_label.font_size = 4; a.y_label.text = "PSD [g?/Hz]"; a.Y_label.font_size = 4; a.title.font_size = 5; a.line_style = 1; a.tight_limits = "on"; a.data_bounds=[20,0.1;20000,1000]; a.log_flags = 'll'; // BE CAREFUL : log-log plotting // curves plot(psd(:,1),psd(:,2)) e1 = gce() p1 = e1.children p1.thickness = 2 p1.line_style = 0 p1.foreground = 2 plot(psd(:,1),psd(:,3)) e2 = gce() p2 = e2.children p2.thickness = 2 p2.line_style = 0 p2.foreground = 5 // legend legend(noms_fichiers,pos=POSITION_LEGENDE) drawnow(); xs2gif(1,PATH_FILE + '/spectrum.gif'); ----- Mail original ----- De: "Tima" ?: users at lists.scilab.org Envoy?: Lundi 25 Juin 2012 10:52:21 Objet: [scilab-Users] x-axis and y-axis Hi, How can I rename my axis. For example for the title, I make xtitle('Name')? there's commands to do that? Thanks, Tima -- View this message in context: http://mailinglists.scilab.org/x-axis-and-y-axis-tp4024431.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ From sgougeon at free.fr Mon Jun 25 12:53:09 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 25 Jun 2012 12:53:09 +0200 (CEST) Subject: [scilab-Users] x-axis and y-axis In-Reply-To: <1340614341391-4024431.post@n3.nabble.com> Message-ID: <1495257432.440482466.1340621589796.JavaMail.root@zimbra75-e12.priv.proxad.net> >How can I rename my axis. >For example for the title, I make xtitle('Name')? >there's commands to do that? Hello, You may have a look at the functions xlabel(), ylabel(), zlabel(), xtitle("overall title","x title","y title") S. Gougeon From sgougeon at free.fr Mon Jun 25 12:55:53 2012 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 25 Jun 2012 12:55:53 +0200 (CEST) Subject: [scilab-Users] Scilab use with multiple core processors In-Reply-To: Message-ID: <1566315153.440492270.1340621753172.JavaMail.root@zimbra75-e12.priv.proxad.net> >Does Scilab allow use of multiple cores for parallel processing applications? If not, is this planned for a future release? You may have a look at: help.scilab.org/docs/current/en_US/parallel_run.html and at http://atoms.scilab.org/toolboxes/PVM S. Gougeon From meni.tima at hotmail.com Mon Jun 25 13:41:12 2012 From: meni.tima at hotmail.com (Tima) Date: Mon, 25 Jun 2012 04:41:12 -0700 (PDT) Subject: x-axis and y-axis In-Reply-To: <1495257432.440482466.1340621589796.JavaMail.root@zimbra75-e12.priv.proxad.net> References: <1340614341391-4024431.post@n3.nabble.com> <1495257432.440482466.1340621589796.JavaMail.root@zimbra75-e12.priv.proxad.net> Message-ID: <1340624472897-4024435.post@n3.nabble.com> Thnakx alot that's what I'm looking -- View this message in context: http://mailinglists.scilab.org/x-axis-and-y-axis-tp4024431p4024435.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From Karthick.NG at ge.com Tue Jun 26 09:08:06 2012 From: Karthick.NG at ge.com (N. G, Karthick (GE Healthcare)) Date: Tue, 26 Jun 2012 12:38:06 +0530 Subject: LTI filter H(z) from response to arbitrary input Message-ID: <652DCABE1C04BF43A32419140080FCFB11E90D35@BANMLVEM07.e2k.ad.ge.com> Hi, I am a new Scilab user, and want to find the filter transfer function H(z) from an input/output pair for a linear time-invariant system. For e.g., suppose my input is as below: x(n) = unit step input 0 ,n<0 1 ,n>=0 & output is: y(n) = 0 ,n<0 1 ,n=0 -1 ,n>0 Does Scilab have any function to accomplish this? Thanks, dww -------------- next part -------------- An HTML attachment was scrubbed... URL: From Serge.Steer at scilab.org Tue Jun 26 10:33:22 2012 From: Serge.Steer at scilab.org (Serge Steer) Date: Tue, 26 Jun 2012 10:33:22 +0200 Subject: [scilab-Users] LTI filter H(z) from response to arbitrary input In-Reply-To: <652DCABE1C04BF43A32419140080FCFB11E90D35@BANMLVEM07.e2k.ad.ge.com> References: <652DCABE1C04BF43A32419140080FCFB11E90D35@BANMLVEM07.e2k.ad.ge.com> Message-ID: <4FE973D2.2030601@scilab.org> May be the imrep2ss function responds to your wish. Serge Steer INRIA Le 26/06/2012 09:08, N. G, Karthick (GE Healthcare) a ?crit : > > Hi, > > I am a new Scilab user, and want to find the filter transfer function > H(z) from an input/output pair for a linear time-invariant system. > > For e.g., suppose my input is as below: > > x(n) = unit step input > > 0 ,n<0 > > 1 ,n>=0 > > & output is: > > y(n) = > > 0 ,n<0 > > 1 ,n=0 > > -1 ,n>0 > > Does Scilab have any function to accomplish this? > > Thanks, > > dww > -------------- next part -------------- An HTML attachment was scrubbed... URL: From meni.tima at hotmail.com Tue Jun 26 12:41:25 2012 From: meni.tima at hotmail.com (Tima) Date: Tue, 26 Jun 2012 03:41:25 -0700 (PDT) Subject: Reading the llast line from a file Message-ID: <1340707285013-4024440.post@n3.nabble.com> Hi, Does anybody know how to read and save the last line from a file. For example, I have this /file.txt/ 1.0 2.0 3.0 4.0 5.0 6.0 -- View this message in context: http://mailinglists.scilab.org/Reading-the-llast-line-from-a-file-tp4024440.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.baudin at contrib.scilab.org Tue Jun 26 13:33:24 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Tue, 26 Jun 2012 13:33:24 +0200 Subject: [scilab-Users] Scilab use with multiple core processors In-Reply-To: References: Message-ID: Hi, Yes and no : it depends on what you exactly mean by parallel computing. Yes, Scilab can use multicores. By default, Scilab v5 can use all your processors on Windows, for some operations. We can do the same on Linux, with a little more work (see the document below for details). For dense linear algebra, the library which makes this possible is the Intel MKL on Windows and the ATLAS on Linux. For Fourier Transform, this is done by FFTW. You can find more details in "Programming in Scilab", section 5 "Performance" : http://forge.scilab.org/index.php/p/docprogscilab/downloads/ The core of the section is vectorization. Actually, there is more than multicore : even on a single core, the Intel MKL or ATLAS libraries make a very efficient use of the processor. You can also do GPGPU computing with the module by Delamarre : http://atoms.scilab.org/toolboxes/sciGPGPU provided that your video card support Cuda and doubles. This is very different from distributed computing. This can be done with the MPI branch of Scilab : http://gitweb.scilab.org/?p=scilab.git;a=shortlog;h=refs/heads/MPI As far as I know, the MPI project for Scilab is still in experimental stage, but you may ask Ledru for details. Best regards, Micha?l On Mon, 25 Jun 2012 08:38:58 +0800, Grant Ellis wrote: > Hello, > ? > Does Scilab allow use of multiple cores for parallel processing > applications?? If not, is this planned for a future release? > ? > Grant From Mike at Page-One.Waitrose.com Tue Jun 26 15:33:30 2012 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Tue, 26 Jun 2012 14:33:30 +0100 Subject: [scilab-Users] Reading the llast line from a file In-Reply-To: <1340707285013-4024440.post@n3.nabble.com> Message-ID: Hi, You can try using mseek. This works best for binary files, but you can use it like this. For example with the file you specify saved as c:\temp\tst.txt, I do fid=mopen("c:\temp\tst.txt","r") mseek(-5,fid,'end') mgetl(fid) ans = 6.0 The actual offset from the end depends on the exact structure of the file. The 5 bytes here are for the 3 bytes of the last line and the blank line at the end. HTH, Mike. -----Original Message----- From: Tima [mailto:meni.tima at hotmail.com] Sent: 26 June 2012 11:41 To: users at lists.scilab.org Subject: [scilab-Users] Reading the llast line from a file Hi, Does anybody know how to read and save the last line from a file. For example, I have this /file.txt/ 1.0 2.0 3.0 4.0 5.0 6.0 -- View this message in context: http://mailinglists.scilab.org/Reading-the-llast-line-from-a-file-tp4024440. html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. -- To unsubscribe from this mailing-list, please send an empty mail to users-unsubscribe at lists.scilab.org To check the archives of this mailing list, see http://mailinglists.scilab.org/ ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2012.0.2180 / Virus Database: 2437/5093 - Release Date: 06/25/12 From vogt at centre-cired.fr Tue Jun 26 16:26:19 2012 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Tue, 26 Jun 2012 16:26:19 +0200 Subject: [scilab-Users] Reading the llast line from a file In-Reply-To: <1340707285013-4024440.post@n3.nabble.com> References: <1340707285013-4024440.post@n3.nabble.com> Message-ID: <4FE9C68B.4020905@centre-cired.fr> On 26/06/2012 12:41, Tima wrote: > Hi, > > Does anybody know how to read and save the last line from a file. > For example, I have this /file.txt/ > 1.0 > 2.0 > 3.0 > 4.0 > 5.0 > 6.0 > > > -- > View this message in context: http://mailinglists.scilab.org/Reading-the-llast-line-from-a-file-tp4024440.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ you can always do a foo = read_csv("file.txt") foo($) -------------- next part -------------- An HTML attachment was scrubbed... URL: From meni.tima at hotmail.com Tue Jun 26 17:41:40 2012 From: meni.tima at hotmail.com (Tima) Date: Tue, 26 Jun 2012 08:41:40 -0700 (PDT) Subject: Reading the llast line from a file In-Reply-To: <4FE9C68B.4020905@centre-cired.fr> References: <1340707285013-4024440.post@n3.nabble.com> <4FE9C68B.4020905@centre-cired.fr> Message-ID: <1340725300107-4024448.post@n3.nabble.com> Thanks a lot both of you :-) -- View this message in context: http://mailinglists.scilab.org/Reading-the-last-line-from-a-file-tp4024440p4024448.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From webadmin at scilab.org Tue Jun 26 18:28:48 2012 From: webadmin at scilab.org (Web Admin) Date: Tue, 26 Jun 2012 18:28:48 +0200 Subject: Scilab's websites are going offline Message-ID: <4FE9E340.1030602@scilab.org> Hello, For maintenance reasons, we are going to shutdown Scilab's websites. They should be back within a few hours. Please accept our apologizes for the inconvenience caused. Best regards, The Scilab Team From jmtruppia at gmail.com Wed Jun 27 01:10:40 2012 From: jmtruppia at gmail.com (Juan Manuel Truppia) Date: Tue, 26 Jun 2012 20:10:40 -0300 Subject: qpsolve doesn't honor upper bounds Message-ID: The translation from qpsolve to qp_solve is not being done correctly In line 13 of qpsolve function, the eye has to be -eye, because qp_solve uses > constraints and we want < constraints for the upper bounds It should work ok after that change. is there any way to contribute this change? Should I first create a bug, then register in the Forge, and contribute the change there? Cheers Juan -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuel.enibe at unn.edu.ng Wed Jun 27 10:41:18 2012 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Wed, 27 Jun 2012 09:41:18 +0100 Subject: How should I restore the display of graphics UBUNTU 11.10 Message-ID: I have been a user of SCILAB, On UBUNTU 11.10. Recently, I updated my system from the Ubuntu website using their synaptic package manager. Some packages in SCILAB were among those added. I have now found that even though SCILAB works, it does not display any any graphic image using the plot, bar and similar commands. What should I do to restore the full operation. -- Samuel Ogbonna Enibe University of Nigeria, Nsukka, Nigeria Tel: +2348063646798 Email: samuel.enibe at unn.edu.ng -------------- next part -------------- An HTML attachment was scrubbed... URL: From rakhiwarriar at gmail.com Wed Jun 27 10:48:16 2012 From: rakhiwarriar at gmail.com (Rakhi Warriar) Date: Wed, 27 Jun 2012 14:18:16 +0530 Subject: [scilab-Users] How should I restore the display of graphics UBUNTU 11.10 In-Reply-To: References: Message-ID: Hi Try installing this graphics library. Type the following command on the terminal. sudo apt-get install libgl1-mesa-swx11 If you cannot install it from the terminal then install it through synaptic. Regards Rakhi On Wed, Jun 27, 2012 at 2:11 PM, Samuel Enibe wrote: > I have been a user of SCILAB, On UBUNTU 11.10. > > Recently, I updated my system from the Ubuntu website using their > synaptic package manager. Some packages in SCILAB were among those added. > > I have now found that even though SCILAB works, it does not display any > any graphic image using the plot, bar and similar commands. > > What should I do to restore the full operation. > > -- > Samuel Ogbonna Enibe > University of Nigeria, Nsukka, Nigeria > Tel: +2348063646798 > Email: samuel.enibe at unn.edu.ng > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Wed Jun 27 10:54:54 2012 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Wed, 27 Jun 2012 10:54:54 +0200 Subject: [scilab-Users] qpsolve doesn't honor upper bounds In-Reply-To: References: Message-ID: <4FEACA5E.6010800@scilab-enterprises.com> On 27/06/2012 01:10, Juan Manuel Truppia wrote: > The translation from qpsolve to qp_solve is not being done correctly > In line 13 of qpsolve function, the eye has to be -eye, because qp_solve > uses > constraints and we want < constraints for the upper bounds > It should work ok after that change. > > is there any way to contribute this change? Of course > Should I first create a bug, then register in the Forge, and contribute > the change there? No need to use the forge. You can do the following workflow: 1) report a bug on bugzilla http://bugzilla.scilab.org/ Don't forget to provide the test case which shows the issue. 2) provide a patch which show the change (if you don't know how to do it, just send the .sci or the source file). I will write the non reg test for you. For your information and if you want to go further, the complete workflow is the following: http://wiki.scilab.org/How%20to%20close%20a%20bug%20in%20Scilab And you will find some information on how generate a patch from git here: http://wiki.scilab.org/How%20to%20contribute%20to%20Scilab Thanks for your interest in contributing to Scilab, Sylvestre -- ----------------------------- Sylvestre Ledru Operations manager Community manager ----------------------------- Scilab Enterprises http://www.scilab-enterprises.com/ http://www.scilab.org/ ----------------------------- From meni.tima at hotmail.com Wed Jun 27 12:05:28 2012 From: meni.tima at hotmail.com (Tima) Date: Wed, 27 Jun 2012 03:05:28 -0700 (PDT) Subject: Convert value of 'Y=ode(x0,t0,t,f)' to Java Message-ID: <1340791528294-4024458.post@n3.nabble.com> Hi, To resolve a differential equation, we used the /*ode*/ function so we did like this: /Y=ode(x0,t0,t,f)/ In my case, I call scilab in my program Java and I resolve a differential equation thanks to Scilab. So I want to convert Y as an array in my program Java. How can I do it? Thanks, -- View this message in context: http://mailinglists.scilab.org/Convert-value-of-Y-ode-x0-t0-t-f-to-Java-tp4024458.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From samuel.enibe at unn.edu.ng Thu Jun 28 01:01:58 2012 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Thu, 28 Jun 2012 00:01:58 +0100 Subject: [scilab-Users] How should I restore the display of graphics UBUNTU 11.10 In-Reply-To: References: Message-ID: Dear Ralchi, Thank you so much for the response. I tried the sudo option from terminal, and it worked very well. The graphic displays are now working very well. Thanks and God bless you. Samuel Enibe On Wed, Jun 27, 2012 at 9:48 AM, Rakhi Warriar wrote: > Hi > > Try installing this graphics library. Type the following command on the > terminal. > > sudo apt-get install libgl1-mesa-swx11 > > If you cannot install it from the terminal then install it through > synaptic. > > Regards > Rakhi > > On Wed, Jun 27, 2012 at 2:11 PM, Samuel Enibe wrote: > >> I have been a user of SCILAB, On UBUNTU 11.10. >> >> Recently, I updated my system from the Ubuntu website using their >> synaptic package manager. Some packages in SCILAB were among those added. >> >> I have now found that even though SCILAB works, it does not display any >> any graphic image using the plot, bar and similar commands. >> >> What should I do to restore the full operation. >> >> -- >> Samuel Ogbonna Enibe >> University of Nigeria, Nsukka, Nigeria >> Tel: +2348063646798 >> Email: samuel.enibe at unn.edu.ng >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From samuel.enibe at unn.edu.ng Thu Jun 28 01:21:25 2012 From: samuel.enibe at unn.edu.ng (Samuel Enibe) Date: Thu, 28 Jun 2012 00:21:25 +0100 Subject: How to install scilab 5.4.0-beta-1 on Ubuntu 11.10 Message-ID: Sirs, I would like to explore the newly released SCILAB 5.4.0-beta-1 on my UBUNTU 11.10 laptop (32-bit). I have downloaded and untarred the binary version of the release. However, the software does not run, but rather gives this error message *"Could not load JVM dynamic library (libjava). Error: libjvm.so: cannot open shared object file: No such file or directory If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/." * A similar problem prevented me from testing SCILAB 5.4.0-alpha-1. Could you please suggest what I should do to get it working. -- Samuel Ogbonna Enibe University of Nigeria, Nsukka, Nigeria -------------- next part -------------- An HTML attachment was scrubbed... URL: From arvid at softube.com Thu Jun 28 08:51:38 2012 From: arvid at softube.com (=?iso-8859-1?Q?Arvid_Ros=E9n?=) Date: Thu, 28 Jun 2012 08:51:38 +0200 Subject: Scilab 5.4 and parallel_run on Mac OS Message-ID: Hi I just tried the 5.4.0-beta-1 version on Mac OS 10.7 When running the example code on the parallel_run help page I get the following error: A previous error has been detected while loading libsciparallel.dylib: !--error 999 Impossible to load libsciparallel.dylib library: dlopen(/Applications/scilab-5.4.0-beta-1.app/Contents/MacOS/share/scilab/modules/parallel/.libs/libsciparallel.dylib, 10): Symbol not found: _omp_get_num_procs Referenced from: /Applications/scilab-5.4.0-beta-1.app/Contents/MacOS/share/scilab/../../lib/scilab//libsciparallel.dylib Expected in: flat namespace in /Applications/scilab-5.4.0-beta-1.app/Contents/MacOS/share/scilab/../../lib/scilab//libsciparallel.dylib Is this a bug, or do I need to install any extra libraries or something? Best regards, Arvid -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at contrib.scilab.org Thu Jun 28 22:40:38 2012 From: michael.baudin at contrib.scilab.org (michael.baudin at contrib.scilab.org) Date: Thu, 28 Jun 2012 22:40:38 +0200 Subject: [scilab-Users] Scilab use with multiple core processors In-Reply-To: <1566315153.440492270.1340621753172.JavaMail.root@zimbra75-e12.priv.proxad.net> References: <1566315153.440492270.1340621753172.JavaMail.root@zimbra75-e12.priv.proxad.net> Message-ID: <730e1b37d5e08fddb27edcfa7d8ce932@contrib.scilab.org> Hi Samuel, I gathered several informations on the following wiki page : http://wiki.scilab.org/Documentation/ParallelComputingInScilab This page allowed to fix several errors I made in my previous messages and to add other tools in the discussion. By the way, I wonder if the FFTW module of Scilab makes use of the multithreaded feature of the library : http://www.fftw.org/doc/Multi_002dthreaded-FFTW.html Does someone know this ? If yes, could we present a small Scilab snippet to make an example to make the multi-core "dance" ? Best regards, Micha?l On Mon, 25 Jun 2012 12:55:53 +0200 (CEST), sgougeon at free.fr wrote: >>Does Scilab allow use of multiple cores for parallel processing >> applications? If not, is this planned for a future release? > > You may have a look at: > help.scilab.org/docs/current/en_US/parallel_run.html > and at http://atoms.scilab.org/toolboxes/PVM > > S. Gougeon > > -- > To unsubscribe from this mailing-list, please send an empty mail to > users-unsubscribe at lists.scilab.org > To check the archives of this mailing list, see > http://mailinglists.scilab.org/ From samuel.enibe at unn.edu.ng Thu Jun 28 23:25:49 2012 From: samuel.enibe at unn.edu.ng (samuel.enibe at unn.edu.ng) Date: Thu, 28 Jun 2012 21:25:49 +0000 Subject: FW: How to install scilab 5.4.0-beta-1 on Ubuntu 11.10 Message-ID: <4feccbd3.e853b40a.4c55.ffff8d79@mx.google.com> Sent from my Nokia phone -----Original Message----- From: Samuel Enibe Sent: 28/06/2012 12.21.25 am Subject: How to install scilab 5.4.0-beta-1 on Ubuntu 11.10 Sirs, I would like to explore the newly released SCILAB 5.4.0-beta-1 on my UBUNTU 11.10 laptop (32-bit). I have downloaded and untarred the binary version of the release. However, the software does not run, but rather gives this error message *"Could not load JVM dynamic library (libjava). Error: libjvm.so: cannot open shared object file: No such file or directory If you are using a binary version of Scilab, please report a bug http://bugzilla.scilab.org/." * A similar problem prevented me from testing SCILAB 5.4.0-alpha-1. Could you please suggest what I should do to get it working. -- Samuel Ogbonna Enibe University of Nigeria, Nsukka, Nigeria