From Mike at Page-One.Waitrose.com Thu Jul 1 14:54:55 2010 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 1 Jul 2010 13:54:55 +0100 Subject: Storage of Global variables Message-ID: Hi, I have written a DLL in C that I am calling from Scilab. Everything works fine unless I have any Scilab global variables. Then it looks like these variables get corrupted by my DLL, even though I do not pass them to the DLL function. I have checked by using: whos (); MyDllFunction (); whos (); The first call shows my globals as type *constant. The second shows them all as *deleted. This looks just like I have called clearglobal (), but obviously I haven't done that deliberately! To make it easier to track down the problem in my DLL, can anyone tell me how globals are stored in Scilab, and how this is different from ordinary variables? Is there any way I can find out the memory address of a global in Scilab so I can check for it being overwritten in my DLL? Is there any single thing I might have done that would result in deleting all the globals in one go? Many thanks for anyone who can shed some light on this. Regards, Mike. From Mike at Page-One.Waitrose.com Thu Jul 1 17:23:16 2010 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Thu, 1 Jul 2010 16:23:16 +0100 Subject: Global variables seem to be reported multiple times by whos command Message-ID: Hi, When I use a global in a lower-level function, whos appears to report it twice. I don't know whether or not this is a bug. If someone can advise, I will add it to the Bugzilla if appropriate. Example: function []=test() global a; a = 1; disp (a); innerfunc (); disp (a); endfunction function []=innerfunc() whos -type *constant; global a; a = 2; whos -type *constant; endfunction -->test() 1. Name Type Size Bytes a *constant 1 by 1 16 Name Type Size Bytes a *constant 1 by 1 16 a *constant 1 by 1 16 2. The global works correctly, since the value at the outer level is changed, but inside the inner function, whos reports it twice. This number of duplicates increments for every level of nesting. Regards, Mike. From matt at westpak.com Thu Jul 1 23:09:01 2010 From: matt at westpak.com (Matt Bigarani) Date: Thu, 1 Jul 2010 14:09:01 -0700 Subject: C API Hangs Message-ID: Hi All, I'm attempting to get some I/O going between an application I'm developing and Scilab. (This is on Windows XP using mingw/gcc). I believe I have all the Scilab headers included properly and my code compiles, but calling StartScilab(NULL,NULL,NULL); results in the application hanging indefinitely because StartScilab() never returns... Does anyone have any experience with this? Thanks, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at westpak.com Fri Jul 2 00:22:04 2010 From: matt at westpak.com (Matt Bigarani) Date: Thu, 1 Jul 2010 15:22:04 -0700 Subject: [scilab-Users] C API Hangs In-Reply-To: References: Message-ID: Something to add: If I change the first param to something other than a directory if ( StartScilab("/Program Files/scilab-5.2.1/bin/foobar","/Program Files/scilab-5.2.1/etc/scilab.start",NULL) == FALSE ) { cout << "Error while calling StartScilab" << endl; return; } I get the error: Error while calling StartScilab StartScilab: Could not find the directory /Program Files/scilab-5.2.1/bin/foobar But I'm still not sure what's causing StartScilab to hang... Thanks, Matt From: Matt Bigarani [mailto:matt at westpak.com] Sent: Thursday, July 01, 2010 2:09 PM To: users at lists.scilab.org Subject: [scilab-Users] C API Hangs Hi All, I'm attempting to get some I/O going between an application I'm developing and Scilab. (This is on Windows XP using mingw/gcc). I believe I have all the Scilab headers included properly and my code compiles, but calling StartScilab(NULL,NULL,NULL); results in the application hanging indefinitely because StartScilab() never returns... Does anyone have any experience with this? Thanks, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at westpak.com Fri Jul 2 01:19:51 2010 From: matt at westpak.com (Matt Bigarani) Date: Thu, 1 Jul 2010 16:19:51 -0700 Subject: [scilab-Users] C API Hangs In-Reply-To: References: Message-ID: The problem ended up being caused by a toolbox that was unable to load. After removing the toolbox from Scilab my code runs normally and I can make API calls. Unfortunately cout stops working once I call StartScilab... -Matt From: Matt Bigarani [mailto:matt at westpak.com] Sent: Thursday, July 01, 2010 3:22 PM To: users at lists.scilab.org Subject: RE: [scilab-Users] C API Hangs Something to add: If I change the first param to something other than a directory if ( StartScilab("/Program Files/scilab-5.2.1/bin/foobar","/Program Files/scilab-5.2.1/etc/scilab.start",NULL) == FALSE ) { cout << "Error while calling StartScilab" << endl; return; } I get the error: Error while calling StartScilab StartScilab: Could not find the directory /Program Files/scilab-5.2.1/bin/foobar But I'm still not sure what's causing StartScilab to hang... Thanks, Matt From: Matt Bigarani [mailto:matt at westpak.com] Sent: Thursday, July 01, 2010 2:09 PM To: users at lists.scilab.org Subject: [scilab-Users] C API Hangs Hi All, I'm attempting to get some I/O going between an application I'm developing and Scilab. (This is on Windows XP using mingw/gcc). I believe I have all the Scilab headers included properly and my code compiles, but calling StartScilab(NULL,NULL,NULL); results in the application hanging indefinitely because StartScilab() never returns... Does anyone have any experience with this? Thanks, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Fri Jul 2 01:27:50 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Fri, 02 Jul 2010 01:27:50 +0200 Subject: [scilab-Users] C API Hangs In-Reply-To: References: Message-ID: <1278026870.5593.1934.camel@zlarin> Le jeudi 01 juillet 2010 ? 15:22 -0700, Matt Bigarani a ?crit : > Something to add: > > > > If I change the first param to something other than a directory > > > > if ( StartScilab("/Program Files/scilab-5.2.1/bin/foobar","/Program > Files/scilab-5.2.1/etc/scilab.start",NULL) == FALSE ) Here, you must set the path to SCI (under Linux, it is usually share/scilab/) and set the second arg to NULL. It should work. It not, try to start with a debugger to see where it is stuck. or you can also try to disable the interactive mode by calling the function DisableInteractiveMode Regards, Sylvestre From allan.cornet at scilab.org Fri Jul 2 08:05:36 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 2 Jul 2010 08:05:36 +0200 Subject: [scilab-Users] C API Hangs In-Reply-To: <1278026870.5593.1934.camel@zlarin> References: <1278026870.5593.1934.camel@zlarin> Message-ID: <003601cb19ac$96f55180$c4dff480$@cornet@scilab.org> Hi, On Windows, Your path is invalid "/Program Files/scilab-5.2.1/bin/foobar" With a drive letter, it will be better ;) Default initialization on Windows is (must be): StartScilab(NULL,NULL,NULL) Best regards Allan CORNET -----Message d'origine----- De : Sylvestre Ledru [mailto:sylvestre.ledru at scilab.org] Envoy? : vendredi 2 juillet 2010 01:28 ? : users at lists.scilab.org Objet : RE: [scilab-Users] C API Hangs Le jeudi 01 juillet 2010 ? 15:22 -0700, Matt Bigarani a ?crit : > Something to add: > > > > If I change the first param to something other than a directory > > > > if ( StartScilab("/Program Files/scilab-5.2.1/bin/foobar","/Program > Files/scilab-5.2.1/etc/scilab.start",NULL) == FALSE ) Here, you must set the path to SCI (under Linux, it is usually share/scilab/) and set the second arg to NULL. It should work. It not, try to start with a debugger to see where it is stuck. or you can also try to disable the interactive mode by calling the function DisableInteractiveMode Regards, Sylvestre From communication at scilab.org Fri Jul 2 14:07:36 2010 From: communication at scilab.org (Scilab Communication) Date: Fri, 02 Jul 2010 14:07:36 +0200 Subject: Release of Scilab 5.3.0 beta 1 Message-ID: <4C2DD688.90201@scilab.org> Dear all, The Scilab R&D Team is pleased to announce the release of Scilab 5.3.0 beta 1. Download and information can be found at: http://www.scilab.org/en/products/scilab/download/5.3.0-beta-1 We invite you to test this beta version and to report possible bugs on Scilab bug tracker at: 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 paul.carrico at free.fr Fri Jul 2 16:07:11 2010 From: paul.carrico at free.fr (Paul CARRICO) Date: Fri, 2 Jul 2010 16:07:11 +0200 Subject: [scilab-Users] Release of Scilab 5.3.0 beta 1 In-Reply-To: <4C2DD688.90201@scilab.org> References: <4C2DD688.90201@scilab.org> Message-ID: <000701cb19ef$de7419e0$9b5c4da0$@carrico@free.fr> Dear All, Does the greatfull (and powerfull) text editor exist in the new release (in term of colored keywords / comments / parenthesis controls and so on such as in the 5.1.1 one) ? Regards Paul -----Message d'origine----- De?: Scilab Communication [mailto:communication at scilab.org] Envoy??: vendredi 2 juillet 2010 14:08 ??: dev at lists.scilab.org; users at lists.scilab.org Objet?: [scilab-Users] Release of Scilab 5.3.0 beta 1 Dear all, The Scilab R&D Team is pleased to announce the release of Scilab 5.3.0 beta 1. Download and information can be found at: http://www.scilab.org/en/products/scilab/download/5.3.0-beta-1 We invite you to test this beta version and to report possible bugs on Scilab bug tracker at: 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 yann.collette at scilab.org Fri Jul 2 16:21:37 2010 From: yann.collette at scilab.org (Collette yann) Date: Fri, 02 Jul 2010 16:21:37 +0200 Subject: [scilab-Users] Release of Scilab 5.3.0 beta 1 In-Reply-To: <000701cb19ef$de7419e0$9b5c4da0$@carrico@free.fr> References: <4C2DD688.90201@scilab.org> <000701cb19ef$de7419e0$9b5c4da0$@carrico@free.fr> Message-ID: <4C2DF5F1.9070809@scilab.org> Hello, Try 'scinotes' or 'editor' in the scilab console. Yc Le 02/07/2010 16:07, Paul CARRICO a ?crit : > Dear All, > > Does the greatfull (and powerfull) text editor exist in the new release (in > term of colored keywords / comments / parenthesis controls and so on such as > in the 5.1.1 one) ? > > Regards > > Paul > > > > -----Message d'origine----- > De : Scilab Communication [mailto:communication at scilab.org] > Envoy? : vendredi 2 juillet 2010 14:08 > ? : dev at lists.scilab.org; users at lists.scilab.org > Objet : [scilab-Users] Release of Scilab 5.3.0 beta 1 > > Dear all, > > The Scilab R&D Team is pleased to announce the release of Scilab 5.3.0 > beta 1. > Download and information can be found at: > http://www.scilab.org/en/products/scilab/download/5.3.0-beta-1 > > We invite you to test this beta version and to report possible bugs on > Scilab bug tracker at: 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 paul.carrico at free.fr Fri Jul 2 17:16:31 2010 From: paul.carrico at free.fr (Paul CARRICO) Date: Fri, 2 Jul 2010 17:16:31 +0200 Subject: [scilab-Users] Release of Scilab 5.3.0 beta 1 In-Reply-To: <4C2DF5F1.9070809@scilab.org> References: <4C2DD688.90201@scilab.org> <000701cb19ef$de7419e0$9b5c4da0$@carrico@free.fr> <4C2DF5F1.9070809@scilab.org> Message-ID: <000301cb19f9$8db28870$a9179950$@carrico@free.fr> HI, It was not the purpose of my email .... ... I wanted to say that releases after 5.1.1 one integrates a text editor different ... which is in my opinion less helpful than the 5.1.1 one ! Consequently I wanted to know if the new text editor integrates functions such as colored text word, parenthesis control and so on. Paul -----Message d'origine----- De?: Collette yann [mailto:yann.collette at scilab.org] Envoy??: vendredi 2 juillet 2010 16:22 ??: users at lists.scilab.org Objet?: Re: [scilab-Users] Release of Scilab 5.3.0 beta 1 Hello, Try 'scinotes' or 'editor' in the scilab console. Yc Le 02/07/2010 16:07, Paul CARRICO a ?crit : > Dear All, > > Does the greatfull (and powerfull) text editor exist in the new release (in > term of colored keywords / comments / parenthesis controls and so on such as > in the 5.1.1 one) ? > > Regards > > Paul > > > > -----Message d'origine----- > De : Scilab Communication [mailto:communication at scilab.org] > Envoy? : vendredi 2 juillet 2010 14:08 > ? : dev at lists.scilab.org; users at lists.scilab.org > Objet : [scilab-Users] Release of Scilab 5.3.0 beta 1 > > Dear all, > > The Scilab R&D Team is pleased to announce the release of Scilab 5.3.0 > beta 1. > Download and information can be found at: > http://www.scilab.org/en/products/scilab/download/5.3.0-beta-1 > > We invite you to test this beta version and to report possible bugs on > Scilab bug tracker at: 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 Samuel.Gougeon at univ-lemans.fr Fri Jul 2 17:46:21 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Fri, 02 Jul 2010 17:46:21 +0200 Subject: [scilab-Users] Release of Scilab 5.3.0 beta 1 In-Reply-To: <000301cb19f9$8db28870$a9179950$@carrico@free.fr> References: <4C2DD688.90201@scilab.org> <000701cb19ef$de7419e0$9b5c4da0$@carrico@free.fr> <4C2DF5F1.9070809@scilab.org> <000301cb19f9$8db28870$a9179950$@carrico@free.fr> Message-ID: <20100702174621.32933kq3yfsc8la8@webmail2.univ-lemans.fr> Paul CARRICO a ?crit?: > ... I wanted to say that releases after 5.1.1 one integrates a text editor > different ... which is in my opinion less helpful than the 5.1.1 one ! > > Consequently I wanted to know if the new text editor integrates functions > such as colored text word, parenthesis control and so on. Paul, You should urgently upgrade to Scilab 5.3. There are 1000 reasons to do so. If you are not satisfied with the embeded editor SciNotes, you will be able to download Scipad (5.1.1 editor) that is available as a separate module on the ATOMS manager. Installation will be straightforward (press the button and wait). Syntax colorization, command completion, special line numbering compatible with line numbers given in error messages, and other useful features are already available in SciNotes, thanks to Calixte Denizet. Regards Samuel > > Paul > > -----Message d'origine----- > De?: Collette yann [mailto:yann.collette at scilab.org] > Envoy??: vendredi 2 juillet 2010 16:22 > ??: users at lists.scilab.org > Objet?: Re: [scilab-Users] Release of Scilab 5.3.0 beta 1 > > Hello, > > Try 'scinotes' or 'editor' in the scilab console. > > Yc > > Le 02/07/2010 16:07, Paul CARRICO a ?crit : >> Dear All, >> >> Does the greatfull (and powerfull) text editor exist in the new release > (in >> term of colored keywords / comments / parenthesis controls and so on such > as >> in the 5.1.1 one) ? >> >> Regards >> >> Paul From calixte.denizet at ac-rennes.fr Fri Jul 2 18:07:48 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Fri, 02 Jul 2010 18:07:48 +0200 Subject: [scilab-Users] Release of Scilab 5.3.0 beta 1 In-Reply-To: <000301cb19f9$8db28870$a9179950$%carrico@free.fr> References: <4C2DD688.90201@scilab.org> <000701cb19ef$de7419e0$9b5c4da0$%carrico@free.fr> <4C2DF5F1.9070809@scilab.org> <000301cb19f9$8db28870$a9179950$%carrico@free.fr> Message-ID: <1278086868.2324.141.camel@calixte-laptop> Hello Paul, Just try the new editor SciNotes (there is a lot of features) and if you think that something is missing, put a wish or a bug at bugzilla.scilab.org Calixte PS: just try in scilab's console --> edit test_run Le vendredi 02 juillet 2010 ? 17:16 +0200, Paul CARRICO a ?crit : > HI, > > It was not the purpose of my email .... > > ... I wanted to say that releases after 5.1.1 one integrates a text editor > different ... which is in my opinion less helpful than the 5.1.1 one ! > > Consequently I wanted to know if the new text editor integrates functions > such as colored text word, parenthesis control and so on. > > Paul > > -----Message d'origine----- > De : Collette yann [mailto:yann.collette at scilab.org] > Envoy? : vendredi 2 juillet 2010 16:22 > ? : users at lists.scilab.org > Objet : Re: [scilab-Users] Release of Scilab 5.3.0 beta 1 > > Hello, > > Try 'scinotes' or 'editor' in the scilab console. > > Yc > > Le 02/07/2010 16:07, Paul CARRICO a ?crit : > > Dear All, > > > > Does the greatfull (and powerfull) text editor exist in the new release > (in > > term of colored keywords / comments / parenthesis controls and so on such > as > > in the 5.1.1 one) ? > > > > Regards > > > > Paul > > > > > > > > -----Message d'origine----- > > De : Scilab Communication [mailto:communication at scilab.org] > > Envoy? : vendredi 2 juillet 2010 14:08 > > ? : dev at lists.scilab.org; users at lists.scilab.org > > Objet : [scilab-Users] Release of Scilab 5.3.0 beta 1 > > > > Dear all, > > > > The Scilab R&D Team is pleased to announce the release of Scilab 5.3.0 > > beta 1. > > Download and information can be found at: > > http://www.scilab.org/en/products/scilab/download/5.3.0-beta-1 > > > > We invite you to test this beta version and to report possible bugs on > > Scilab bug tracker at: 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 paul.carrico at free.fr Fri Jul 2 19:00:49 2010 From: paul.carrico at free.fr (Paul CARRICO) Date: Fri, 2 Jul 2010 19:00:49 +0200 Subject: [scilab-Users] Release of Scilab 5.3.0 beta 1 In-Reply-To: <1278086868.2324.141.camel@calixte-laptop> References: <4C2DD688.90201@scilab.org> <000701cb19ef$de7419e0$9b5c4da0$%carrico@free.fr> <4C2DF5F1.9070809@scilab.org> <000301cb19f9$8db28870$a9179950$%carrico@free.fr> <1278086868.2324.141.camel@calixte-laptop> Message-ID: <000001cb1a08$200eea20$602cbe60$@carrico@free.fr> Everybody, Ok I'll test it and I'll share my feedback Regards Paul -----Message d'origine----- De : calixte [mailto:calixte.denizet at ac-rennes.fr] Envoy? : vendredi 2 juillet 2010 18:08 ? : users at lists.scilab.org Objet : RE: [scilab-Users] Release of Scilab 5.3.0 beta 1 Hello Paul, Just try the new editor SciNotes (there is a lot of features) and if you think that something is missing, put a wish or a bug at bugzilla.scilab.org Calixte PS: just try in scilab's console --> edit test_run Le vendredi 02 juillet 2010 ? 17:16 +0200, Paul CARRICO a ?crit : > HI, > > It was not the purpose of my email .... > > ... I wanted to say that releases after 5.1.1 one integrates a text editor > different ... which is in my opinion less helpful than the 5.1.1 one ! > > Consequently I wanted to know if the new text editor integrates functions > such as colored text word, parenthesis control and so on. > > Paul > > -----Message d'origine----- > De : Collette yann [mailto:yann.collette at scilab.org] > Envoy? : vendredi 2 juillet 2010 16:22 > ? : users at lists.scilab.org > Objet : Re: [scilab-Users] Release of Scilab 5.3.0 beta 1 > > Hello, > > Try 'scinotes' or 'editor' in the scilab console. > > Yc > > Le 02/07/2010 16:07, Paul CARRICO a ?crit : > > Dear All, > > > > Does the greatfull (and powerfull) text editor exist in the new release > (in > > term of colored keywords / comments / parenthesis controls and so on such > as > > in the 5.1.1 one) ? > > > > Regards > > > > Paul > > > > > > > > -----Message d'origine----- > > De : Scilab Communication [mailto:communication at scilab.org] > > Envoy? : vendredi 2 juillet 2010 14:08 > > ? : dev at lists.scilab.org; users at lists.scilab.org > > Objet : [scilab-Users] Release of Scilab 5.3.0 beta 1 > > > > Dear all, > > > > The Scilab R&D Team is pleased to announce the release of Scilab 5.3.0 > > beta 1. > > Download and information can be found at: > > http://www.scilab.org/en/products/scilab/download/5.3.0-beta-1 > > > > We invite you to test this beta version and to report possible bugs on > > Scilab bug tracker at: 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 Thomas.Carr at lifetech.com Sat Jul 3 00:59:24 2010 From: Thomas.Carr at lifetech.com (Carr, Thomas) Date: Fri, 2 Jul 2010 15:59:24 -0700 Subject: XCOS File won't open Message-ID: <5FF95AE3FA95C940BD95E662928A1B03049D42C576@CBD01MAIL01.ads.invitrogen.net> All, I am running 5.3.0 Beta 1 on a Windows 32 bit machine with XP SP3. I have tried several times to creat an XCOS model that incorporates one super block and several other discrete and mathematical blocks. Two times now I have come to a place where XCOS can no longer open the file that the model is saved in. When I look in the folder, the model is there and it is a reasonable size (201KB). When I attempt to open it, a new XCOS window is opened up, but it contains nothing. I am trying 5.3 Beta 1 because XCOS from 5.2.2 was so buggy I couldn't simulate anything meaningful. Is this just a symptom of running on windows? Is LINUX better? Suggestions? Regards, Tom Carr -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent.couvert at scilab.org Sat Jul 3 08:12:24 2010 From: vincent.couvert at scilab.org (Vincent COUVERT) Date: Sat, 03 Jul 2010 08:12:24 +0200 Subject: [scilab-Users] XCOS File won't open In-Reply-To: <5FF95AE3FA95C940BD95E662928A1B03049D42C576@CBD01MAIL01.ads.invitrogen.net> References: <5FF95AE3FA95C940BD95E662928A1B03049D42C576@CBD01MAIL01.ads.invitrogen.net> Message-ID: <4C2ED4C8.7030909@scilab.org> Hi Thomas, Can you open a bug report at bugzilla.scilab.org and attach your model file so that we can reproduce the problem and fix it? Regards, Vincent Le 03/07/10 00:59, Carr, Thomas a ?crit : > > All, > > I am running 5.3.0 Beta 1 on a Windows 32 bit machine with XP SP3. I > have tried several times to creat an XCOS model that incorporates one > super block and several other discrete and mathematical blocks. Two > times now I have come to a place where XCOS can no longer open the > file that the model is saved in. When I look in the folder, the model > is there and it is a reasonable size (201KB). When I attempt to open > it, a new XCOS window is opened up, but it contains nothing. I am > trying 5.3 Beta 1 because XCOS from 5.2.2 was so buggy I couldn't > simulate anything meaningful. Is this just a symptom of running on > windows? Is LINUX better? Suggestions? > > Regards, > > Tom Carr > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petar.knezevich at gmail.com Mon Jul 5 10:34:12 2010 From: petar.knezevich at gmail.com (Petar Knezevich) Date: Mon, 5 Jul 2010 13:34:12 +0500 Subject: Subplot Limitations Message-ID: Hello, I am using subplot to stack multiple time series to allow comparison with the different y-axis scales on the same x-axis, time, scale. I find if I use more than 2 rows, subplot(3,1,x), then the title at the top plot and the xlabel data on the bottom plot is pushed off the screen. I need to enlarge the figure window to be able to read them. I am using scilab 5.2.2 on Windows XP Professional 2002 on Dell Latitude D630. Screen is configured to it's maximum size of 1280 x 800 pixels. When I have an external monitor attached (1280 x 1024) the bottom x-axis label is visible when the graphic window is maximized. Is there an instruction manual or a tutorial for plotting and subplotting that could save me some time figuring out plotting options? I attached the script and data files I am using along with screen captures at various window sizes. Regards, Petar Knezevich -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Simulation Data.zip Type: application/zip Size: 177377 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: plots.zip Type: application/zip Size: 255903 bytes Desc: not available URL: From Odyssey at atlanticbb.net Mon Jul 5 14:31:55 2010 From: Odyssey at atlanticbb.net (Stephen Gallic) Date: Mon, 5 Jul 2010 08:31:55 -0400 Subject: XCOS File won't open Message-ID: I believe I am having a similar problem to Tom's. I have been trying to create a model in Xcos. I only ever get about as far as inserting two superblocks, setting up the ports in each before it seems to have a problem saving. In the lower left of the window, it indicates that it is saving, however that window becomes unresponsive. When I try to open the file later (since I had saved it prior to the problem) it opens and is empty. Stephen -------------- next part -------------- An HTML attachment was scrubbed... URL: From sanjeev211988 at gmail.com Mon Jul 5 15:31:15 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Mon, 5 Jul 2010 16:31:15 +0300 Subject: Updating variable values in Xcos.[Basic question] Message-ID: Hi, I am trying to update the value of a variable defined in the context of Xcos. for eg, if c=10 is defined in the context, at certain stage in the model update this value of 'c' variable to 12. I tried using scifunc block and update the value with 12. Locally the value 12 was used for computations within the scifunc block.... but it does not update the global value of variable c. Is there any way to update the value of the variable 'c' and use the updated value in other scifunc blocks?? Thanks in anticipation, Best Regard -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.baudin at scilab.org Mon Jul 5 16:09:32 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Mon, 05 Jul 2010 16:09:32 +0200 Subject: [scilab-Users] Probability plot In-Reply-To: <558760.76460.qm@web114319.mail.gq1.yahoo.com> References: <558760.76460.qm@web114319.mail.gq1.yahoo.com> Message-ID: <4C31E79C.8080700@scilab.org> Hi, I don't think so. As a matter of fact, there are several related function which are missing, including : boxplot, cdfplot, normplot, qqplot. I guess that there is not much programming for these functions, "just" calling the existing graphics tools should do the trick. A boxplot function had been written some years ago : http://www.scilab.org/contrib/index_contrib.php?page=displayContribution&fileID=1089 A qqplot function is available in the Stixbox : atomsInstall("stixbox") Best regards, Micha?l Baudin Robert Fong a ?crit : > Hi, > > Does Scilab have the functional equivalent of "probplot" in Matlab? > > Robert > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From tiraduvidascefet at yahoo.com Tue Jul 6 03:44:18 2010 From: tiraduvidascefet at yahoo.com (Prof. Dr. Reinaldo Golmia Dante) Date: Mon, 5 Jul 2010 18:44:18 -0700 (PDT) Subject: Tutorial of Optimization toolbox Message-ID: <31243.36991.qm@web45511.mail.sp1.yahoo.com> Hi all, I would like to know how to?use the optimization toolbox of SciLab. This is my first time that I?use Scilab and I would like to program?it for?optimizing application on?Scilab platform. Does Scilab use the owner programming language or accept?C++ or Java programming languages ? How can I find a tutorial of Scilab optimization toolbox ? Thank you in advance. All best, Dr. Reinaldo. ?===================================================== Prof. Dr. Eng. Reinaldo Golmia Dante Federal Institute of Education, Science and Technology of S?o Paulo - IFSP Sert?ozinho Unit Rua: Americo Ambrosio, 269 CEP (Zip Code): 14160-000 Cidade: Sertaozinho - SP BRAZIL Phone: +55-16-3946-1180 Fax: +55-16-3946-1170 e-mail: tiraduvidascefet at yahoo.com Homepage: http://golmia.googlepages.com/ph.d.reinaldogolmiadante ===================================================== From michael.baudin at scilab.org Tue Jul 6 09:13:28 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Tue, 06 Jul 2010 09:13:28 +0200 Subject: [scilab-Users] sci2for - where is it ? In-Reply-To: References: Message-ID: <4C32D798.4090109@scilab.org> Dear Sir, I have never heard of such a tool, but there is another one which might interest you, this is Scilab 2 C : http://atoms.scilab.org/toolboxes/scilab2c/ Best regards, Micha?l Baudin Daniele Tomatis a ?crit : > Dear SciLab community, > I am writing you about converting scilab code 2 fortran. > I read that sci2for isn't supported anymore: > http://bugzilla.scilab.org/show_bug.cgi?id=1631. > Is someone aware of any other project like sci2for, please ? > Thanks in advance, > Daniele > > ------------------------------------------------------------------------ > Importa i tuoi contatti di Facebook. Chiacchiera su Messenger! > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From michael.baudin at scilab.org Tue Jul 6 09:28:06 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Tue, 06 Jul 2010 09:28:06 +0200 Subject: [scilab-Users] Tutorial of Optimization toolbox In-Reply-To: <31243.36991.qm@web45511.mail.sp1.yahoo.com> References: <31243.36991.qm@web45511.mail.sp1.yahoo.com> Message-ID: <4C32DB06.5040104@scilab.org> Dear Dr Reinaldo, An overview of optimization in Scilab is done in : "Optimization with Scilab, present and future", M. Baudin, S. Steer, 2009 IEEE International Workshop on Open-source Software for Scientific Computation (OSSC). which is available at : http://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=Optimization+with+Scilab%2C+present+and+future&x=0&y=0 The following is the abstract of the paper : "We present in this paper an overview of optimization algorithms available in theScilab software. We focus on the user's point of view, that is, we have to minimize or maximize an objective function and must find a solver suitable for the problem. The aim of this paper is to give a simple but accurate view of what problems can be solved by Scilab and what behavior can be expected for those solvers. For each solver, we analyze the type of problems that it can solve as well as its advantages and limitations. In order to compare the respective performances of the algorithms, we use the CUTEr library, which is available in Scilab. Numerical experiments are presented, which indicates that there is no cure-for-all solvers." The flagship of Scilab in terms of general nonlinear optimization is currently the optim function, which allows to perform unconstrained and bound constrained optimization. It is shortly presented at : http://wiki.scilab.org/The_optim_primitive and in the help of Scilab : http://www.scilab.org/product/man/optim.html You may get an overview of optimization features by browing the help of Scilab : http://www.scilab.org/product/man/section_e75956809590b9cc1bb1d9aec86b31b8.html What kind of optimization do you plan to do ? If you are interested in a general overview of Scilab, you may consider the "Introduction to Scilab" : http://www.scilab.org/en/content/download/1104/10840/file/introscilab.pdf Scilab provides its own language, but you can connect it to C, C++ and Java. For example, in order to connect your C or C++ library to Scilab, you can use the Scilab API : http://www.scilab.org/product/man/section_204636e951f595409bc6782bb8e1d2d9.html Many examples are provided in the libraries which are already connected inside Scilab. Best regards, Micha?l Baudin Prof. Dr. Reinaldo Golmia Dante a ?crit : > Hi all, > > I would like to know how to use the optimization toolbox of SciLab. > > This is my first time that I use Scilab and I would like to program it > for optimizing application on Scilab platform. > > Does Scilab use the owner programming language or accept C++ or Java programming > languages ? > > How can I find a tutorial of Scilab optimization toolbox ? > > Thank you in advance. > > All best, > Dr. Reinaldo. > ===================================================== > Prof. Dr. Eng. Reinaldo Golmia Dante > > Federal Institute of Education, Science and Technology of S?o Paulo - IFSP > Sert?ozinho Unit > Rua: Americo Ambrosio, 269 > CEP (Zip Code): 14160-000 > Cidade: Sertaozinho - SP > BRAZIL > Phone: +55-16-3946-1180 > Fax: +55-16-3946-1170 > e-mail: tiraduvidascefet at yahoo.com > Homepage: http://golmia.googlepages.com/ph.d.reinaldogolmiadante > ===================================================== > > > > > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From paul.carrico at free.fr Tue Jul 6 09:34:07 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 6 Jul 2010 09:34:07 +0200 (CEST) Subject: [scilab-Users] Tutorial of Optimization toolbox In-Reply-To: <4C32DB06.5040104@scilab.org> Message-ID: <680183302.1986161278401647064.JavaMail.root@zimbra26-e5.priv.proxad.net> Dear It's a pity since the article is not available to "ordinary people" ... and it seems to be rather interesting. PC ----- Mail Original ----- De: "Micha?l Baudin" ?: users at lists.scilab.org Envoy?: Mardi 6 Juillet 2010 09h28:06 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Tutorial of Optimization toolbox Dear Dr Reinaldo, An overview of optimization in Scilab is done in : "Optimization with Scilab, present and future", M. Baudin, S. Steer, 2009 IEEE International Workshop on Open-source Software for Scientific Computation (OSSC). which is available at : http://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=Optimization+with+Scilab%2C+present+and+future&x=0&y=0 The following is the abstract of the paper : "We present in this paper an overview of optimization algorithms available in theScilab software. We focus on the user's point of view, that is, we have to minimize or maximize an objective function and must find a solver suitable for the problem. The aim of this paper is to give a simple but accurate view of what problems can be solved by Scilab and what behavior can be expected for those solvers. For each solver, we analyze the type of problems that it can solve as well as its advantages and limitations. In order to compare the respective performances of the algorithms, we use the CUTEr library, which is available in Scilab. Numerical experiments are presented, which indicates that there is no cure-for-all solvers." The flagship of Scilab in terms of general nonlinear optimization is currently the optim function, which allows to perform unconstrained and bound constrained optimization. It is shortly presented at : http://wiki.scilab.org/The_optim_primitive and in the help of Scilab : http://www.scilab.org/product/man/optim.html You may get an overview of optimization features by browing the help of Scilab : http://www.scilab.org/product/man/section_e75956809590b9cc1bb1d9aec86b31b8.html What kind of optimization do you plan to do ? If you are interested in a general overview of Scilab, you may consider the "Introduction to Scilab" : http://www.scilab.org/en/content/download/1104/10840/file/introscilab.pdf Scilab provides its own language, but you can connect it to C, C++ and Java. For example, in order to connect your C or C++ library to Scilab, you can use the Scilab API : http://www.scilab.org/product/man/section_204636e951f595409bc6782bb8e1d2d9.html Many examples are provided in the libraries which are already connected inside Scilab. Best regards, Micha?l Baudin Prof. Dr. Reinaldo Golmia Dante a ?crit : > Hi all, > > I would like to know how to use the optimization toolbox of SciLab. > > This is my first time that I use Scilab and I would like to program it > for optimizing application on Scilab platform. > > Does Scilab use the owner programming language or accept C++ or Java programming > languages ? > > How can I find a tutorial of Scilab optimization toolbox ? > > Thank you in advance. > > All best, > Dr. Reinaldo. > ===================================================== > Prof. Dr. Eng. Reinaldo Golmia Dante > > Federal Institute of Education, Science and Technology of S?o Paulo - IFSP > Sert?ozinho Unit > Rua: Americo Ambrosio, 269 > CEP (Zip Code): 14160-000 > Cidade: Sertaozinho - SP > BRAZIL > Phone: +55-16-3946-1180 > Fax: +55-16-3946-1170 > e-mail: tiraduvidascefet at yahoo.com > Homepage: http://golmia.googlepages.com/ph.d.reinaldogolmiadante > ===================================================== > > > > > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From jerome.picard at scilab.org Tue Jul 6 11:02:50 2010 From: jerome.picard at scilab.org (Jerome PICARD) Date: Tue, 06 Jul 2010 11:02:50 +0200 Subject: [scilab-Users] Regarding solvers in scilab In-Reply-To: References: Message-ID: <4C32F13A.9030204@scilab.org> Hello, The solvers in Xcos are the Sundials' solvers. You have the choice between CVODE and IDA. The solver used by default is CVODE which solves ordinary differential equations with initial value : y'(t) = f(y(t),t). IDA is more general. It is able to solve implicit differential equations : f(y'(t),y(t),t) = 0. In most cases, the first algorithm is enough to solve differential equations. In general, problems deals with ordinary differential equations. We do not change the solver with number. You just have to choose in the list CVODE or IDA. Below the choice of the solver, the number corresponds to the maximum number of steps. By default, this number is equal to 0 to indicate that there is not a maximum iteration for the solvers. For the beginning, this number is not to change. We only change this number if the algorithm fails to converge or if the algorithms takes a long time to converge. Sorry, I do not understand what do you mean with AM2. Best regards Le 17/06/2010 17:21, ashwin damle a ?crit : > Hello, > I want to change the solver in scicos. I read the documentation at > sundials' about the solvers CVODE and IDA but I cant figure out about > how to change the solver using number 0,1,etc > > Lets suppose I wasnt to use AM2 what corresponding number or what > should be put in so that > the numerical integration is AM2 > > Thank you. > -- > Ashwin M. Damle > > -- J?r?me Picard Ing?nieur de d?veloppement ------------------------- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex T?l. : 01.39.63.55.91 From jerome.picard at scilab.org Tue Jul 6 11:15:50 2010 From: jerome.picard at scilab.org (Jerome PICARD) Date: Tue, 06 Jul 2010 11:15:50 +0200 Subject: [scilab-Users] Re: XCOS File won't open In-Reply-To: References: Message-ID: <4C32F446.8030102@scilab.org> Hello, Indeed, we had a bug with the super block in Xcos. This problem has been solved. You can download the last version of Scilab 5.3.0 Beta 1 available on our website. Best regards J?r?me Le 05/07/2010 14:31, Stephen Gallic a ?crit : > > I believe I am having a similar problem to Tom's. I have been trying > to create a model in Xcos. I only ever get about as far as inserting > two superblocks, setting up the ports in each before it seems to have > a problem saving. In the lower left of the window, it indicates that > it is saving, however that window becomes unresponsive. When I try to > open the file later (since I had saved it prior to the problem) it > opens and is empty. > > Stephen > -- J?r?me Picard Ing?nieur de d?veloppement ------------------------- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex T?l. : 01.39.63.55.91 -------------- next part -------------- An HTML attachment was scrubbed... URL: From julio.gonzalez at ymail.com Tue Jul 6 11:24:20 2010 From: julio.gonzalez at ymail.com (Julio Gonzalez-Saenz) Date: Tue, 6 Jul 2010 09:24:20 +0000 (GMT) Subject: [scilab-Users] Tutorial of Optimization toolbox In-Reply-To: <680183302.1986161278401647064.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <680183302.1986161278401647064.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <84571.51641.qm@web28304.mail.ukl.yahoo.com> Agree!! Julio ________________________________ From: "paul.carrico at free.fr" To: users at lists.scilab.org Sent: Tue, 6 July, 2010 10:34:07 Subject: Re: [scilab-Users] Tutorial of Optimization toolbox Dear It's a pity since the article is not available to "ordinary people" ... and it seems to be rather interesting. PC ----- Mail Original ----- De: "Micha?l Baudin" ?: users at lists.scilab.org Envoy?: Mardi 6 Juillet 2010 09h28:06 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Tutorial of Optimization toolbox Dear Dr Reinaldo, An overview of optimization in Scilab is done in : "Optimization with Scilab, present and future", M. Baudin, S. Steer, 2009 IEEE International Workshop on Open-source Software for Scientific Computation (OSSC). which is available at : http://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=Optimization+with+Scilab%2C+present+and+future&x=0&y=0 The following is the abstract of the paper : "We present in this paper an overview of optimization algorithms available in theScilab software. We focus on the user's point of view, that is, we have to minimize or maximize an objective function and must find a solver suitable for the problem. The aim of this paper is to give a simple but accurate view of what problems can be solved by Scilab and what behavior can be expected for those solvers. For each solver, we analyze the type of problems that it can solve as well as its advantages and limitations. In order to compare the respective performances of the algorithms, we use the CUTEr library, which is available in Scilab. Numerical experiments are presented, which indicates that there is no cure-for-all solvers." The flagship of Scilab in terms of general nonlinear optimization is currently the optim function, which allows to perform unconstrained and bound constrained optimization. It is shortly presented at : http://wiki.scilab.org/The_optim_primitive and in the help of Scilab : http://www.scilab.org/product/man/optim.html You may get an overview of optimization features by browing the help of Scilab : http://www.scilab.org/product/man/section_e75956809590b9cc1bb1d9aec86b31b8.html What kind of optimization do you plan to do ? If you are interested in a general overview of Scilab, you may consider the "Introduction to Scilab" : http://www.scilab.org/en/content/download/1104/10840/file/introscilab.pdf Scilab provides its own language, but you can connect it to C, C++ and Java. For example, in order to connect your C or C++ library to Scilab, you can use the Scilab API : http://www.scilab.org/product/man/section_204636e951f595409bc6782bb8e1d2d9.html Many examples are provided in the libraries which are already connected inside Scilab. Best regards, Micha?l Baudin Prof. Dr. Reinaldo Golmia Dante a ?crit : > Hi all, > > I would like to know how to use the optimization toolbox of SciLab. > > This is my first time that I use Scilab and I would like to program it > for optimizing application on Scilab platform. > > Does Scilab use the owner programming language or accept C++ or Java programming > languages ? > > How can I find a tutorial of Scilab optimization toolbox ? > > Thank you in advance. > > All best, > Dr. Reinaldo. > ===================================================== > Prof. Dr. Eng. Reinaldo Golmia Dante > > Federal Institute of Education, Science and Technology of S?o Paulo - IFSP > Sert?ozinho Unit > Rua: Americo Ambrosio, 269 > CEP (Zip Code): 14160-000 > Cidade: Sertaozinho - SP > BRAZIL > Phone: +55-16-3946-1180 > Fax: +55-16-3946-1170 > e-mail: tiraduvidascefet at yahoo.com > Homepage: http://golmia.googlepages.com/ph.d.reinaldogolmiadante > ===================================================== > > > > > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Tue Jul 6 12:19:17 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Tue, 06 Jul 2010 12:19:17 +0200 Subject: Community's Documentation Message-ID: <1278411557.29079.64.camel@zlarin> Hello, In order to highlight the best community's documentations, we just opened a new section on our website: http://www.scilab.org/en/support/documentation/community The first documentation is "An Introduction to Scilab from a Matlab User's Point of View" by Eike Rietsch which describes in detail the strengths and limitations of Scilab from a Matlab user perspective. Any documentation in English or French (the two languages of the Scilab website) can be published on this page while it is up-to-date on the recent Scilab version and the writer commit himself to maintain it regularly. Regards, Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From eddy.pdu at gmail.com Tue Jul 6 17:47:48 2010 From: eddy.pdu at gmail.com (Peng Du) Date: Tue, 6 Jul 2010 16:47:48 +0100 Subject: building vector from data file Message-ID: Hi everyone. I have managed to let Scilab read data from file and display them however I like. But, how can I dynamically create vectors out of the data it reads line by line? Thanks very much. Peng -------------- next part -------------- An HTML attachment was scrubbed... URL: From Thomas.Carr at lifetech.com Tue Jul 6 19:25:31 2010 From: Thomas.Carr at lifetech.com (Carr, Thomas) Date: Tue, 6 Jul 2010 10:25:31 -0700 Subject: [scilab-Users] Re: XCOS File won't open In-Reply-To: <4C32F446.8030102@scilab.org> References: <4C32F446.8030102@scilab.org> Message-ID: <5FF95AE3FA95C940BD95E662928A1B03049D42CA66@CBD01MAIL01.ads.invitrogen.net> I just ran the nightly build, created a model with a super block, simulated it to verify its operation, and saved it. I could not re-open it. Tom From: Jerome PICARD [mailto:jerome.picard at scilab.org] Sent: Tuesday, July 06, 2010 2:16 AM To: users at lists.scilab.org Subject: Re: [scilab-Users] Re: XCOS File won't open Hello, Indeed, we had a bug with the super block in Xcos. This problem has been solved. You can download the last version of Scilab 5.3.0 Beta 1 available on our website. Best regards J?r?me Le 05/07/2010 14:31, Stephen Gallic a ?crit : I believe I am having a similar problem to Tom's. I have been trying to create a model in Xcos. I only ever get about as far as inserting two superblocks, setting up the ports in each before it seems to have a problem saving. In the lower left of the window, it indicates that it is saving, however that window becomes unresponsive. When I try to open the file later (since I had saved it prior to the problem) it opens and is empty. Stephen -- J?r?me Picard Ing?nieur de d?veloppement ------------------------- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex T?l. : 01.39.63.55.91 -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at westpak.com Tue Jul 6 20:40:44 2010 From: matt at westpak.com (Matt Bigarani) Date: Tue, 6 Jul 2010 11:40:44 -0700 Subject: Plot windows opened through the API unresponsive Message-ID: Hi, I've found that after displaying a plot through the API (e.g. SendScilabJob("plot(x,y,'-');"); ) none of the window functions work (save, export, zoom, etc...) until I run another command using SendScilabJob. Is that behavior known/expected? Thanks, Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From benjamin.lecordier at gmail.com Wed Jul 7 09:38:27 2010 From: benjamin.lecordier at gmail.com (B.Lecordier) Date: Wed, 7 Jul 2010 07:38:27 +0000 (UTC) Subject: [scilab-Users] stacksize... References: <481ED0C4.5020004@insa-lyon.fr> <1209979473.32145.2446.camel@korcula.inria.fr> <481ED9AD.8080908@insa-lyon.fr> Message-ID: Good morning everybody, Currently engineer student in my last year internship, I'm obliged to work on ScicosLab for simulation purposes. I have the same problem as you Pierre-Alain, I cannot increase the stacksize sufficiently to run my algorithms. ___________________________________________ ScicosLab-4.4b8 What a wonderful world Copyright (c) 1989-2010 (INRIA, ENPC) (Mon Jun 21 18:54:52 CEST 2010) Scilab Consortium don't support ScicosLab ___________________________________________ stacksize(10^8); !--error 112 Cannot allocate more memory I quickly rode on the internet that this error should disappear in the version 5.x or 6.x of Scilab but seems not since ScicosLab 4.4b8 is the latest version released few weeks ago and should run Scilab version 5.x. If somebody can help us on this issue since I cannot simulate with sufficient time horizon for my application. Regards From sylvestre.ledru at scilab.org Wed Jul 7 09:53:37 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 07 Jul 2010 09:53:37 +0200 Subject: [scilab-Users] stacksize... In-Reply-To: References: <481ED0C4.5020004@insa-lyon.fr> <1209979473.32145.2446.camel@korcula.inria.fr> <481ED9AD.8080908@insa-lyon.fr> Message-ID: <1278489217.3386.24760.camel@korcula.inria.fr> Le mercredi 07 juillet 2010 ? 07:38 +0000, B.Lecordier a ?crit : > > Scilab Consortium don't support ScicosLab As said here, please get in touch with Scicoslab people for ScicosLab issues. Sylvestre From jerome.picard at scilab.org Wed Jul 7 11:51:21 2010 From: jerome.picard at scilab.org (Jerome PICARD) Date: Wed, 07 Jul 2010 11:51:21 +0200 Subject: [scilab-Users] Re: XCOS File won't open In-Reply-To: <5FF95AE3FA95C940BD95E662928A1B03049D42CA66@CBD01MAIL01.ads.invitrogen.net> References: <4C32F446.8030102@scilab.org> <5FF95AE3FA95C940BD95E662928A1B03049D42CA66@CBD01MAIL01.ads.invitrogen.net> Message-ID: <4C344E19.5060209@scilab.org> Hello, Some bugs have been corrected for the super blocks, but some others already exist. Could you open a bug report at http://bugzilla.scilab.org/ Please, attach also your diagram to reproduce the problem. Best regards J?r?me Le 06/07/2010 19:25, Carr, Thomas a ?crit : > > I just ran the nightly build, created a model with a super block, > simulated it to verify its operation, and saved it. I could not > re-open it. > > Tom > > *From:* Jerome PICARD [mailto:jerome.picard at scilab.org] > *Sent:* Tuesday, July 06, 2010 2:16 AM > *To:* users at lists.scilab.org > *Subject:* Re: [scilab-Users] Re: XCOS File won't open > > Hello, > > Indeed, we had a bug with the super block in Xcos. This problem has > been solved. > You can download the last version of Scilab 5.3.0 Beta 1 available on > our website. > > Best regards > > J?r?me > > Le 05/07/2010 14:31, Stephen Gallic a ?crit : > > I believe I am having a similar problem to Tom's. I have been trying > to create a model in Xcos. I only ever get about as far as inserting > two superblocks, setting up the ports in each before it seems to have > a problem saving. In the lower left of the window, it indicates that > it is saving, however that window becomes unresponsive. When I try to > open the file later (since I had saved it prior to the problem) it > opens and is empty. > > Stephen > > > > > -- > J?r?me Picard > Ing?nieur de d?veloppement > ------------------------- > Consortium Scilab > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 > 78153 Le Chesnay Cedex > T?l. : 01.39.63.55.91 -- J?r?me Picard Ing?nieur de d?veloppement ------------------------- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex T?l. : 01.39.63.55.91 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Wed Jul 7 14:17:57 2010 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Wed, 07 Jul 2010 14:17:57 +0200 Subject: [scilab-Users] building vector from data file In-Reply-To: References: Message-ID: <4C347075.2000408@limsi.fr> Hi Peng, > I have managed to let Scilab read data from file and display them > however I like. But, how can I dynamically create vectors out of the > data it reads line by line? I assume that you don't know how many lines are going to be read. One way to do this is: 1) create an empty vector: v=[] 2) for each line you can append your data with: v($+1) = new_data $ is the scilab equivalent of matlab end operator. Scilab takes care of data allocation and so on... It works also with matrices. As a toy example, look at the attached file. HTH, Mathieu -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test_input.sce URL: From michael.baudin at scilab.org Wed Jul 7 15:54:52 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Wed, 07 Jul 2010 15:54:52 +0200 Subject: [scilab-Users] Tutorial of Optimization toolbox In-Reply-To: <84571.51641.qm@web28304.mail.ukl.yahoo.com> References: <680183302.1986161278401647064.JavaMail.root@zimbra26-e5.priv.proxad.net> <84571.51641.qm@web28304.mail.ukl.yahoo.com> Message-ID: <4C34872C.50501@scilab.org> Dear Paul, The document "Optimization in Scilab", by Micha?l Baudin, Vincent Couvert and Serge Steer has been released publicly today under the terms of the Creative Commons Attribution-ShareAlike 3.0 Unported License. Its LaTeX sources are managed on the Scilab Forge : http://forge.scilab.org/index.php/p/docoptimscilab/ You can download a pdf version of this document at : http://forge.scilab.org/index.php/p/docoptimscilab/downloads/ The following is the abstract of this document. In this document, we make an overview of optimization features in Scilab. The goal of this document is to present all existing and non- existing features, such that a user who wants to solve a particular optimization problem can know what to look for. In the introduction, we analyze a classification of optimization problems. In the first chapter, we analyze the flagship of Scilab in terms of nonlinear optimization: the optim function. We analyze its features, the management of the cost function, the linear algebra and the management of the memory. Then we consider the algorithms which are used behind optim, depending on the type of algorithm and the constraints. In the remaining chapters, we present the algorithms available to solve quadratic problems, non-linear least squares problems, semidefinite programming, genetic algorithms, simulated annealing and linear matrix inequalities. A chapter focus on optimization data files managed by Scilab, especially MPS and SIF files. Some optimization features are available in the form of toolboxes, the most important of which are the Quapro and CUTEr toolboxes. The final chapter is devoted to missing optimization features in Scilab. Best regards, Micha?l Baudin Julio Gonzalez-Saenz a ?crit : > Agree!! > > Julio > > ------------------------------------------------------------------------ > *From:* "paul.carrico at free.fr" > *To:* users at lists.scilab.org > *Sent:* Tue, 6 July, 2010 10:34:07 > *Subject:* Re: [scilab-Users] Tutorial of Optimization toolbox > > Dear > > It's a pity since the article is not available to "ordinary people" > ... and it seems to be rather interesting. > > PC > > > ----- Mail Original ----- > De: "Micha?l Baudin" > > ?: users at lists.scilab.org > Envoy?: Mardi 6 Juillet 2010 09h28:06 GMT +01:00 Amsterdam / Berlin / > Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] Tutorial of Optimization toolbox > > Dear Dr Reinaldo, > > An overview of optimization in Scilab is done in : > > "Optimization with Scilab, present and future", M. Baudin, S. Steer, > 2009 IEEE International Workshop on Open-source Software for Scientific > Computation (OSSC). > > which is available at : > > http://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=Optimization+with+Scilab%2C+present+and+future&x=0&y=0 > > > The following is the abstract of the paper : > > "We present in this paper an overview of optimization algorithms > available in theScilab software. We focus on the user's point of view, > that is, we have to minimize or maximize an objective function and must > find a solver suitable for the problem. The aim of this paper is to give > a simple but accurate view of what problems can be solved by Scilab and > what behavior can be expected for those solvers. For each solver, we > analyze the type of problems that it can solve as well as its advantages > and limitations. In order to compare the respective performances of the > algorithms, we use the CUTEr library, which is available in Scilab. > Numerical experiments are presented, which indicates that there is no > cure-for-all solvers." > > The flagship of Scilab in terms of general nonlinear optimization > is currently the optim function, which allows to perform > unconstrained and bound constrained optimization. > It is shortly presented at : > > http://wiki.scilab.org/The_optim_primitive > > and in the help of Scilab : > > http://www.scilab.org/product/man/optim.html > > You may get an overview of optimization features by > browing the help of Scilab : > > http://www.scilab.org/product/man/section_e75956809590b9cc1bb1d9aec86b31b8.html > > What kind of optimization do you plan to do ? > > If you are interested in a general overview of Scilab, you may > consider the "Introduction to Scilab" : > > http://www.scilab.org/en/content/download/1104/10840/file/introscilab.pdf > > Scilab provides its own language, but you can connect it to > C, C++ and Java. For example, in order to connect your > C or C++ library to Scilab, you can use the Scilab API : > > http://www.scilab.org/product/man/section_204636e951f595409bc6782bb8e1d2d9.html > > Many examples are provided in the libraries which are already connected > inside Scilab. > > Best regards, > > Micha?l Baudin > > > Prof. Dr. Reinaldo Golmia Dante a ?crit : > > Hi all, > > > > I would like to know how to use the optimization toolbox of SciLab. > > > > This is my first time that I use Scilab and I would like to program it > > for optimizing application on Scilab platform. > > > > Does Scilab use the owner programming language or accept C++ or Java > programming > > languages ? > > > > How can I find a tutorial of Scilab optimization toolbox ? > > > > Thank you in advance. > > > > All best, > > Dr. Reinaldo. > > ===================================================== > > Prof. Dr. Eng. Reinaldo Golmia Dante > > > > Federal Institute of Education, Science and Technology of S?o Paulo > - IFSP > > Sert?ozinho Unit > > Rua: Americo Ambrosio, 269 > > CEP (Zip Code): 14160-000 > > Cidade: Sertaozinho - SP > > BRAZIL > > Phone: +55-16-3946-1180 > > Fax: +55-16-3946-1170 > > e-mail: tiraduvidascefet at yahoo.com > > Homepage: http://golmia.googlepages.com/ph.d.reinaldogolmiadante > > ===================================================== > > > > > > > > > > > > > -- > Micha?l Baudin > Ing?nieur de d?veloppement > michael.baudin at scilab.org > ------------------------- > Consortium Scilab - Digiteo > Domaine de Voluceau - Rocquencourt > B.P. 105 - 78153 Le Chesnay Cedex > Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 > > > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From paul.carrico at free.fr Wed Jul 7 16:01:12 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Wed, 7 Jul 2010 16:01:12 +0200 (CEST) Subject: [scilab-Users] Tutorial of Optimization toolbox In-Reply-To: <4C34872C.50501@scilab.org> Message-ID: <1734888623.2161541278511272403.JavaMail.root@zimbra26-e5.priv.proxad.net> Dear Michael, In my own name : thanks a lot for sharing the document ... and I'm sure many other Scilab users will be interested as well. Regards Paul ----- Mail Original ----- De: "Micha?l Baudin" ?: users at lists.scilab.org Envoy?: Mercredi 7 Juillet 2010 15h54:52 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Tutorial of Optimization toolbox Dear Paul, The document "Optimization in Scilab", by Micha?l Baudin, Vincent Couvert and Serge Steer has been released publicly today under the terms of the Creative Commons Attribution-ShareAlike 3.0 Unported License. Its LaTeX sources are managed on the Scilab Forge : http://forge.scilab.org/index.php/p/docoptimscilab/ You can download a pdf version of this document at : http://forge.scilab.org/index.php/p/docoptimscilab/downloads/ The following is the abstract of this document. In this document, we make an overview of optimization features in Scilab. The goal of this document is to present all existing and non- existing features, such that a user who wants to solve a particular optimization problem can know what to look for. In the introduction, we analyze a classification of optimization problems. In the first chapter, we analyze the flagship of Scilab in terms of nonlinear optimization: the optim function. We analyze its features, the management of the cost function, the linear algebra and the management of the memory. Then we consider the algorithms which are used behind optim, depending on the type of algorithm and the constraints. In the remaining chapters, we present the algorithms available to solve quadratic problems, non-linear least squares problems, semidefinite programming, genetic algorithms, simulated annealing and linear matrix inequalities. A chapter focus on optimization data files managed by Scilab, especially MPS and SIF files. Some optimization features are available in the form of toolboxes, the most important of which are the Quapro and CUTEr toolboxes. The final chapter is devoted to missing optimization features in Scilab. Best regards, Micha?l Baudin Julio Gonzalez-Saenz a ?crit : > Agree!! > > Julio > > ------------------------------------------------------------------------ > *From:* "paul.carrico at free.fr" > *To:* users at lists.scilab.org > *Sent:* Tue, 6 July, 2010 10:34:07 > *Subject:* Re: [scilab-Users] Tutorial of Optimization toolbox > > Dear > > It's a pity since the article is not available to "ordinary people" > ... and it seems to be rather interesting. > > PC > > > ----- Mail Original ----- > De: "Micha?l Baudin" > > ?: users at lists.scilab.org > Envoy?: Mardi 6 Juillet 2010 09h28:06 GMT +01:00 Amsterdam / Berlin / > Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] Tutorial of Optimization toolbox > > Dear Dr Reinaldo, > > An overview of optimization in Scilab is done in : > > "Optimization with Scilab, present and future", M. Baudin, S. Steer, > 2009 IEEE International Workshop on Open-source Software for Scientific > Computation (OSSC). > > which is available at : > > http://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=Optimization+with+Scilab%2C+present+and+future&x=0&y=0 > > > The following is the abstract of the paper : > > "We present in this paper an overview of optimization algorithms > available in theScilab software. We focus on the user's point of view, > that is, we have to minimize or maximize an objective function and must > find a solver suitable for the problem. The aim of this paper is to give > a simple but accurate view of what problems can be solved by Scilab and > what behavior can be expected for those solvers. For each solver, we > analyze the type of problems that it can solve as well as its advantages > and limitations. In order to compare the respective performances of the > algorithms, we use the CUTEr library, which is available in Scilab. > Numerical experiments are presented, which indicates that there is no > cure-for-all solvers." > > The flagship of Scilab in terms of general nonlinear optimization > is currently the optim function, which allows to perform > unconstrained and bound constrained optimization. > It is shortly presented at : > > http://wiki.scilab.org/The_optim_primitive > > and in the help of Scilab : > > http://www.scilab.org/product/man/optim.html > > You may get an overview of optimization features by > browing the help of Scilab : > > http://www.scilab.org/product/man/section_e75956809590b9cc1bb1d9aec86b31b8.html > > What kind of optimization do you plan to do ? > > If you are interested in a general overview of Scilab, you may > consider the "Introduction to Scilab" : > > http://www.scilab.org/en/content/download/1104/10840/file/introscilab.pdf > > Scilab provides its own language, but you can connect it to > C, C++ and Java. For example, in order to connect your > C or C++ library to Scilab, you can use the Scilab API : > > http://www.scilab.org/product/man/section_204636e951f595409bc6782bb8e1d2d9.html > > Many examples are provided in the libraries which are already connected > inside Scilab. > > Best regards, > > Micha?l Baudin > > > Prof. Dr. Reinaldo Golmia Dante a ?crit : > > Hi all, > > > > I would like to know how to use the optimization toolbox of SciLab. > > > > This is my first time that I use Scilab and I would like to program it > > for optimizing application on Scilab platform. > > > > Does Scilab use the owner programming language or accept C++ or Java > programming > > languages ? > > > > How can I find a tutorial of Scilab optimization toolbox ? > > > > Thank you in advance. > > > > All best, > > Dr. Reinaldo. > > ===================================================== > > Prof. Dr. Eng. Reinaldo Golmia Dante > > > > Federal Institute of Education, Science and Technology of S?o Paulo > - IFSP > > Sert?ozinho Unit > > Rua: Americo Ambrosio, 269 > > CEP (Zip Code): 14160-000 > > Cidade: Sertaozinho - SP > > BRAZIL > > Phone: +55-16-3946-1180 > > Fax: +55-16-3946-1170 > > e-mail: tiraduvidascefet at yahoo.com > > Homepage: http://golmia.googlepages.com/ph.d.reinaldogolmiadante > > ===================================================== > > > > > > > > > > > > > -- > Micha?l Baudin > Ing?nieur de d?veloppement > michael.baudin at scilab.org > ------------------------- > Consortium Scilab - Digiteo > Domaine de Voluceau - Rocquencourt > B.P. 105 - 78153 Le Chesnay Cedex > Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 > > > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From eddy.pdu at gmail.com Wed Jul 7 22:45:17 2010 From: eddy.pdu at gmail.com (Peng Du) Date: Wed, 7 Jul 2010 21:45:17 +0100 Subject: [scilab-Users] building vector from data file In-Reply-To: <4C347075.2000408@limsi.fr> References: <4C347075.2000408@limsi.fr> Message-ID: Thanks very much Mathieu. Another question: how can I plot3d three vectors without any logical relationships? For example, there is no f(x,y)=z. Many thanks. Peng On 7 July 2010 13:17, Mathieu Dubois wrote: > Hi Peng, > > I have managed to let Scilab read data from file and display them however >> I like. But, how can I dynamically create vectors out of the data it reads >> line by line? >> > I assume that you don't know how many lines are going to be read. > > One way to do this is: > 1) create an empty vector: v=[] > 2) for each line you can append your data with: v($+1) = new_data > $ is the scilab equivalent of matlab end operator. Scilab takes care of > data allocation and so on... > It works also with matrices. > > As a toy example, look at the attached file. > > HTH, > Mathieu > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From petar.knezevich at gmail.com Thu Jul 8 06:12:03 2010 From: petar.knezevich at gmail.com (Petar Knezevich) Date: Thu, 8 Jul 2010 09:12:03 +0500 Subject: [scilab-Users] building vector from data file In-Reply-To: References: <4C347075.2000408@limsi.fr> Message-ID: Hi Peng, Check the functions param3d and param3d1. param3d will plot a trio of vectors (x, y and z) as line, as a series of points or a combination of both param3d1 will take a trio of matrices and plot the columns as vectors. Check the help file for both to learn how to use them. Regards, Petar Knezevich On 8 July 2010 01:45, Peng Du wrote: > Thanks very much Mathieu. > > Another question: how can I plot3d three vectors without any logical > relationships? For example, there is no f(x,y)=z. > > Many thanks. > > Peng > -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Thu Jul 8 12:18:36 2010 From: david.cheze at cea.fr (CHEZE David 227480) Date: Thu, 8 Jul 2010 12:18:36 +0200 Subject: text file I/O Message-ID: Hello, is there a way to extract 'quickly' a real matrix from an ASCII text file of the type: date heure T1 T2 T3 T4 T5 01/02/03 12:22 11 2 3 3.2 4.5 01/02/03 12:23 11 3 3 4 3 01/02/03 12:24 1 3 3 4 4.3 ... fscanfMat fails while reading first non real element (date typically). Using formatted input fonctions like mfscanf or mgetl and msscanf combination could be automated to adapt to different number of numerical series : has anyone already written something like,that can be shared ? Thanks for your advises, David Ch?ze -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Thu Jul 8 14:29:27 2010 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 08 Jul 2010 14:29:27 +0200 Subject: [scilab-Users] text file I/O In-Reply-To: References: Message-ID: <4C35C4A7.4020509@limsi.fr> Hello David, I'm not an expert but I had to read those kind of files... > fscanfMat fails while reading first non real element (date typically). fscanfMat reads data written by fprintfMat... The hard part in your data is that it mixes text and numbers. > Using formatted input fonctions like mfscanf or mgetl and msscanf > combination could be automated to adapt to different number of > numerical series : has anyone already written something like,that can > be shared ? In your case you can: 1) read the number of data per line (on the first line) 2) create a format string using the right number of '%e' 3) use mfscanf with -1 iterations The hard part is that you don't how many matrices mfscanf will return so you have to use the form L=mfscanf(-1, fd, format) and then reextract your data as a matrix. Have a look at the attached files. I have tested it with the data you sent and a data set with 7 columns. It works. HTH, Mathieu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test_mfscanf.tar.gz Type: application/x-gzip Size: 746 bytes Desc: not available URL: From outrosdiasvirao at yahoo.com.br Thu Jul 8 21:10:41 2010 From: outrosdiasvirao at yahoo.com.br (Lucio Agostinho Rocha) Date: Thu, 8 Jul 2010 12:10:41 -0700 (PDT) Subject: Simple doubt: animating a plot Message-ID: <279216.59417.qm@web113501.mail.gq1.yahoo.com> Hi, I need to dynamically to plot some points in a discrete matrix using SciLab, something like this: i=1; while i>0; plot(y,x,'.w'); plot(y,x+1,'.r'); plot(y,x+1,'.w'); plot(y,x,'.r'); disp(i); i=i+1; end; But, in less of 100 iterations, the plotting is reducing your speed. What am I doing wrong? Some suggestion? I imagine that I need to flush something. Thanks in advance, Lucio ..... --- Em ter, 29/9/09, Pierre LANDO escreveu: > De: Pierre LANDO > Assunto: Re: [scilab-Users] Is there a Angle Histogram in Scilab? > Para: users at lists.scilab.org > Data: Ter?a-feira, 29 de Setembro de 2009, 11:42 > Lucio Agostinho Rocha says : "Is > there a Angle Histogram in Scilab?" > > As I know no, but you can use xfarcs > > ****** > function AngleHistogram(R,A,E,C) > plot2d(0,0,-1,"031"," ",[-1,-1,1,1]); > arcs=[-R;R;2*R;2*R;(A-E/2)*64;E*64]; > xfarcs(arcs,C); > endfunction > > > R=[.7,.5,.6]? ? ? ? // radius > A=[12,225,136]? ? // theta > E=[42,25,36]? ? ? ? // opening angle > C=[3,4,5]? ? ? ? // color > > > AngleHistogram(R,A,E,C) > ****** > > -- ------------------------- > Pierre LANDO > Ing?nieur de d?veloppement > ------------------------- > Consortium Scilab > Digiteo > Domaine de Voluceau > Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France > T?l. : +33.1.39.63.58.21 > > From fabrice.wojcicki at cegetel.net Thu Jul 8 21:24:47 2010 From: fabrice.wojcicki at cegetel.net (Fabrice WOJCICKI) Date: Thu, 8 Jul 2010 21:24:47 +0200 Subject: how to unsubscribe from users@lists.scilab.org Message-ID: <57D88EB97D0444EE8CCC344E07D12509@PC302132836219> Please tell me how unsubscribe from users at lists.scilab.org Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Thu Jul 8 21:25:32 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 08 Jul 2010 21:25:32 +0200 Subject: [scilab-Users] how to unsubscribe from users@lists.scilab.org In-Reply-To: <57D88EB97D0444EE8CCC344E07D12509@PC302132836219> References: <57D88EB97D0444EE8CCC344E07D12509@PC302132836219> Message-ID: <1278617132.5992.80.camel@zlarin> Le jeudi 08 juillet 2010 ? 21:24 +0200, Fabrice WOJCICKI a ?crit : > Please tell me how unsubscribe from users at lists.scilab.org By sending an email to: users-unsubscribe at lists.scilab.org Sylvestre -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From pvonnied at gmail.com Fri Jul 9 16:22:04 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Fri, 9 Jul 2010 16:22:04 +0200 Subject: feval an external function Message-ID: Hi all, In the main script I call a function 'foo' (which is made known to the main script by exec('foo.sci')) which takes another function 'bar' and some arguments as its arguments. Inside the body of 'foo' the function 'bar' is evaluated by 'feval(arguments,'bar')'... Unfortunately the interpreter cannot find the function 'bar' (although that function is also made known to the main script). Error message: feval: entry point bar not found in predefined tables or link table. Is there a way to execute the function 'bar' inside the function 'foo'? Make known the function 'bar' inside 'foo' does not help either... Merci for a hint Peter From jerome.picard at scilab.org Fri Jul 9 16:35:12 2010 From: jerome.picard at scilab.org (Jerome PICARD) Date: Fri, 09 Jul 2010 16:35:12 +0200 Subject: [scilab-Users] feval an external function In-Reply-To: References: Message-ID: <4C3733A0.9070301@scilab.org> Hello, The command like the following one should works into the function foo : execstr("y="+bar+"(arguments)") Best regards J?r?me Le 09/07/2010 16:22, Peter von Niederhaeusern a ?crit : > Hi all, > > In the main script I call a function 'foo' (which is made known to the > main script by exec('foo.sci')) > which takes another function 'bar' and some arguments as its arguments. > > Inside the body of 'foo' the function 'bar' is evaluated by > 'feval(arguments,'bar')'... > > Unfortunately the interpreter cannot find the function 'bar' (although > that function is also made known > to the main script). Error message: feval: entry point bar not found > in predefined tables or link table. > > Is there a way to execute the function 'bar' inside the function 'foo'? > > Make known the function 'bar' inside 'foo' does not help either... > > Merci for a hint > Peter > From eddy.pdu at gmail.com Fri Jul 9 22:20:18 2010 From: eddy.pdu at gmail.com (Peng Du) Date: Fri, 9 Jul 2010 21:20:18 +0100 Subject: [scilab-Users] building vector from data file In-Reply-To: References: <4C347075.2000408@limsi.fr> Message-ID: Many thanks Petar, that surely helped! Here comes another question: when I try to make several plot using a loop looking like for i=1:10 scf(i) plot WHATEVER some of them get messed up. For example, graph(8) looks fine if plotted separately. But if there is a graph(7) is plotted in the loop, graph(8) becomes weird. I think there must be something wrong with the way I call the plot. Any suggestions? Thanks a lot. Peng On 8 July 2010 05:12, Petar Knezevich wrote: > Hi Peng, > > Check the functions param3d and param3d1. > > param3d will plot a trio of vectors (x, y and z) as line, as a series of > points or a combination of both > > param3d1 will take a trio of matrices and plot the columns as vectors. > > Check the help file for both to learn how to use them. > > Regards, > Petar Knezevich > > > On 8 July 2010 01:45, Peng Du wrote: > >> Thanks very much Mathieu. >> >> Another question: how can I plot3d three vectors without any logical >> relationships? For example, there is no f(x,y)=z. >> >> Many thanks. >> >> Peng >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eddy.pdu at gmail.com Fri Jul 9 23:05:36 2010 From: eddy.pdu at gmail.com (Peng Du) Date: Fri, 9 Jul 2010 22:05:36 +0100 Subject: [scilab-Users] building vector from data file In-Reply-To: References: <4C347075.2000408@limsi.fr> Message-ID: That was solved. It was not about the plot part but something else. Thanks. Peng On 9 July 2010 21:20, Peng Du wrote: > Many thanks Petar, that surely helped! > > Here comes another question: when I try to make several plot using a loop > looking like > > for i=1:10 > scf(i) > plot WHATEVER > > some of them get messed up. For example, graph(8) looks fine if plotted > separately. But if there is a graph(7) is plotted in the loop, graph(8) > becomes weird. > > I think there must be something wrong with the way I call the plot. Any > suggestions? > > Thanks a lot. > > Peng > > > On 8 July 2010 05:12, Petar Knezevich wrote: > >> Hi Peng, >> >> Check the functions param3d and param3d1. >> >> param3d will plot a trio of vectors (x, y and z) as line, as a series of >> points or a combination of both >> >> param3d1 will take a trio of matrices and plot the columns as vectors. >> >> Check the help file for both to learn how to use them. >> >> Regards, >> Petar Knezevich >> >> >> On 8 July 2010 01:45, Peng Du wrote: >> >>> Thanks very much Mathieu. >>> >>> Another question: how can I plot3d three vectors without any logical >>> relationships? For example, there is no f(x,y)=z. >>> >>> Many thanks. >>> >>> Peng >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mathieu.dubois at limsi.fr Sat Jul 10 13:08:06 2010 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Sat, 10 Jul 2010 13:08:06 +0200 Subject: [scilab-Users] feval an external function In-Reply-To: References: Message-ID: <4C385496.1050806@limsi.fr> Hello Peter, > In the main script I call a function 'foo' (which is made known to the > main script by exec('foo.sci')) > which takes another function 'bar' and some arguments as its arguments. > > Inside the body of 'foo' the function 'bar' is evaluated by > 'feval(arguments,'bar')'... > Are you sure that this what you want to do? Under scilab feval is used to evaluate an external function on several arguments (see help page). This is different than matlab? function feval. > Unfortunately the interpreter cannot find the function 'bar' (although > that function is also made known > to the main script). Error message: feval: entry point bar not found > in predefined tables or link table. > > Is there a way to execute the function 'bar' inside the function 'foo'? > If I understand your problem, you want to pass a function (bar) as an argument to another function (foo) and evaluate it, right? The good new is that scilab functions are variables so you can pass the function bar as an argument (without quotes). Let's say that the argument name is bar_function. Then you can simply write (inside foo) bar_function(args). See chapter 6 of "An Introduction to Scilab from a Matlab User's Point of View" by Eike Rietsch on scilab website (http://www.scilab.org/en/support/documentation/community). I have attached a dummy example (where the function to call is called bars to avoid erasing the predefined bar) HTH, Mathieu -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: test_bars.sce URL: From al.bertho at free.fr Sat Jul 10 19:58:14 2010 From: al.bertho at free.fr (alain) Date: Sat, 10 Jul 2010 19:58:14 +0200 Subject: [Fwd: scilab_api: is it possible to create a struct on scilab stack from C?] Message-ID: <4C38B4B6.3010601@free.fr> Sorry for my last message... To create a MList, one must call CreateMList and not CreateList... I get now a struct from my lib... Sorry for this... -------------- next part -------------- An embedded message was scrubbed... From: alain Subject: scilab_api: is it possible to create a struct on scilab stack from C? Date: Sat, 10 Jul 2010 18:43:10 +0200 Size: 1284 URL: From ladiasn at gmail.com Sun Jul 11 20:03:23 2010 From: ladiasn at gmail.com (nikos L) Date: Sun, 11 Jul 2010 21:03:23 +0300 Subject: Simulink & Scilab Message-ID: Hello, my name is Nick and i have problem with simulinks file. I have a lot of projects based on simulink and i cant open with scilab(xcos) programm. What can i do , to open these files with xcos? Furthermore, i want to open the xcos files with simulink. I appreciate any help of you.... King regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From xendoo at gmail.com Sun Jul 11 23:20:39 2010 From: xendoo at gmail.com (=?ISO-8859-1?Q?Jerzy_Zag=F3rski?=) Date: Sun, 11 Jul 2010 23:20:39 +0200 Subject: [scilab-Users] Simulink & Scilab In-Reply-To: References: Message-ID: For now it's impossible to open simulink project in xcos. I hope it'll be possible later this summer. On 11 July 2010 20:03, nikos L wrote: > Hello, my name is Nick and i have problem with simulinks file. > > I have a lot of projects based on simulink and i cant open with scilab(xcos) > programm. > > What can i do , to open these files with xcos? > > Furthermore, i want to open the xcos files with simulink. > > I appreciate any help of you.... > > King regards > From pvonnied at gmail.com Mon Jul 12 15:36:19 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Mon, 12 Jul 2010 15:36:19 +0200 Subject: [scilab-Users] feval an external function In-Reply-To: <4C385496.1050806@limsi.fr> References: <4C385496.1050806@limsi.fr> Message-ID: Thank you all for your help. I did choose the solution proposed by J?r?me (and it seems to work), as the function 'bar' is not directly passed as a "function pointer" to the function 'foo' but as a string variable which is assigned the function name (like a parameter for a function). I might be missing a point but it works and the hint from Mathieu is an important one nevertheless. Merci et salutations Peter On Sat, Jul 10, 2010 at 1:08 PM, Mathieu Dubois wrote: > Hello Peter, >> >> In the main script I call a function 'foo' (which is made known to the >> main script by exec('foo.sci')) >> which takes another function 'bar' and some arguments as its arguments. >> >> Inside the body of 'foo' the function 'bar' is evaluated by >> 'feval(arguments,'bar')'... >> > > Are you sure that this what you want to do? Under scilab feval is used to > evaluate an external function on several arguments (see help page). This is > different than matlab? function feval. >> >> Unfortunately the interpreter cannot find the function 'bar' (although >> that function is also made known >> to the main script). Error message: feval: entry point bar not found >> in predefined tables or link table. >> >> Is there a way to execute the function 'bar' inside the function 'foo'? >> > > If I understand your problem, you want to pass a function (bar) as an > argument to another function (foo) and evaluate it, right? > > The good new is that scilab functions are variables so you can pass the > function bar as an argument (without quotes). Let's say that the argument > name is bar_function. Then you can simply write (inside foo) > ?bar_function(args). > > See chapter 6 of "An Introduction to Scilab from a Matlab User's Point of > View" by Eike Rietsch on scilab website > (http://www.scilab.org/en/support/documentation/community). > > I have attached a dummy example (where the function to call is called bars > to avoid erasing the predefined bar) > > HTH, > Mathieu > From pvonnied at gmail.com Tue Jul 13 10:34:36 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Tue, 13 Jul 2010 10:34:36 +0200 Subject: Quiver on an image (SIVP toolbox) Message-ID: Hi all, We are to convert scripts from Matlab to Scilab 5.2.2. One task of this conversion is to plot a quiver (we use plotlib) on an image of a moving car (difference image, displacement, object tracking...). The SIVP toolkit uses a Tk widget to display an image and quiver uses internal means of Scilab: is it possible to combine the two? BTW: are there any significant differences between the quiver command of Matlab and the _quiver command of plotlib? Our results differ heavily... Merci, Peter From stephane.mottelet at utc.fr Tue Jul 13 14:30:23 2010 From: stephane.mottelet at utc.fr (Stephane Mottelet) Date: Tue, 13 Jul 2010 14:30:23 +0200 Subject: [scilab-Users] Quiver on an image (SIVP toolbox) In-Reply-To: References: Message-ID: <20100713143023.16846axkgi0si6bk@webmail.utc.fr> Peter von Niederhaeusern a ?crit?: > Hi all, > > We are to convert scripts from Matlab to Scilab 5.2.2. > > One task of this conversion is to plot a quiver (we use plotlib) > on an image of a moving car (difference image, displacement, object > tracking...). > > The SIVP toolkit uses a Tk widget to display an image and quiver uses > internal means of Scilab: is it possible to combine the two? > > BTW: are there any significant differences between the quiver > command of Matlab > and the _quiver command of plotlib? Our results differ heavily... Hi. the graphical results should only differ concerning arrow size, not direction. Is it the case ? S. > > Merci, > Peter > From pvonnied at gmail.com Tue Jul 13 14:41:29 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Tue, 13 Jul 2010 14:41:29 +0200 Subject: [scilab-Users] Quiver on an image (SIVP toolbox) In-Reply-To: <20100713143023.16846axkgi0si6bk@webmail.utc.fr> References: <20100713143023.16846axkgi0si6bk@webmail.utc.fr> Message-ID: Yes. I've found out the cause for this: the scale factor ;-) Now the quiver plot looks exactly as in the Matlab example. Remaining problem: plot the quiver on the image... On Tue, Jul 13, 2010 at 2:30 PM, Stephane Mottelet wrote: > Peter von Niederhaeusern a ?crit?: > >> Hi all, >> >> We are to convert scripts from Matlab to Scilab 5.2.2. >> >> One task of this conversion is to plot a quiver (we use plotlib) >> on an image of a moving car (difference image, displacement, object >> tracking...). >> >> The SIVP toolkit uses a Tk widget to display an image and quiver uses >> internal means of Scilab: is it possible to combine the two? >> >> BTW: are there any significant differences between the quiver command of >> Matlab >> and the _quiver command of plotlib? Our results differ heavily... > > Hi. the graphical results should only differ concerning arrow > size, not direction. Is it the case ? > > S. > >> >> Merci, >> Peter >> > > > From pvonnied at gmail.com Tue Jul 13 16:42:45 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Tue, 13 Jul 2010 16:42:45 +0200 Subject: fft2 on grayscale image In-Reply-To: References: Message-ID: OK, found out the solution: What about converting the image to double precision? That did the trick... But why is this even necessary? On Wed, Jun 30, 2010 at 5:05 PM, Peter von Niederhaeusern wrote: > Hi, > > I'm a bit confused about the fact that I'm not able to fft2 a grayscale image. > I get the following error: > > %%% snippet %%% > > // color image, works > square=imread('square.bmp'); > square_fft2=fftshift(fft2(square,246,247)); > > // grayscale image, does not work > square_g=RGB2Gray(square); > square_fft2=fftshift(fft2(square_g,246,247)); > > !--error 4 > Undefined variable: x > > at line ? ? ?45 of function fft2 called by : > square_fft2=fftshift(fft2(square_g,246,247)); > > %%% snippet %%% > > What's the reason/rationale for this error? > > Thank you very much for a hint. > > Peter > From stephane.mottelet at utc.fr Tue Jul 13 20:13:12 2010 From: stephane.mottelet at utc.fr (Stephane Mottelet) Date: Tue, 13 Jul 2010 20:13:12 +0200 Subject: [scilab-Users] Quiver on an image (SIVP toolbox) In-Reply-To: References: <20100713143023.16846axkgi0si6bk@webmail.utc.fr> Message-ID: <20100713201312.98484atpnezui3ls@webmail.utc.fr> Peter von Niederhaeusern a ?crit?: > Yes. I've found out the cause for this: the scale factor ;-) > Now the quiver plot looks exactly as in the Matlab example. > > Remaining problem: plot the quiver on the image... use "hold on" > > On Tue, Jul 13, 2010 at 2:30 PM, Stephane Mottelet > wrote: >> Peter von Niederhaeusern a ?crit?: >> >>> Hi all, >>> >>> We are to convert scripts from Matlab to Scilab 5.2.2. >>> >>> One task of this conversion is to plot a quiver (we use plotlib) >>> on an image of a moving car (difference image, displacement, object >>> tracking...). >>> >>> The SIVP toolkit uses a Tk widget to display an image and quiver uses >>> internal means of Scilab: is it possible to combine the two? >>> >>> BTW: are there any significant differences between the quiver command of >>> Matlab >>> and the _quiver command of plotlib? Our results differ heavily... >> >> Hi. the graphical results should only differ concerning arrow >> size, not direction. Is it the case ? >> >> S. >> >>> >>> Merci, >>> Peter >>> >> >> >> > From pvonnied at gmail.com Wed Jul 14 10:50:37 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Wed, 14 Jul 2010 10:50:37 +0200 Subject: [scilab-Users] Quiver on an image (SIVP toolbox) In-Reply-To: <20100713201312.98484atpnezui3ls@webmail.utc.fr> References: <20100713143023.16846axkgi0si6bk@webmail.utc.fr> <20100713201312.98484atpnezui3ls@webmail.utc.fr> Message-ID: hold on (or _hold on) uses the "default" plotting context of Scilab and plots subsequent plots onto the same "canvas"... But what about different contexts? imshow from the SIVP toolbox uses Tk to show images. I don't think one can overlay plots from the Scilab context onto Tk, right? Are there any alternatives for mixing? I'd like to draw the quiver field onto the image to show the meaning of the difference vectors of a tracked object (the image). On Tue, Jul 13, 2010 at 8:13 PM, Stephane Mottelet wrote: > Peter von Niederhaeusern a ?crit?: > >> Yes. I've found out the cause for this: the scale factor ;-) >> Now the quiver plot looks exactly as in the Matlab example. >> >> Remaining problem: plot the quiver on the image... > > use "hold on" > >> >> On Tue, Jul 13, 2010 at 2:30 PM, Stephane Mottelet >> wrote: >>> >>> Peter von Niederhaeusern a ?crit?: >>> >>>> Hi all, >>>> >>>> We are to convert scripts from Matlab to Scilab 5.2.2. >>>> >>>> One task of this conversion is to plot a quiver (we use plotlib) >>>> on an image of a moving car (difference image, displacement, object >>>> tracking...). >>>> >>>> The SIVP toolkit uses a Tk widget to display an image and quiver uses >>>> internal means of Scilab: is it possible to combine the two? >>>> >>>> BTW: are there any significant differences between the quiver command of >>>> Matlab >>>> and the _quiver command of plotlib? Our results differ heavily... >>> >>> Hi. the graphical results should only differ concerning arrow >>> size, not direction. Is it the case ? >>> >>> S. >>> >>>> >>>> Merci, >>>> Peter >>>> >>> >>> >>> >> > > > From stephane.mottelet at utc.fr Wed Jul 14 11:14:14 2010 From: stephane.mottelet at utc.fr (Stephane Mottelet) Date: Wed, 14 Jul 2010 11:14:14 +0200 Subject: [scilab-Users] Quiver on an image (SIVP toolbox) In-Reply-To: References: <20100713143023.16846axkgi0si6bk@webmail.utc.fr> <20100713201312.98484atpnezui3ls@webmail.utc.fr> Message-ID: <20100714111414.12432r2hfs8ku9kw@webmail.utc.fr> Peter von Niederhaeusern a ?crit?: > hold on (or _hold on) uses the "default" plotting context of Scilab > and plots subsequent plots > onto the same "canvas"... > > But what about different contexts? imshow from the SIVP toolbox uses > Tk to show images. I missed that point > I don't think one can overlay plots from the Scilab context onto Tk, right? > > Are there any alternatives for mixing? no. Scilab should implement truecolor canvases... S. > > I'd like to draw the quiver field onto the image to show the meaning > of the difference vectors of > a tracked object (the image). > > On Tue, Jul 13, 2010 at 8:13 PM, Stephane Mottelet > wrote: >> Peter von Niederhaeusern a ?crit?: >> >>> Yes. I've found out the cause for this: the scale factor ;-) >>> Now the quiver plot looks exactly as in the Matlab example. >>> >>> Remaining problem: plot the quiver on the image... >> >> use "hold on" >> >>> >>> On Tue, Jul 13, 2010 at 2:30 PM, Stephane Mottelet >>> wrote: >>>> >>>> Peter von Niederhaeusern a ?crit?: >>>> >>>>> Hi all, >>>>> >>>>> We are to convert scripts from Matlab to Scilab 5.2.2. >>>>> >>>>> One task of this conversion is to plot a quiver (we use plotlib) >>>>> on an image of a moving car (difference image, displacement, object >>>>> tracking...). >>>>> >>>>> The SIVP toolkit uses a Tk widget to display an image and quiver uses >>>>> internal means of Scilab: is it possible to combine the two? >>>>> >>>>> BTW: are there any significant differences between the quiver command of >>>>> Matlab >>>>> and the _quiver command of plotlib? Our results differ heavily... >>>> >>>> Hi. the graphical results should only differ concerning arrow >>>> size, not direction. Is it the case ? >>>> >>>> S. >>>> >>>>> >>>>> Merci, >>>>> Peter >>>>> >>>> >>>> >>>> >>> >> >> >> > From al.bertho at free.fr Wed Jul 14 12:02:15 2010 From: al.bertho at free.fr (alain) Date: Wed, 14 Jul 2010 12:02:15 +0200 Subject: ilib_build: is it possible to include a dll in libs? Message-ID: <4C3D8B27.3070505@free.fr> Hello I'd like to build an interface between scilab and C functions provided in a dll. These functions prototypes can't be handled using 'call' scilab function, they don't use pointers. In the builder.sce script, I put the dll basename in libs, but the makefile generated looks for basename.lib How can I link to that dll? Thanks Alain From allan.cornet at scilab.org Thu Jul 15 08:10:32 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Thu, 15 Jul 2010 08:10:32 +0200 Subject: [scilab-Users] ilib_build: is it possible to include a dll in libs? In-Reply-To: <4C3D8B27.3070505@free.fr> References: <4C3D8B27.3070505@free.fr> Message-ID: <000901cb23e4$6ea4c980$4bee5c80$@cornet@scilab.org> Hi, -- If you want to create a external module see : http://gitweb.scilab.org/?p=scilab.git;a=tree;f=scilab/contrib/toolbox_skele ton;h=2690159b636c3b37fcad3cc922eea4b533744d80;hb=5ebffade33419e4fd61f95f8ab 6537c3b5285d87 -- If you want to use 'call' and that your function has not supported prototype: You can do a 'wrap' of your function: void myWrapForScilab(int *a, int *b, int *c) { *c = sum(*a, *b); } int sum(int a, int b) { return a + b; } And call 'myWrapForScilab' with Scilab 'call' -- If you want to add a dependency on a external library (dll) with ilib_build See 'libs' parameter in help ilib_build On windows, you can also use pragma in your C code to create this dependency: #pragma comment(lib, "../../bin/libxml2.lib") create a dependency on libxml2.dll http://msdn.microsoft.com/en-us/library/7f0aews7(v=VS.71).aspx Best regards Allan CORNET -----Message d'origine----- De?: alain [mailto:al.bertho at free.fr] Envoy??: mercredi 14 juillet 2010 12:02 ??: users at lists.scilab.org Objet?: [scilab-Users] ilib_build: is it possible to include a dll in libs? Hello I'd like to build an interface between scilab and C functions provided in a dll. These functions prototypes can't be handled using 'call' scilab function, they don't use pointers. In the builder.sce script, I put the dll basename in libs, but the makefile generated looks for basename.lib How can I link to that dll? Thanks Alain From al.bertho at free.fr Thu Jul 15 09:37:07 2010 From: al.bertho at free.fr (alain) Date: Thu, 15 Jul 2010 09:37:07 +0200 Subject: [scilab-Users] ilib_build: is it possible to include a dll in libs? In-Reply-To: <000901cb23e4$6ea4c980$4bee5c80$@cornet@scilab.org> References: <4C3D8B27.3070505@free.fr> <000901cb23e4$6ea4c980$4bee5c80$@cornet@scilab.org> Message-ID: <4C3EBAA3.6010004@free.fr> Hi, Thanks very much for your answer, it gives me ideas! In fact, there was a .lib given with the dll I was trying to link to... My real problem was that I tried to link a msvc .lib to scilab with lcc... I had a look to your script modules/dynamic_link/macros/VCtoLCCLib.sce, and it gave me the solution, pedump and buildlib... My module does work! Well, when possible, I think it's better to use scilab_api, it's quite simple and works fine. Best regards. Alain Allan CORNET a ?crit : > Hi, > > -- If you want to create a external module see : > > http://gitweb.scilab.org/?p=scilab.git;a=tree;f=scilab/contrib/toolbox_skele > ton;h=2690159b636c3b37fcad3cc922eea4b533744d80;hb=5ebffade33419e4fd61f95f8ab > 6537c3b5285d87 > > > -- If you want to use 'call' and that your function has not supported > prototype: > > You can do a 'wrap' of your function: > > void myWrapForScilab(int *a, int *b, int *c) > { > *c = sum(*a, *b); > } > > int sum(int a, int b) > { > return a + b; > } > > And call 'myWrapForScilab' with Scilab 'call' > > -- If you want to add a dependency on a external library (dll) with > ilib_build > > See 'libs' parameter in help ilib_build > > On windows, you can also use pragma in your C code to create this > dependency: > #pragma comment(lib, "../../bin/libxml2.lib") create a dependency on > libxml2.dll > http://msdn.microsoft.com/en-us/library/7f0aews7(v=VS.71).aspx > > > > Best regards > > Allan CORNET > > > > -----Message d'origine----- > De : alain [mailto:al.bertho at free.fr] > Envoy? : mercredi 14 juillet 2010 12:02 > ? : users at lists.scilab.org > Objet : [scilab-Users] ilib_build: is it possible to include a dll in libs? > > Hello > > I'd like to build an interface between scilab and C functions provided > in a dll. These functions prototypes can't be handled using 'call' > scilab function, they don't use pointers. > In the builder.sce script, I put the dll basename in libs, but the > makefile generated looks for basename.lib > > How can I link to that dll? > > Thanks > > Alain > > > > From end48war at yahoo.fr Fri Jul 16 08:45:30 2010 From: end48war at yahoo.fr (azerty azerty) Date: Fri, 16 Jul 2010 06:45:30 +0000 (GMT) Subject: Pb with C function linking Message-ID: <39696.58853.qm@web25802.mail.ukl.yahoo.com> Hello, I'm trying to compile and link a C function with Scilab. When I use the scilab function ilib_build, I've got the following error message : NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"'?: code retour '0x2' I'm using Scilab 5.3.0 beta 1 and Visual Studio Express 2010. I can't solve the problem which happens with any C function I tried with (even with the examples provided with Scilab). If anybody has an idea of what my problem is, I would be really greatfull. Best regards, Benoit -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan.cornet at scilab.org Fri Jul 16 08:59:06 2010 From: allan.cornet at scilab.org (Allan CORNET) Date: Fri, 16 Jul 2010 08:59:06 +0200 Subject: [scilab-Users] Pb with C function linking In-Reply-To: <39696.58853.qm@web25802.mail.ukl.yahoo.com> References: <39696.58853.qm@web25802.mail.ukl.yahoo.com> Message-ID: <001201cb24b4$6225d1b0$26717510$@cornet@scilab.org> Hi, See help ilib_verbose you can also start a shell session for scilab: // do first your ilib_build command dos start it will start a command line session and in this shell session, type : nmake /f makelib.mak you will have more information about your trouble see also: http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab _with_Visual_Studio Allan CORNET De : azerty azerty [mailto:end48war at yahoo.fr] Envoy? : vendredi 16 juillet 2010 08:46 ? : users at lists.scilab.org Objet : [scilab-Users] Pb with C function linking Hello, I'm trying to compile and link a C function with Scilab. When I use the scilab function ilib_build, I've got the following error message : NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"'?: code retour '0x2' I'm using Scilab 5.3.0 beta 1 and Visual Studio Express 2010. I can't solve the problem which happens with any C function I tried with (even with the examples provided with Scilab). If anybody has an idea of what my problem is, I would be really greatfull. Best regards, Benoit -------------- next part -------------- An HTML attachment was scrubbed... URL: From pvonnied at gmail.com Fri Jul 16 14:18:13 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Fri, 16 Jul 2010 14:18:13 +0200 Subject: Difference between function return value and literal Message-ID: Hi all, This might be a silly question, but I don't get it: // 1. version rows=myCell.dims(1); disp(rows); // -> 2 disp( [1:1:rows] ); // -> 1 2 // 2. version _rows=2; disp(_rows); // -> 2. disp( [1:1:_rows] ); // 1. 2. What's the difference between the plain values (e.g. 2) of the return value and the indexed values with dots (e.g. 2.)? I need to get the second version but dynamically (as in the first version) assigned (to read out some values from a cell)... Thx for a hint Peter From Samuel.Gougeon at univ-lemans.fr Fri Jul 16 14:52:53 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Fri, 16 Jul 2010 14:52:53 +0200 Subject: [scilab-Users] Difference between function return value and literal In-Reply-To: References: Message-ID: <20100716145253.103083hf8t048m5g@webmail1.univ-lemans.fr> Hello Peter, Peter von Niederhaeusern a ?crit?: > Hi all, > > This might be a silly question, but I don't get it: > > // 1. version > rows=myCell.dims(1); > disp(rows); // -> 2 > disp( [1:1:rows] ); // -> 1 2 > > // 2. version > _rows=2; > disp(_rows); // -> 2. > disp( [1:1:_rows] ); // 1. 2. > > What's the difference between the plain values (e.g. 2) of the return value > and the indexed values with dots (e.g. 2.)? The dims of a cell array are (weirdly...) coded as integers. There was recently a thread on Bugzilla about that: http://bugzilla.scilab.org/show_bug.cgi?id=7371 Numbers stored as integers are displayed without decimal point, while numbers (even without decimal part) stored as reals show the point: a=[ 1 2],typeof(a) i=uint8(a), typeof(i) Regards Samuel From Mike at Page-One.Waitrose.com Fri Jul 16 15:01:16 2010 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Fri, 16 Jul 2010 14:01:16 +0100 Subject: [scilab-Users] Difference between function return value and literal In-Reply-To: Message-ID: Hi Peter, The type of a dimension vector is int32. This shows as an integer type (no decimal point). You can convert it to double floating if you need to using: rows=myCell.dims(1); R=double(rows); disp(R); // -> 2. Usually this is not required, but I have found that I had to do exactly this in order to pass hypermatrix dimensions in to a C function, because the interface assumes double type. hth. Mike. -----Original Message----- From: Peter von Niederhaeusern [mailto:pvonnied at gmail.com] Sent: 16 July 2010 13:18 To: users Subject: [scilab-Users] Difference between function return value and literal Hi all, This might be a silly question, but I don't get it: // 1. version rows=myCell.dims(1); disp(rows); // -> 2 disp( [1:1:rows] ); // -> 1 2 // 2. version _rows=2; disp(_rows); // -> 2. disp( [1:1:_rows] ); // 1. 2. What's the difference between the plain values (e.g. 2) of the return value and the indexed values with dots (e.g. 2.)? I need to get the second version but dynamically (as in the first version) assigned (to read out some values from a cell)... Thx for a hint Peter No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.830 / Virus Database: 271.1.1/3005 - Release Date: 07/15/10 19:35:00 From pvonnied at gmail.com Fri Jul 16 15:05:38 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Fri, 16 Jul 2010 15:05:38 +0200 Subject: [scilab-Users] Difference between function return value and literal In-Reply-To: References: Message-ID: OK. That makes sense (should have come to my mind...it's just to hot in here ;-) ). Thank you all for the hints. On Fri, Jul 16, 2010 at 3:01 PM, Mike Page wrote: > Hi Peter, > > The type of a dimension vector is int32. ?This shows as an integer type (no > decimal point). ?You can convert it to double floating if you need to using: > > rows=myCell.dims(1); > R=double(rows); > disp(R); ?// -> 2. > > Usually this is not required, but I have found that I had to do exactly this > in order to pass hypermatrix dimensions in to a C function, because the > interface assumes double type. > > hth. > Mike. > > > -----Original Message----- > From: Peter von Niederhaeusern [mailto:pvonnied at gmail.com] > Sent: 16 July 2010 13:18 > To: users > Subject: [scilab-Users] Difference between function return value and > literal > > > Hi all, > > This might be a silly question, but I don't get it: > > // 1. version > rows=myCell.dims(1); > disp(rows); ?// -> 2 > disp( [1:1:rows] ); // -> 1 2 > > // 2. version > ?_rows=2; > ?disp(_rows); // -> 2. > ?disp( [1:1:_rows] ); // 1. 2. > > What's the difference between the plain values (e.g. 2) of the return value > and the indexed values with dots (e.g. 2.)? > > I need to get the second version but dynamically > (as in the first version) assigned (to read out some values from a cell)... > > Thx for a hint > Peter > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.830 / Virus Database: 271.1.1/3005 - Release Date: 07/15/10 > 19:35:00 > > From Samuel.Gougeon at univ-lemans.fr Fri Jul 16 15:31:02 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Fri, 16 Jul 2010 15:31:02 +0200 Subject: [scilab-Users] Difference between function return value and literal In-Reply-To: References: Message-ID: <20100716153102.20283bfzpmsh1tz4@webmail1.univ-lemans.fr> Mike Page a ?crit?: > The type of a dimension vector is int32. It depends on how dims are extracted: size(1:uint8(10)) // is real size(list("bsg",%pi,%z)) // is real s=struct();s(3,2).test="OK"; size(s) // is real.. s.dims,typeof(s.dims) // is int32 as you pointed out By the way, one could wonder why not uint32... Samuel From morrell at asu.edu Sat Jul 17 00:36:37 2010 From: morrell at asu.edu (Darryl Morrell) Date: Fri, 16 Jul 2010 15:36:37 -0700 Subject: Running Scilab 5.2.2 and Xcos from a USB stick Message-ID: I wish to run Scilab 5.2.2 and Xcos from a USB stick on windows XP professional. I was unable to find instructions to do this, so I simply copied the folder scilab-5.2.2 from the installation onto the USB stick. When I run Scilab from the USB stick, it starts up okay. I can start Xcos and create a simple simulation. However, when I run the simulation, nothing happens. When I try to quit Scilab, nothing happens. I eventually have to halt the program using the Task Manager. Are there instructions to run Scilab from a USB stick? I would greatly appreciate any help. Darryl Morrell -------------- next part -------------- An HTML attachment was scrubbed... URL: From carlassare at ciudad.com.ar Sat Jul 17 20:45:09 2010 From: carlassare at ciudad.com.ar (Carlos A. Carlassare) Date: Sat, 17 Jul 2010 15:45:09 -0300 Subject: Message when launching Scilab 5.2.2. Message-ID: <4C41FA35.8070303@ciudad.com.ar> Dear team: When launching the Scilab 5.2.2 after loading the start environment the following message appears: "atomsLoad: The file 'C:\ARCHIV~1\SCILAB~1.2\contrib\conmin\2.1\loader.sce' doesn't exist or is not read accessible." Will appreciate your helping in understanding what should I do to fix this apparent problem. Thank you in advance. Best regards, Carlos From sylvestre.ledru at scilab.org Sun Jul 18 06:39:05 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Sun, 18 Jul 2010 06:39:05 +0200 Subject: [scilab-Users] ilib_build: is it possible to include a dll in libs? In-Reply-To: <4C3EBAA3.6010004@free.fr> References: <4C3D8B27.3070505@free.fr> <000901cb23e4$6ea4c980$4bee5c80$@cornet@scilab.org> <4C3EBAA3.6010004@free.fr> Message-ID: <1279427945.9774.2583.camel@zlarin> Le jeudi 15 juillet 2010 ? 09:37 +0200, alain a ?crit : > Hi, > > Thanks very much for your answer, it gives me ideas! > In fact, there was a .lib given with the dll I was trying to link to... > My real problem was that I tried to link a msvc .lib to scilab with lcc... > I had a look to your script modules/dynamic_link/macros/VCtoLCCLib.sce, > and it gave me the solution, pedump and buildlib... > > My module does work! > > Well, when possible, I think it's better to use scilab_api, it's quite > simple and works fine. You should use api_scilab in any case ;) This API will be maintained in the long term while old stack*h will be dropped in the family 6. If you find some missing functions in api_scilab, please let us now. Sylvestre From jordan.mymail at gmail.com Mon Jul 19 04:27:11 2010 From: jordan.mymail at gmail.com (Michael) Date: Sun, 18 Jul 2010 22:27:11 -0400 Subject: CSCOPE usage Message-ID: <201007182227.11852.jordan.mymail@gmail.com> Hello, I am learning scilab/xcos and I am currently examining the demos that are provided. As an example of my question, in the "Basic Controller" demo a CSCOPE is used which has a single input. But when I execute the demo it appears that I have 3 separate traces. What am I looking at here? Where do the other two traces come from? Thank you, Michael From end48war at yahoo.fr Mon Jul 19 08:20:45 2010 From: end48war at yahoo.fr (azerty azerty) Date: Mon, 19 Jul 2010 06:20:45 +0000 (GMT) Subject: [scilab-Users] Pb with C function linking In-Reply-To: <001201cb24b4$6225d1b0$26717510$@cornet@scilab.org> References: <39696.58853.qm@web25802.mail.ukl.yahoo.com> <001201cb24b4$6225d1b0$26717510$@cornet@scilab.org> Message-ID: <272563.22248.qm@web25807.mail.ukl.yahoo.com> Hi, Thank you for your answer. It actually allowed me to clarify a little bit my problem. It seems that the compiler can't find a "windows.h" file. This file is not included in the file I try to compile but is added by the make file generated by Scilab. This missing file is installed on my computer (it is part of the windows SDK). Does someone know how to indicate to the compiler where to find this .h file? I tried to copy this window.h file in the working directory, but another .h is missing anyway. Is there a special order to install the compiler,windows sdk and scilab? Thank you by advance for your help, Benoit ________________________________ De : Allan CORNET ? : users at lists.scilab.org Envoy? le : Ven 16 juillet 2010, 8h 59min 06s Objet : RE: [scilab-Users] Pb with C function linking Hi, See help ilib_verbose you can also start a shell session for scilab: // do first your ilib_build command dos start it will start a command line session and in this shell session, type : nmake /f makelib.mak you will have more information about your trouble see also: http://wiki.scilab.org/How_to_debug_an_external_source_code_linked_to_scilab_with_Visual_Studio Allan CORNET De :azerty azerty [mailto:end48war at yahoo.fr] Envoy? : vendredi 16 juillet 2010 08:46 ? : users at lists.scilab.org Objet : [scilab-Users] Pb with C function linking Hello, I'm trying to compile and link a C function with Scilab. When I use the scilab function ilib_build, I've got the following error message : NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"'?: code retour '0x2' I'm using Scilab 5.3.0 beta 1 and Visual Studio Express 2010. I can't solve the problem which happens with any C function I tried with (even with the examples provided with Scilab). If anybody has an idea of what my problem is, I would be really greatfull. Best regards, Benoit -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerome.picard at scilab.org Mon Jul 19 09:11:01 2010 From: jerome.picard at scilab.org (Jerome PICARD) Date: Mon, 19 Jul 2010 09:11:01 +0200 Subject: [scilab-Users] CSCOPE usage In-Reply-To: <201007182227.11852.jordan.mymail@gmail.com> References: <201007182227.11852.jordan.mymail@gmail.com> Message-ID: <4C43FA85.3050907@scilab.org> Hello, The block CSCOPE receives one input, but this input can be a vector. In this case, every line of the vector is plotted. In the basic controller demo, this block receives a vector of length 3. If you look at the random generator of the demo, you can see the matrices A and B are vectors of length 3 : A = zeros(3,1) B = 0.1*ones(3,1) Best regards J?r?me Le 19/07/2010 04:27, Michael a ?crit : > Hello, > > I am learning scilab/xcos and I am currently examining the demos that are > provided. As an example of my question, in the "Basic Controller" demo a > CSCOPE is used which has a single input. But when I execute the demo it > appears that I have 3 separate traces. > > What am I looking at here? Where do the other two traces come from? > > Thank you, > > Michael > -- J?r?me Picard Ing?nieur de d?veloppement ------------------------- Consortium Scilab Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex T?l. : 01.39.63.55.91 From michael.baudin at scilab.org Mon Jul 19 11:11:57 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Mon, 19 Jul 2010 11:11:57 +0200 Subject: [scilab-Users] Message when launching Scilab 5.2.2. In-Reply-To: <4C41FA35.8070303@ciudad.com.ar> References: <4C41FA35.8070303@ciudad.com.ar> Message-ID: <4C4416DD.7020708@scilab.org> Hi, I guess that you have installed the conmin module from atoms and removed the directory containing the files. You may put back the files in place, or completely remove the module from atoms. What happens if you launch : atomsRemove("conmin") Best regards, Micha?l Carlos A. Carlassare a ?crit : > Dear team: > When launching the Scilab 5.2.2 after loading the start environment > the following message appears: > > "atomsLoad: The file > 'C:\ARCHIV~1\SCILAB~1.2\contrib\conmin\2.1\loader.sce' doesn't exist > or is not read accessible." > > Will appreciate your helping in understanding what should I do to fix > this apparent problem. > Thank you in advance. Best regards, > Carlos -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From jordan.mymail at gmail.com Mon Jul 19 20:38:30 2010 From: jordan.mymail at gmail.com (Michael) Date: Mon, 19 Jul 2010 14:38:30 -0400 Subject: ATOMS Module manager broken? Message-ID: <201007191438.30649.jordan.mymail@gmail.com> I am using 5.2.2 binary on linux 32 bit artichecture. When executing the Applications->Module manager ATOMS menu item, I get a dialog which states "No Atoms module is available. Please, check your Internet connection." Quite obviously, as I am sending this mail from the same machine, my Internet connection is functioning properly. In the scilab console the following output is shown: atomsDownload: The following file hasn't been downloaded: - URL : 'http://atoms.scilab.org/TOOLBOXES/32/linux.gz' - Local location : '/tmp/SD_27790_/.atoms/TOOLBOXES.gz' Just for the sake of experimentation I pointed my browser to http://atoms.scilab.org/TOOLBOXES/32 and I received a blank page. I didn't see any sign of linux.gz. Is this a feature that is broken or am I doing something incorrectly? Thanks, Michael From geraldonetto at gmail.com Mon Jul 19 20:47:41 2010 From: geraldonetto at gmail.com (Geraldo Netto) Date: Mon, 19 Jul 2010 15:47:41 -0300 Subject: [scilab-Users] ATOMS Module manager broken? In-Reply-To: <201007191438.30649.jordan.mymail@gmail.com> References: <201007191438.30649.jordan.mymail@gmail.com> Message-ID: Hi! if you try: wget http://atoms.scilab.org/TOOLBOXES/32/linux.gz it works... maybe you have some proxy issue(?) Geraldo Non dvcor, dvco => Sapere Aude S?o Paulo, Brasil, -3gmt site: http://exdev.sf.net/ On 19 July 2010 15:38, Michael wrote: > I am using 5.2.2 binary on linux 32 bit artichecture. ?When executing the > Applications->Module manager ATOMS menu item, I get a dialog which states "No > Atoms module is available. Please, check your Internet connection." > > Quite obviously, as I am sending this mail from the same machine, my Internet > connection is functioning properly. > > In the scilab console the following output is shown: > > atomsDownload: The following file hasn't been downloaded: > ? ? ? ? - URL ? ? ? ? ? ?: 'http://atoms.scilab.org/TOOLBOXES/32/linux.gz' > ? ? ? ? - Local location : '/tmp/SD_27790_/.atoms/TOOLBOXES.gz' > > Just for the sake of experimentation I pointed my browser to > http://atoms.scilab.org/TOOLBOXES/32 and I received a blank page. ?I didn't > see any sign of linux.gz. > > Is this a feature that is broken or am I doing something incorrectly? > > Thanks, > > Michael > From jordan.mymail at gmail.com Mon Jul 19 21:04:51 2010 From: jordan.mymail at gmail.com (Michael) Date: Mon, 19 Jul 2010 15:04:51 -0400 Subject: [scilab-Users] ATOMS Module manager broken? In-Reply-To: References: <201007191438.30649.jordan.mymail@gmail.com> Message-ID: <201007191504.51731.jordan.mymail@gmail.com> > Hi! > > if you try: > > wget http://atoms.scilab.org/TOOLBOXES/32/linux.gz > > it works... > > maybe you have some proxy issue(?) > > Geraldo > Non dvcor, dvco => Sapere Aude > S?o Paulo, Brasil, -3gmt > site: http://exdev.sf.net/ > > On 19 July 2010 15:38, Michael wrote: > > I am using 5.2.2 binary on linux 32 bit artichecture. When executing the > > Applications->Module manager ATOMS menu item, I get a dialog which states "No > > Atoms module is available. Please, check your Internet connection." > > > > Quite obviously, as I am sending this mail from the same machine, my Internet > > connection is functioning properly. > > > > In the scilab console the following output is shown: > > > > atomsDownload: The following file hasn't been downloaded: > > - URL : 'http://atoms.scilab.org/TOOLBOXES/32/linux.gz' > > - Local location : '/tmp/SD_27790_/.atoms/TOOLBOXES.gz' > > > > Just for the sake of experimentation I pointed my browser to > > http://atoms.scilab.org/TOOLBOXES/32 and I received a blank page. I didn't > > see any sign of linux.gz. > > > > Is this a feature that is broken or am I doing something incorrectly? > > > > Thanks, > > > > Michael > > > Yes, if I use wget I am able to retrieve the linux.gz file into the directory /tmp/SD_27790_/.atoms/ - manually Would anyone have any further ideas on which direction to look to allow me to diagnose why I cannot retrieve toolboxes from scilab? Thanks, Michael From pvonnied at gmail.com Tue Jul 20 09:26:47 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Tue, 20 Jul 2010 09:26:47 +0200 Subject: Suppress per page output on console Message-ID: Hi all, Is there a way to circumvent Scilab's "per page output" (without going thru "[Continue display? ...")? I'd like to have (for some tests) the same behavior as in Matlab, where big matrices get printed onto the console until the last row/column, independent of their size. Thank you for your support. Peter From Mike at Page-One.Waitrose.com Tue Jul 20 09:38:27 2010 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Tue, 20 Jul 2010 08:38:27 +0100 Subject: [scilab-Users] Suppress per page output on console In-Reply-To: Message-ID: Hi Peter, lines(0) does what you want, I think. Mike. -----Original Message----- From: Peter von Niederhaeusern [mailto:pvonnied at gmail.com] Sent: 20 July 2010 08:27 To: users Subject: [scilab-Users] Suppress per page output on console Hi all, Is there a way to circumvent Scilab's "per page output" (without going thru "[Continue display? ...")? I'd like to have (for some tests) the same behavior as in Matlab, where big matrices get printed onto the console until the last row/column, independent of their size. Thank you for your support. Peter No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.839 / Virus Database: 271.1.1/3015 - Release Date: 07/19/10 07:36:00 From pvonnied at gmail.com Tue Jul 20 09:52:32 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Tue, 20 Jul 2010 09:52:32 +0200 Subject: [scilab-Users] Suppress per page output on console In-Reply-To: References: Message-ID: Thank's Mike! That does it. The only problem: the console freezes while pumping out the output :-/ Peter On Tue, Jul 20, 2010 at 9:38 AM, Mike Page wrote: > Hi Peter, > > lines(0) does what you want, I think. > > Mike. > > > -----Original Message----- > From: Peter von Niederhaeusern [mailto:pvonnied at gmail.com] > Sent: 20 July 2010 08:27 > To: users > Subject: [scilab-Users] Suppress per page output on console > > > Hi all, > > Is there a way to circumvent Scilab's "per page output" (without going > thru "[Continue display? ...")? > > I'd like to have (for some tests) the same behavior as in Matlab, > where big matrices get printed > onto the console until the last row/column, independent of their size. > > Thank you for your support. > Peter > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.839 / Virus Database: 271.1.1/3015 - Release Date: 07/19/10 > 07:36:00 > > From paul.carrico at free.fr Tue Jul 20 19:54:48 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 20 Jul 2010 19:54:48 +0200 (CEST) Subject: basic information Message-ID: <852687421.3367901279648488790.JavaMail.root@zimbra26-e5.priv.proxad.net> All, I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. ... so what can I do ? regards Paul From calixte.denizet at ac-rennes.fr Tue Jul 20 20:00:27 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Tue, 20 Jul 2010 20:00:27 +0200 Subject: [scilab-Users] basic information In-Reply-To: <852687421.3367901279648488790.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <852687421.3367901279648488790.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1279648827.2267.111.camel@calixte-laptop> Hi Paul, Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > All, > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > Could you be more explicit about the parenthesis management ? I don't understand what you mean. > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > ... so what can I do ? > > regards > Calixte > Paul > From paul.carrico at free.fr Tue Jul 20 20:12:13 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 20 Jul 2010 20:12:13 +0200 (CEST) Subject: [scilab-Users] basic information In-Reply-To: <1279648827.2267.111.camel@calixte-laptop> Message-ID: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> let me writing first in french and I'll translate it afterward French : lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue English When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error To make a parallele : it's the case with emacs for example (if I well remember) >From my point of view, it's a very usefull tool I hope I'm clear enough regards Paul ----- Mail Original ----- De: "calixte" ?: users at lists.scilab.org Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] basic information Hi Paul, Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > All, > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > Could you be more explicit about the parenthesis management ? I don't understand what you mean. > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > ... so what can I do ? > > regards > Calixte > Paul > From calixte.denizet at ac-rennes.fr Tue Jul 20 20:45:30 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Tue, 20 Jul 2010 20:45:30 +0200 Subject: [scilab-Users] basic information In-Reply-To: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1279651530.2267.134.camel@calixte-laptop> Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > let me writing first in french and I'll translate it afterward > > French : > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > French too: i) Actuellement qd une parenthese ouvrante est entree sa "soeur" fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du premier menu de "Outils". ii) Sinon a propos de la surbrillance, elle existe : il suffit de promener le curseur ou bien le pointeur de la souris pres des parentheses (ou bien des mots cles du genre function/endfunction ou for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > English > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > To make a parallele : it's the case with emacs for example (if I well remember) > > From my point of view, it's a very usefull tool > i) Actually when an opening parenthesis is typed, the closing one is automatically added, this behaviour can be activate or not with the first menu of "Tools". ii) About the highlighting, it exists. You just have to put the cursor or the mouse pointer near a parenthesis (or near the keywords such as function/endfunciton or for/end and in these cases, the text between these keywords is highlighted). > > I hope I'm clear enough > Calixte > regards > > Paul > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Hi Paul, > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > All, > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > Could you be more explicit about the parenthesis management ? I don't > understand what you mean. > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > ... so what can I do ? > > > > regards > > > > Calixte > > > Paul > > > > From paul.carrico at free.fr Tue Jul 20 22:13:18 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 20 Jul 2010 22:13:18 +0200 (CEST) Subject: [scilab-Users] basic information In-Reply-To: <200191719.3377931279656490232.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1142963204.3378051279656793336.JavaMail.root@zimbra26-e5.priv.proxad.net> great new ... ... however I can't find neither a tool icon nor a tool menu (maybe i'm stupid) ... please have a look in the screenshot (atteched document). However thanks for your help and advices Paul PS : I'm under ubunto 10.04 ----- Mail Original ----- De: "calixte" ?: users at lists.scilab.org Envoy?: Mardi 20 Juillet 2010 20h45:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] basic information Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > let me writing first in french and I'll translate it afterward > > French : > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > French too: i) Actuellement qd une parenthese ouvrante est entree sa "soeur" fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du premier menu de "Outils". ii) Sinon a propos de la surbrillance, elle existe : il suffit de promener le curseur ou bien le pointeur de la souris pres des parentheses (ou bien des mots cles du genre function/endfunction ou for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > English > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > To make a parallele : it's the case with emacs for example (if I well remember) > > From my point of view, it's a very usefull tool > i) Actually when an opening parenthesis is typed, the closing one is automatically added, this behaviour can be activate or not with the first menu of "Tools". ii) About the highlighting, it exists. You just have to put the cursor or the mouse pointer near a parenthesis (or near the keywords such as function/endfunciton or for/end and in these cases, the text between these keywords is highlighted). > > I hope I'm clear enough > Calixte > regards > > Paul > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Hi Paul, > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > All, > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > Could you be more explicit about the parenthesis management ? I don't > understand what you mean. > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > ... so what can I do ? > > > > regards > > > > Calixte > > > Paul > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.png Type: image/png Size: 537010 bytes Desc: not available URL: From paul.carrico at free.fr Tue Jul 20 22:14:27 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 20 Jul 2010 22:14:27 +0200 (CEST) Subject: [scilab-Users] basic information In-Reply-To: <200191719.3377931279656490232.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1277616775.3378541279656867923.JavaMail.root@zimbra26-e5.priv.proxad.net> great new ... ... however I can't find neither a tool icon nor a tool menu (maybe i'm stupid) ... please have a look in the screenshot (atteched document). However thanks for your help and advices Paul PS : I'm under ubunto 10.04 ----- Mail Original ----- De: "calixte" ?: users at lists.scilab.org Envoy?: Mardi 20 Juillet 2010 20h45:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] basic information Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > let me writing first in french and I'll translate it afterward > > French : > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > French too: i) Actuellement qd une parenthese ouvrante est entree sa "soeur" fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du premier menu de "Outils". ii) Sinon a propos de la surbrillance, elle existe : il suffit de promener le curseur ou bien le pointeur de la souris pres des parentheses (ou bien des mots cles du genre function/endfunction ou for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > English > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > To make a parallele : it's the case with emacs for example (if I well remember) > > From my point of view, it's a very usefull tool > i) Actually when an opening parenthesis is typed, the closing one is automatically added, this behaviour can be activate or not with the first menu of "Tools". ii) About the highlighting, it exists. You just have to put the cursor or the mouse pointer near a parenthesis (or near the keywords such as function/endfunciton or for/end and in these cases, the text between these keywords is highlighted). > > I hope I'm clear enough > Calixte > regards > > Paul > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Hi Paul, > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > All, > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > Could you be more explicit about the parenthesis management ? I don't > understand what you mean. > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > ... so what can I do ? > > > > regards > > > > Calixte > > > Paul > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: screenshot.png Type: image/png Size: 537010 bytes Desc: not available URL: From calixte.denizet at ac-rennes.fr Tue Jul 20 22:40:03 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Tue, 20 Jul 2010 22:40:03 +0200 Subject: [scilab-Users] basic information In-Reply-To: <1142963204.3378051279656793336.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <1142963204.3378051279656793336.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1279658403.2267.149.camel@calixte-laptop> Le mardi 20 juillet 2010 ? 22:13 +0200, paul.carrico at free.fr a ?crit : > great new ... > > ... however I can't find neither a tool icon nor a tool menu (maybe i'm stupid) ... please have a look in the screenshot (atteched document). > > However thanks for your help and advices > There is a problem with the menu "Tools" on your computer :( I use an Ubuntu 9.04 and as you can see on the screenshot, the menu is here ! Could you make a bug report, please ? Calixte > Paul > > PS : I'm under ubunto 10.04 > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 20h45:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > let me writing first in french and I'll translate it afterward > > > > French : > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > > > > French too: > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > premier menu de "Outils". > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > promener le curseur ou bien le pointeur de la souris pres des > parentheses (ou bien des mots cles du genre function/endfunction ou > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > English > > > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > > > To make a parallele : it's the case with emacs for example (if I well remember) > > > > From my point of view, it's a very usefull tool > > > > i) Actually when an opening parenthesis is typed, the closing one is > automatically added, this behaviour can be activate or not with the > first menu of "Tools". > ii) About the highlighting, it exists. You just have to put the cursor > or the mouse pointer near a parenthesis (or near the keywords such as > function/endfunciton or for/end and in these cases, the text between > these keywords is highlighted). > > > > > I hope I'm clear enough > > > > Calixte > > > regards > > > > Paul > > > > > > ----- Mail Original ----- > > De: "calixte" > > ?: users at lists.scilab.org > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > Objet: Re: [scilab-Users] basic information > > > > Hi Paul, > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > All, > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > understand what you mean. > > > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > > > ... so what can I do ? > > > > > > regards > > > > > > > Calixte > > > > > Paul > > > > > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture.png Type: image/png Size: 822853 bytes Desc: not available URL: From jordan.mymail at gmail.com Tue Jul 20 22:47:01 2010 From: jordan.mymail at gmail.com (Michael) Date: Tue, 20 Jul 2010 16:47:01 -0400 Subject: [scilab-Users] ATOMS Module manager broken? In-Reply-To: References: <201007191438.30649.jordan.mymail@gmail.com> Message-ID: <201007201647.01479.jordan.mymail@gmail.com> Thank you for your reply Geraldo. I don't usually top-post, but my other reply and subsequent request for help seemed to go unnoticed, so here goes . . . I have verified that wget is, in fact, able to retrieve the file linux.gz if I execute this process manually from a command shell. But scilab is still unable to retrieve this package for ATOMS management. Any ideas as to where to look in order to resolve this issue in scilab? Thanks, Michael > Hi! > > if you try: > > wget http://atoms.scilab.org/TOOLBOXES/32/linux.gz > > it works... > > maybe you have some proxy issue(?) > > Geraldo > Non dvcor, dvco => Sapere Aude > S?o Paulo, Brasil, -3gmt > site: http://exdev.sf.net/ > > On 19 July 2010 15:38, Michael wrote: > > I am using 5.2.2 binary on linux 32 bit artichecture. When executing the > > Applications->Module manager ATOMS menu item, I get a dialog which states "No > > Atoms module is available. Please, check your Internet connection." > > > > Quite obviously, as I am sending this mail from the same machine, my Internet > > connection is functioning properly. > > > > In the scilab console the following output is shown: > > > > atomsDownload: The following file hasn't been downloaded: > > - URL : 'http://atoms.scilab.org/TOOLBOXES/32/linux.gz' > > - Local location : '/tmp/SD_27790_/.atoms/TOOLBOXES.gz' > > > > Just for the sake of experimentation I pointed my browser to > > http://atoms.scilab.org/TOOLBOXES/32 and I received a blank page. I didn't > > see any sign of linux.gz. > > > > Is this a feature that is broken or am I doing something incorrectly? > > > > Thanks, > > > > Michael > > > From paul.carrico at free.fr Tue Jul 20 23:13:23 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Tue, 20 Jul 2010 23:13:23 +0200 (CEST) Subject: [scilab-Users] basic information In-Reply-To: <1279658403.2267.149.camel@calixte-laptop> Message-ID: <768457839.3385551279660403812.JavaMail.root@zimbra26-e5.priv.proxad.net> the bug report was done regards Paul ps : how can i supress the line print in the console (see left window in my screenshot) while a ";" exists ? ----- Mail Original ----- De: "calixte" ?: users at lists.scilab.org Envoy?: Mardi 20 Juillet 2010 22h40:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] basic information Le mardi 20 juillet 2010 ? 22:13 +0200, paul.carrico at free.fr a ?crit : > great new ... > > ... however I can't find neither a tool icon nor a tool menu (maybe i'm stupid) ... please have a look in the screenshot (atteched document). > > However thanks for your help and advices > There is a problem with the menu "Tools" on your computer :( I use an Ubuntu 9.04 and as you can see on the screenshot, the menu is here ! Could you make a bug report, please ? Calixte > Paul > > PS : I'm under ubunto 10.04 > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 20h45:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > let me writing first in french and I'll translate it afterward > > > > French : > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > > > > French too: > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > premier menu de "Outils". > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > promener le curseur ou bien le pointeur de la souris pres des > parentheses (ou bien des mots cles du genre function/endfunction ou > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > English > > > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > > > To make a parallele : it's the case with emacs for example (if I well remember) > > > > From my point of view, it's a very usefull tool > > > > i) Actually when an opening parenthesis is typed, the closing one is > automatically added, this behaviour can be activate or not with the > first menu of "Tools". > ii) About the highlighting, it exists. You just have to put the cursor > or the mouse pointer near a parenthesis (or near the keywords such as > function/endfunciton or for/end and in these cases, the text between > these keywords is highlighted). > > > > > I hope I'm clear enough > > > > Calixte > > > regards > > > > Paul > > > > > > ----- Mail Original ----- > > De: "calixte" > > ?: users at lists.scilab.org > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > Objet: Re: [scilab-Users] basic information > > > > Hi Paul, > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > All, > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > understand what you mean. > > > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > > > ... so what can I do ? > > > > > > regards > > > > > > > Calixte > > > > > Paul > > > > > > > > > From calixte.denizet at ac-rennes.fr Tue Jul 20 23:17:25 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Tue, 20 Jul 2010 23:17:25 +0200 Subject: [scilab-Users] basic information In-Reply-To: <768457839.3385551279660403812.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <768457839.3385551279660403812.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1279660645.2267.152.camel@calixte-laptop> Le mardi 20 juillet 2010 ? 23:13 +0200, paul.carrico at free.fr a ?crit : > the bug report was done > In reading your bug report I understood the problem you have : you use the 5.2.2 version. The new editor SciNotes (which a complete refactorization of the previous one) is available only in this version. I advise you to download it. (I thought you were talking about this version) Calixte > regards > > Paul > > ps : how can i supress the line print in the console (see left window in my screenshot) while a ";" exists ? > > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 22h40:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Le mardi 20 juillet 2010 ? 22:13 +0200, paul.carrico at free.fr a ?crit : > > great new ... > > > > ... however I can't find neither a tool icon nor a tool menu (maybe i'm stupid) ... please have a look in the screenshot (atteched document). > > > > However thanks for your help and advices > > > > There is a problem with the menu "Tools" on your computer :( > I use an Ubuntu 9.04 and as you can see on the screenshot, the menu is > here ! Could you make a bug report, please ? > > Calixte > > > > Paul > > > > PS : I'm under ubunto 10.04 > > > > > > ----- Mail Original ----- > > De: "calixte" > > ?: users at lists.scilab.org > > Envoy?: Mardi 20 Juillet 2010 20h45:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > Objet: Re: [scilab-Users] basic information > > > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > > let me writing first in french and I'll translate it afterward > > > > > > French : > > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > > > > > > > French too: > > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > > premier menu de "Outils". > > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > > promener le curseur ou bien le pointeur de la souris pres des > > parentheses (ou bien des mots cles du genre function/endfunction ou > > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > > > > English > > > > > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > > > > > To make a parallele : it's the case with emacs for example (if I well remember) > > > > > > From my point of view, it's a very usefull tool > > > > > > > i) Actually when an opening parenthesis is typed, the closing one is > > automatically added, this behaviour can be activate or not with the > > first menu of "Tools". > > ii) About the highlighting, it exists. You just have to put the cursor > > or the mouse pointer near a parenthesis (or near the keywords such as > > function/endfunciton or for/end and in these cases, the text between > > these keywords is highlighted). > > > > > > > > I hope I'm clear enough > > > > > > > Calixte > > > > > regards > > > > > > Paul > > > > > > > > > ----- Mail Original ----- > > > De: "calixte" > > > ?: users at lists.scilab.org > > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > > Objet: Re: [scilab-Users] basic information > > > > > > Hi Paul, > > > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > > All, > > > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > > understand what you mean. > > > > > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > > > > > ... so what can I do ? > > > > > > > > regards > > > > > > > > > > Calixte > > > > > > > Paul > > > > > > > > > > > > > > > From calixte.denizet at ac-rennes.fr Tue Jul 20 23:34:17 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Tue, 20 Jul 2010 23:34:17 +0200 Subject: [scilab-Users] basic information In-Reply-To: <1279660645.2267.152.camel@calixte-laptop> References: <768457839.3385551279660403812.JavaMail.root@zimbra26-e5.priv.proxad.net> <1279660645.2267.152.camel@calixte-laptop> Message-ID: <1279661657.2267.154.camel@calixte-laptop> Le mardi 20 juillet 2010 ? 23:17 +0200, calixte a ?crit : > Le mardi 20 juillet 2010 ? 23:13 +0200, paul.carrico at free.fr a ?crit : > > the bug report was done > > > > In reading your bug report I understood the problem you have : you use > the 5.2.2 version. > > The new editor SciNotes (which a complete refactorization of the > previous one) is available only in this version. > The new editor SciNotes is only available in the version 5.3.0 beta-1 : http://www.scilab.org/products/scilab/download/5.3.0-beta-1 Sorry for the mistake... > I advise you to download it. (I thought you were talking about this > version) > Calixte > Calixte > > > regards > > > > Paul > > > > ps : how can i supress the line print in the console (see left window in my screenshot) while a ";" exists ? > > > > > > > > ----- Mail Original ----- > > De: "calixte" > > ?: users at lists.scilab.org > > Envoy?: Mardi 20 Juillet 2010 22h40:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > Objet: Re: [scilab-Users] basic information > > > > Le mardi 20 juillet 2010 ? 22:13 +0200, paul.carrico at free.fr a ?crit : > > > great new ... > > > > > > ... however I can't find neither a tool icon nor a tool menu (maybe i'm stupid) ... please have a look in the screenshot (atteched document). > > > > > > However thanks for your help and advices > > > > > > > There is a problem with the menu "Tools" on your computer :( > > I use an Ubuntu 9.04 and as you can see on the screenshot, the menu is > > here ! Could you make a bug report, please ? > > > > Calixte > > > > > > > Paul > > > > > > PS : I'm under ubunto 10.04 > > > > > > > > > ----- Mail Original ----- > > > De: "calixte" > > > ?: users at lists.scilab.org > > > Envoy?: Mardi 20 Juillet 2010 20h45:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > > Objet: Re: [scilab-Users] basic information > > > > > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > > > let me writing first in french and I'll translate it afterward > > > > > > > > French : > > > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > > > > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > > > > > > > > > > French too: > > > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > > > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > > > premier menu de "Outils". > > > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > > > promener le curseur ou bien le pointeur de la souris pres des > > > parentheses (ou bien des mots cles du genre function/endfunction ou > > > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > > > > > > > English > > > > > > > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > > > > > > > To make a parallele : it's the case with emacs for example (if I well remember) > > > > > > > > From my point of view, it's a very usefull tool > > > > > > > > > > i) Actually when an opening parenthesis is typed, the closing one is > > > automatically added, this behaviour can be activate or not with the > > > first menu of "Tools". > > > ii) About the highlighting, it exists. You just have to put the cursor > > > or the mouse pointer near a parenthesis (or near the keywords such as > > > function/endfunciton or for/end and in these cases, the text between > > > these keywords is highlighted). > > > > > > > > > > > I hope I'm clear enough > > > > > > > > > > Calixte > > > > > > > regards > > > > > > > > Paul > > > > > > > > > > > > ----- Mail Original ----- > > > > De: "calixte" > > > > ?: users at lists.scilab.org > > > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > > > Objet: Re: [scilab-Users] basic information > > > > > > > > Hi Paul, > > > > > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > > > All, > > > > > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > > > understand what you mean. > > > > > > > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > > > > > > > ... so what can I do ? > > > > > > > > > > regards > > > > > > > > > > > > > Calixte > > > > > > > > > Paul > > > > > > > > > > > > > > > > > > > > > > > From mig.m.p at hotmail.com Tue Jul 20 23:37:39 2010 From: mig.m.p at hotmail.com (Miguel Moura Paredes) Date: Tue, 20 Jul 2010 22:37:39 +0100 Subject: Scilab Language Message-ID: Greetings Scilab Team First of all, let me congratulate you fior the development of such an extraordinary software, which is gaining more and more supporters each and has certainly gained mine. Here is my question. When I download Scilab for windows, I can choose the language and I choose English. But when I am working with Linux (Ubuntu), since I am Portuguese, I use the Portuguese language definitons for Ubuntu. When I try to install Scilab in Linux, it is allways installed in Portuguese (Brazillian) but I want to install it in English, because i don't like the brazillian version. How can I do that? Keep up the good work. Best Regards. -------------------- Miguel Moura Paredes mig.m.p at hotmail.com -------------------- _________________________________________________________________ Correio Electr?nico e Muito Mais Enquanto Viaja. Obtenha o Windows Live Hotmail Gratuito. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Wed Jul 21 07:20:25 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Wed, 21 Jul 2010 07:20:25 +0200 (CEST) Subject: [scilab-Users] basic information In-Reply-To: <907644035.3394171279689571857.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <370062679.3394191279689625735.JavaMail.root@zimbra26-e5.priv.proxad.net> I'm responsible as well since i don't very i was using the latest release ... Please note in the Scilab website (download page) the beta release is not seen (http://www.scilab.org/products/scilab/download) However I join the users team ... great soft Paul ----- Mail Original ----- De: "calixte" ?: users at lists.scilab.org Envoy?: Mardi 20 Juillet 2010 23h34:17 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] basic information Le mardi 20 juillet 2010 ? 23:17 +0200, calixte a ?crit : > Le mardi 20 juillet 2010 ? 23:13 +0200, paul.carrico at free.fr a ?crit : > > the bug report was done > > > > In reading your bug report I understood the problem you have : you use > the 5.2.2 version. > > The new editor SciNotes (which a complete refactorization of the > previous one) is available only in this version. > The new editor SciNotes is only available in the version 5.3.0 beta-1 : http://www.scilab.org/products/scilab/download/5.3.0-beta-1 Sorry for the mistake... > I advise you to download it. (I thought you were talking about this > version) > Calixte > Calixte > > > regards > > > > Paul > > > > ps : how can i supress the line print in the console (see left window in my screenshot) while a ";" exists ? > > > > > > > > ----- Mail Original ----- > > De: "calixte" > > ?: users at lists.scilab.org > > Envoy?: Mardi 20 Juillet 2010 22h40:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > Objet: Re: [scilab-Users] basic information > > > > Le mardi 20 juillet 2010 ? 22:13 +0200, paul.carrico at free.fr a ?crit : > > > great new ... > > > > > > ... however I can't find neither a tool icon nor a tool menu (maybe i'm stupid) ... please have a look in the screenshot (atteched document). > > > > > > However thanks for your help and advices > > > > > > > There is a problem with the menu "Tools" on your computer :( > > I use an Ubuntu 9.04 and as you can see on the screenshot, the menu is > > here ! Could you make a bug report, please ? > > > > Calixte > > > > > > > Paul > > > > > > PS : I'm under ubunto 10.04 > > > > > > > > > ----- Mail Original ----- > > > De: "calixte" > > > ?: users at lists.scilab.org > > > Envoy?: Mardi 20 Juillet 2010 20h45:30 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > > Objet: Re: [scilab-Users] basic information > > > > > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > > > let me writing first in french and I'll translate it afterward > > > > > > > > French : > > > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se "soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) ... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait pas d'erreur > > > > > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des parenth?se est un "outil" tr?s utile de mon point de vue > > > > > > > > > > French too: > > > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > > > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > > > premier menu de "Outils". > > > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > > > promener le curseur ou bien le pointeur de la souris pres des > > > parentheses (ou bien des mots cles du genre function/endfunction ou > > > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > > > > > > > English > > > > > > > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" parenthesis was highlighted and it was easy to verify the right number of parenthesis (lack or too numbered parenthesis) ... with the current release I've to count the parenthesis to be sure I've no error > > > > > > > > To make a parallele : it's the case with emacs for example (if I well remember) > > > > > > > > From my point of view, it's a very usefull tool > > > > > > > > > > i) Actually when an opening parenthesis is typed, the closing one is > > > automatically added, this behaviour can be activate or not with the > > > first menu of "Tools". > > > ii) About the highlighting, it exists. You just have to put the cursor > > > or the mouse pointer near a parenthesis (or near the keywords such as > > > function/endfunciton or for/end and in these cases, the text between > > > these keywords is highlighted). > > > > > > > > > > > I hope I'm clear enough > > > > > > > > > > Calixte > > > > > > > regards > > > > > > > > Paul > > > > > > > > > > > > ----- Mail Original ----- > > > > De: "calixte" > > > > ?: users at lists.scilab.org > > > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > > > > Objet: Re: [scilab-Users] basic information > > > > > > > > Hi Paul, > > > > > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > > > All, > > > > > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > > > understand what you mean. > > > > > > > > > I've here a basic question regarding the Scilab console : In previous releases and when i add a ";" at the end of the line, the line didn't appear in the console / today it's not the case with the beta release and it is a bit irritating especially when i want to focuss on the results of what i'm codding .. > > > > > > > > > > ... so what can I do ? > > > > > > > > > > regards > > > > > > > > > > > > > Calixte > > > > > > > > > Paul > > > > > > > > > > > > > > > > > > > > > > > From CTrautmann at manz-automation.com Tue Jul 20 16:09:02 2010 From: CTrautmann at manz-automation.com (Clemens Trautmann) Date: Tue, 20 Jul 2010 16:09:02 +0200 Subject: Problems with Javasci Message-ID: Hello, I got some problems, when I wanted to use the Javasci-class. I tried to run Example3 (downloaded at scilab.org) and got the following error message: The native library javasci does not exist or cannot be found. java.lang.UnsatisfiedLinkError: no javasci in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source) at java.lang.Runtime.loadLibrary0(Unknown Source) at java.lang.System.loadLibrary(Unknown Source) at javasci.SciAbstractArray.(Unknown Source) at Example3.main(Example3.java:15) Cannot find method Initialize from the library. java.lang.UnsatisfiedLinkError: javasci.SciAbstractArray.Initialize()V at javasci.SciAbstractArray.Initialize(Native Method) at javasci.SciAbstractArray.(Unknown Source) at Example3.main(Example3.java:15) Exception in thread "main" java.lang.UnsatisfiedLinkError: javasci.SciAbstractArray.Send()V at javasci.SciAbstractArray.Send(Native Method) at javasci.SciDoubleArray.(Unknown Source) at Example3.main(Example3.java:15) The javasci.jar-file is added to my project. I tried to run the example with several verions of scilab (scilab-5.3.0-beta, scilab-master-1279202165, scilab-5.2.2), but always got the same error message. Could you give me a hint, what could still be wrong? Thanks, Clemens PS: Here is the exmaple, I tried to run /* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) INRIA * * This file is released into the public domain * */ import javasci.* ; class Example3 { public static void main(String[] args) { SciDoubleArray a = new SciDoubleArray("A",4,1, new double [] {1,2,3,4} ); SciDoubleArray b = new SciDoubleArray("B",4,1, new double [] {3,1,2,4} ); SciDoubleArray c = new SciDoubleArray("C",4,1, new double [] {0,0,0,0} ); Scilab.Exec("disp(A);"); Scilab.Exec("disp(B);"); Scilab.Exec("disp(C);"); a.disp(); b.disp(); c.disp(); Scilab.Exec("C=A+B;"); a.Get(); b.Get(); c.Get(); a.disp(); b.disp(); c.disp(); SciDoubleArray d = new SciDoubleArray("C",4,1); d.disp(); Scilab.Finish(); } } ________________________________ Manz Automation AG - Steigaeckerstr. 5 - 72768 Reutlingen Handelsregister: HRB 353989 Registergericht Stuttgart Vorstand: Dieter Manz (Vorsitzender), Martin Hipp, Volker Renz Aufsichtsratsvorsitzender: Herr Prof. Dr. Heiko Aurenz _____________________________________________________________________ Diese E-Mail ist nur f?r den Empf?nger bestimmt, an den sie gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- ?u?erung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung der Manz Automation AG dar. Sind Sie nicht der Empf?nger, so haben Sie diese E-Mail irrt?mlich erhalten und jegliche Verwendung, Ver?ffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Die Manz Automation AG ?bernimmt keine Haftung f?r Viren; es obliegt Ihrer Verantwortung, diese Emails auf Viren zu ?berpr?fen. _____________________________________________________________________ This e-mail is intended only for the recipient to whom it is addressed and may include confidential or proprietary information. Any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Manz Automation AG. If you are not the intended recipient, any disclosure, copying, or distribution is strictly prohibited. Neither Manz Automation AG accepts any responsibility for loss or damage caused by any virus transmitted by this e-mail. _____________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab.org Wed Jul 21 08:42:23 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 21 Jul 2010 08:42:23 +0200 Subject: [scilab-Users] Problems with Javasci In-Reply-To: References: Message-ID: <1279694543.6104.2910.camel@zlarin> Hello, See: http://www.scilab.org/product/man/compile_and_run_javasci.html You need to set java.library.path with the path to the native libraries. Cheers, Sylvestre Le mardi 20 juillet 2010 ? 16:09 +0200, Clemens Trautmann a ?crit : > Hello, > > I got some problems, when I wanted to use the Javasci-class. I tried > to run Example3 (downloaded at scilab.org) and got the following error > message: > > > > The native library javasci does not exist or cannot be found. > > java.lang.UnsatisfiedLinkError: no javasci in java.library.path > > at java.lang.ClassLoader.loadLibrary(Unknown Source) > > at java.lang.Runtime.loadLibrary0(Unknown Source) > > at java.lang.System.loadLibrary(Unknown Source) > > at javasci.SciAbstractArray.(Unknown Source) > > at Example3.main(Example3.java:15) > > Cannot find method Initialize from the library. > > java.lang.UnsatisfiedLinkError: javasci.SciAbstractArray.Initialize()V > > at javasci.SciAbstractArray.Initialize(Native Method) > > at javasci.SciAbstractArray.(Unknown Source) > > at Example3.main(Example3.java:15) > > Exception in thread "main" java.lang.UnsatisfiedLinkError: > javasci.SciAbstractArray.Send()V > > at javasci.SciAbstractArray.Send(Native Method) > > at javasci.SciDoubleArray.(Unknown Source) > > at Example3.main(Example3.java:15) > > > > > > The javasci.jar-file is added to my project. > > I tried to run the example with several verions of scilab > (scilab-5.3.0-beta, scilab-master-1279202165, scilab-5.2.2), but > always got the same error message. > > Could you give me a hint, what could still be wrong? > > Thanks, > > Clemens > > > > PS: Here is the exmaple, I tried to run > > /* > > * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab > > * Copyright (C) INRIA > > * > > * This file is released into the public domain > > * > > */ > > > > import javasci.* ; > > > > class Example3 { > > > > public static void main(String[] args) { > > > > SciDoubleArray a = new SciDoubleArray("A",4,1, new double [] > {1,2,3,4} ); > > SciDoubleArray b = new SciDoubleArray("B",4,1, new double [] > {3,1,2,4} ); > > SciDoubleArray c = new SciDoubleArray("C",4,1, new double [] > {0,0,0,0} ); > > > > Scilab.Exec("disp(A);"); > > Scilab.Exec("disp(B);"); > > Scilab.Exec("disp(C);"); > > > > a.disp(); > > b.disp(); > > c.disp(); > > > > Scilab.Exec("C=A+B;"); > > a.Get(); > > b.Get(); > > c.Get(); > > > > a.disp(); > > b.disp(); > > c.disp(); > > > > SciDoubleArray d = new SciDoubleArray("C",4,1); > > d.disp(); > > > > Scilab.Finish(); > > > > } > > } > > > > > ______________________________________________________________________ > Manz Automation AG - Steigaeckerstr. 5 - 72768 Reutlingen > Handelsregister: HRB 353989 Registergericht Stuttgart > Vorstand: Dieter Manz (Vorsitzender), Martin Hipp, Volker Renz > Aufsichtsratsvorsitzender: Herr Prof. Dr. Heiko Aurenz > _____________________________________________________________________ > Diese E-Mail ist nur f?r den Empf?nger bestimmt, an den sie gerichtet > ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes > Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungs- > ?u?erung ist die des Autors und stellt nicht notwendigerweise die > Ansicht oder Meinung der Manz Automation AG dar. > Sind Sie nicht der Empf?nger, so haben Sie diese E-Mail irrt?mlich > erhalten und jegliche Verwendung, Ver?ffentlichung, Weiterleitung, > Abschrift oder jeglicher Druck dieser E-Mail ist strengstens > untersagt. > > Die Manz Automation AG ?bernimmt keine Haftung f?r Viren; > es obliegt Ihrer Verantwortung, diese Emails auf Viren zu ?berpr?fen. > > _____________________________________________________________________ > This e-mail is intended only for the recipient to whom it is addressed > and may include confidential or proprietary information. > Any views or opinions presented in this e-mail are > solely those of the author and do not necessarily represent > those of Manz Automation AG. > If you are not the intended recipient, any disclosure, copying, > or distribution is strictly prohibited. > > Neither Manz Automation AG accepts any responsibility for loss or > damage caused by any virus transmitted by this e-mail. > _____________________________________________________________________ -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From paul.carrico at free.fr Wed Jul 21 09:08:24 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Wed, 21 Jul 2010 09:08:24 +0200 Subject: Scilab 5.3.1 launch failed Message-ID: <1279696104.4c469ce8a0ecf@imp.free.fr> Hi all, After seing that i was not using the last Scilab release (so sorry for the large number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under ubuntu 10.04 64.. I read the Install file and i launched Scilab ... it failed I'm afraid in doing (another time) something wrong : Am I right ? Paul paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab Error: Impossible to define SCIHOME environment variable. (process:2636): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml java.io.IOException: Configuration file /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found at com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) at org.scilab.modules.console.SciConsole.(Unknown Source) at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) at org.scilab.modules.jvm.Scilab.(Unknown Source) Ne peut pas cr??er une Classe Principale de Scilab. Erreur: Exception in thread "main" java.lang.NullPointerException at com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) at org.scilab.modules.console.SciConsole.(Unknown Source) at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) at org.scilab.modules.jvm.Scilab.(Unknown Source) Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets Scilab et thirdparty sont accessibles). paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ From calixte.denizet at ac-rennes.fr Wed Jul 21 09:29:33 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Wed, 21 Jul 2010 09:29:33 +0200 Subject: [scilab-Users] Scilab 5.3.1 launch failed In-Reply-To: <1279696104.4c469ce8a0ecf@imp.free.fr> References: <1279696104.4c469ce8a0ecf@imp.free.fr> Message-ID: <1279697373.2311.2.camel@calixte-laptop> Hi Paul, You must delete the directory .Scilab in your home (be sure that Scilab is closed) cd /home/paul rm -fr .Scilab and restart Scilab Calixte Le mercredi 21 juillet 2010 ? 09:08 +0200, paul.carrico at free.fr a ?crit : > Hi all, > > After seing that i was not using the last Scilab release (so sorry for the large > number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under > ubuntu 10.04 64.. > > I read the Install file and i launched Scilab ... it failed > > I'm afraid in doing (another time) something wrong : Am I right ? > > Paul > > > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab > Error: Impossible to define SCIHOME environment variable. > > (process:2636): Gtk-WARNING **: Locale not supported by C library. > Using the fallback 'C' locale. > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > java.io.IOException: Configuration file > /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found > at > com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) > at > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) > at > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) > at org.scilab.modules.console.SciConsole.(Unknown Source) > at > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > at > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > Source) > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > Source) > at org.scilab.modules.jvm.Scilab.(Unknown Source) > Ne peut pas cr??er une Classe Principale de Scilab. Erreur: > Exception in thread "main" java.lang.NullPointerException > at > com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) > at org.scilab.modules.console.SciConsole.(Unknown Source) > at > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > at > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > Source) > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > Source) > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas > ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets > Scilab et thirdparty sont accessibles). > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ > From sylvestre.ledru at scilab.org Wed Jul 21 09:34:45 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Wed, 21 Jul 2010 09:34:45 +0200 Subject: [scilab-Users] Scilab 5.3.1 launch failed In-Reply-To: <1279697373.2311.2.camel@calixte-laptop> References: <1279696104.4c469ce8a0ecf@imp.free.fr> <1279697373.2311.2.camel@calixte-laptop> Message-ID: <1279697685.6104.3038.camel@zlarin> Paul, watch out, if you do that, you will loose all your Scilab histories and preferences. Sylvestre Le mercredi 21 juillet 2010 ? 09:29 +0200, calixte a ?crit : > Hi Paul, > > You must delete the directory .Scilab in your home (be sure that Scilab > is closed) > cd /home/paul > rm -fr .Scilab > > and restart Scilab > > Calixte > > > Le mercredi 21 juillet 2010 ? 09:08 +0200, paul.carrico at free.fr a > ?crit : > > Hi all, > > > > After seing that i was not using the last Scilab release (so sorry for the large > > number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under > > ubuntu 10.04 64.. > > > > I read the Install file and i launched Scilab ... it failed > > > > I'm afraid in doing (another time) something wrong : Am I right ? > > > > Paul > > > > > > > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab > > Error: Impossible to define SCIHOME environment variable. > > > > (process:2636): Gtk-WARNING **: Locale not supported by C library. > > Using the fallback 'C' locale. > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > java.io.IOException: Configuration file > > /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found > > at > > com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > Ne peut pas cr??er une Classe Principale de Scilab. Erreur: > > Exception in thread "main" java.lang.NullPointerException > > at > > com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > > > Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas > > ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets > > Scilab et thirdparty sont accessibles). > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ > > > > -- ------------------------- Sylvestre Ledru ------------------------- The Scilab Consortium Digiteo Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex France From calixte.denizet at ac-rennes.fr Wed Jul 21 09:41:03 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Wed, 21 Jul 2010 09:41:03 +0200 Subject: [scilab-Users] Scilab 5.3.1 launch failed In-Reply-To: <1279697373.2311.2.camel@calixte-laptop> References: <1279696104.4c469ce8a0ecf@imp.free.fr> <1279697373.2311.2.camel@calixte-laptop> Message-ID: <1279698063.2311.15.camel@calixte-laptop> Le mercredi 21 juillet 2010 ? 09:29 +0200, calixte a ?crit : > Hi Paul, > > You must delete the directory .Scilab in your home (be sure that Scilab > is closed) > cd /home/paul > rm -fr .Scilab > Sorry : rm -fr .Scilab/scilab-5.3.0-beta-1 > and restart Scilab > > Calixte > > > Le mercredi 21 juillet 2010 ? 09:08 +0200, paul.carrico at free.fr a > ?crit : > > Hi all, > > > > After seing that i was not using the last Scilab release (so sorry for the large > > number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under > > ubuntu 10.04 64.. > > > > I read the Install file and i launched Scilab ... it failed > > > > I'm afraid in doing (another time) something wrong : Am I right ? > > > > Paul > > > > > > > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab > > Error: Impossible to define SCIHOME environment variable. > > > > (process:2636): Gtk-WARNING **: Locale not supported by C library. > > Using the fallback 'C' locale. > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > java.io.IOException: Configuration file > > /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found > > at > > com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > Ne peut pas cr??er une Classe Principale de Scilab. Erreur: > > Exception in thread "main" java.lang.NullPointerException > > at > > com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > > > Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas > > ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets > > Scilab et thirdparty sont accessibles). > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ > > > > From tiraduvidascefet at yahoo.com Wed Jul 21 14:50:50 2010 From: tiraduvidascefet at yahoo.com (Prof. Dr. Reinaldo Golmia Dante) Date: Wed, 21 Jul 2010 05:50:50 -0700 (PDT) Subject: [scilab-Users] basic information In-Reply-To: <1279651530.2267.134.camel@calixte-laptop> References: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> <1279651530.2267.134.camel@calixte-laptop> Message-ID: <253148.50448.qm@web45511.mail.sp1.yahoo.com> Hi Calixte, I do not find "Tool" menu on Scilab console or Scilab text editor. Could you be more precise in your information ? Please, tell me to configurate it. In addition, my Scilab text editor does not highlight the parenthesis. Only commands are highlighted. In regard to "You just have to put the cursor or the mouse pointer near a parenthesis (or near the keywords such asfunction/endfunciton or for/end and in these cases, the text between these keywords is highlighted", it does not work. In Scilab console, I have only menus: File, Edit, Preference, Console and Application. In Scilab text editor, I have only menus: File, Edit, Search, View, Document and Execute. Thank you in advance. All best, Reinaldo. ----- Original Message ---- From: calixte To: users at lists.scilab.org Sent: Tue, July 20, 2010 3:45:30 PM Subject: Re: [scilab-Users] basic information Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > let me writing first in french and I'll translate it afterward > > French : > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se >"soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement >on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) >... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait >pas d'erreur > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des >parenth?se est un "outil" tr?s utile de mon point de vue > French too: i) Actuellement qd une parenthese ouvrante est entree sa "soeur" fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du premier menu de "Outils". ii) Sinon a propos de la surbrillance, elle existe : il suffit de promener le curseur ou bien le pointeur de la souris pres des parentheses (ou bien des mots cles du genre function/endfunction ou for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > English > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" >parenthesis was highlighted and it was easy to verify the right number of >parenthesis (lack or too numbered parenthesis) ... with the current release I've >to count the parenthesis to be sure I've no error > > To make a parallele : it's the case with emacs for example (if I well remember) > > From my point of view, it's a very usefull tool > i) Actually when an opening parenthesis is typed, the closing one is automatically added, this behaviour can be activate or not with the first menu of "Tools". ii) About the highlighting, it exists. You just have to put the cursor or the mouse pointer near a parenthesis (or near the keywords such as function/endfunciton or for/end and in these cases, the text between these keywords is highlighted). > > I hope I'm clear enough > Calixte > regards > > Paul > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / >Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Hi Paul, > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > All, > > > > I'm using for a few time the new Scilab text editor ; it seems great except >maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my >mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > Could you be more explicit about the parenthesis management ? I don't > understand what you mean. > > > I've here a basic question regarding the Scilab console : In previous >releases and when i add a ";" at the end of the line, the line didn't appear in >the console / today it's not the case with the beta release and it is a bit >irritating especially when i want to focuss on the results of what i'm codding >.. > > > > ... so what can I do ? > > > > regards > > > > Calixte > > > Paul > > > > From paul.carrico at esterline.com Wed Jul 21 14:54:19 2010 From: paul.carrico at esterline.com (Carrico, Paul) Date: Wed, 21 Jul 2010 14:54:19 +0200 Subject: [scilab-Users] basic information In-Reply-To: <253148.50448.qm@web45511.mail.sp1.yahoo.com> References: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> <1279651530.2267.134.camel@calixte-laptop> <253148.50448.qm@web45511.mail.sp1.yahoo.com> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC0498AD9E@exchsrv.AUXITROL1> Hi, In our exchanges we finally noticed i was using the 5.2.2 Scilab release ... In such one the tool menu doesn't exist Have a look in the 5.3.1 beta release for that Paul -----Message d'origine----- De : Prof. Dr. Reinaldo Golmia Dante [mailto:tiraduvidascefet at yahoo.com] Envoy? : mercredi 21 juillet 2010 14:51 ? : users at lists.scilab.org Objet : Re: [scilab-Users] basic information Hi Calixte, I do not find "Tool" menu on Scilab console or Scilab text editor. Could you be more precise in your information ? Please, tell me to configurate it. In addition, my Scilab text editor does not highlight the parenthesis. Only commands are highlighted. In regard to "You just have to put the cursor or the mouse pointer near a parenthesis (or near the keywords such asfunction/endfunciton or for/end and in these cases, the text between these keywords is highlighted", it does not work. In Scilab console, I have only menus: File, Edit, Preference, Console and Application. In Scilab text editor, I have only menus: File, Edit, Search, View, Document and Execute. Thank you in advance. All best, Reinaldo. ----- Original Message ---- From: calixte To: users at lists.scilab.org Sent: Tue, July 20, 2010 3:45:30 PM Subject: Re: [scilab-Users] basic information Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > let me writing first in french and I'll translate it afterward > > French : > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se >"soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement >on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) >... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait >pas d'erreur > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des >parenth?se est un "outil" tr?s utile de mon point de vue > French too: i) Actuellement qd une parenthese ouvrante est entree sa "soeur" fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du premier menu de "Outils". ii) Sinon a propos de la surbrillance, elle existe : il suffit de promener le curseur ou bien le pointeur de la souris pres des parentheses (ou bien des mots cles du genre function/endfunction ou for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > English > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" >parenthesis was highlighted and it was easy to verify the right number of >parenthesis (lack or too numbered parenthesis) ... with the current release I've >to count the parenthesis to be sure I've no error > > To make a parallele : it's the case with emacs for example (if I well remember) > > From my point of view, it's a very usefull tool > i) Actually when an opening parenthesis is typed, the closing one is automatically added, this behaviour can be activate or not with the first menu of "Tools". ii) About the highlighting, it exists. You just have to put the cursor or the mouse pointer near a parenthesis (or near the keywords such as function/endfunciton or for/end and in these cases, the text between these keywords is highlighted). > > I hope I'm clear enough > Calixte > regards > > Paul > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / >Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] basic information > > Hi Paul, > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > All, > > > > I'm using for a few time the new Scilab text editor ; it seems great except >maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my >mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > Could you be more explicit about the parenthesis management ? I don't > understand what you mean. > > > I've here a basic question regarding the Scilab console : In previous >releases and when i add a ";" at the end of the line, the line didn't appear in >the console / today it's not the case with the beta release and it is a bit >irritating especially when i want to focuss on the results of what i'm codding >.. > > > > ... so what can I do ? > > > > regards > > > > Calixte > > > Paul > > > > -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From calixte.denizet at ac-rennes.fr Wed Jul 21 14:54:20 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Wed, 21 Jul 2010 14:54:20 +0200 Subject: [scilab-Users] basic information In-Reply-To: <253148.50448.qm@web45511.mail.sp1.yahoo.com> References: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> <1279651530.2267.134.camel@calixte-laptop> <253148.50448.qm@web45511.mail.sp1.yahoo.com> Message-ID: <1279716860.2311.364.camel@calixte-laptop> Le mercredi 21 juillet 2010 ? 05:50 -0700, Prof. Dr. Reinaldo Golmia Dante a ?crit : > > Hi Calixte, > Hi Reinaldo, > I do not find "Tool" menu on Scilab console or Scilab text editor. Could you be > more precise in your information ? > > Please, tell me to configurate it. > Just in downloading the version 5.3.0 beta-1 : http://www.scilab.org/products/scilab/download/5.3.0-beta-1 and in Siclab's console, just type: --> scinotes Calixte > In addition, my Scilab text editor does not highlight the parenthesis. Only > commands are highlighted. In regard to "You just have to put the cursor > or the mouse pointer near a parenthesis (or near the keywords such > asfunction/endfunciton or for/end and in these cases, the text between > these keywords is highlighted", it does not work. > > In Scilab console, I have only menus: File, Edit, Preference, Console and > Application. > > In Scilab text editor, I have only menus: File, Edit, Search, View, Document and > Execute. > > Thank you in advance. > > All best, > Reinaldo. > > > > > > ----- Original Message ---- > From: calixte > To: users at lists.scilab.org > Sent: Tue, July 20, 2010 3:45:30 PM > Subject: Re: [scilab-Users] basic information > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > let me writing first in french and I'll translate it afterward > > > > French : > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa parenth?se > >"soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc visuellement > >on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en trop) > >... avec la derni?re version il me faut les compter pour ?tre s?r que je ne fait > >pas d'erreur > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des > >parenth?se est un "outil" tr?s utile de mon point de vue > > > > French too: > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > premier menu de "Outils". > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > promener le curseur ou bien le pointeur de la souris pres des > parentheses (ou bien des mots cles du genre function/endfunction ou > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > English > > > When a parenthesis was closed in the 5.1.1 text editor for example, the "open" > >parenthesis was highlighted and it was easy to verify the right number of > >parenthesis (lack or too numbered parenthesis) ... with the current release I've > >to count the parenthesis to be sure I've no error > > > > To make a parallele : it's the case with emacs for example (if I well > remember) > > > > From my point of view, it's a very usefull tool > > > > i) Actually when an opening parenthesis is typed, the closing one is > automatically added, this behaviour can be activate or not with the > first menu of "Tools". > ii) About the highlighting, it exists. You just have to put the cursor > or the mouse pointer near a parenthesis (or near the keywords such as > function/endfunciton or for/end and in these cases, the text between > these keywords is highlighted). > > > > > I hope I'm clear enough > > > > Calixte > > > regards > > > > Paul > > > > > > ----- Mail Original ----- > > De: "calixte" > > ?: users at lists.scilab.org > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne / > >Rome / Stockholm / Vienne > > Objet: Re: [scilab-Users] basic information > > > > Hi Paul, > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > All, > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except > >maybe the parenthesis management (the 5.1.1 text editor was more powerfull in my > >mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > understand what you mean. > > > > > I've here a basic question regarding the Scilab console : In previous > >releases and when i add a ";" at the end of the line, the line didn't appear in > >the console / today it's not the case with the beta release and it is a bit > >irritating especially when i want to focuss on the results of what i'm codding > >.. > > > > > > ... so what can I do ? > > > > > > regards > > > > > > > Calixte > > > > > Paul > > > > > > > > > > > From Samuel.Gougeon at univ-lemans.fr Wed Jul 21 21:42:41 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Wed, 21 Jul 2010 21:42:41 +0200 Subject: Library overwritting default scilab functions Message-ID: <20100721214241.15412q9mhhfdef9c@webmail1.univ-lemans.fr> Hello, In order to patch some bugged scilab macros without waiting the processing of bug reports, i have gathered a set of patches in a library. I declare this one in my scilab.ini starting file, with lib(..) However, the first time i use one of these functions, the release that is called is still the default bugged one. Is there a way to overcome this issue? I did not see any option in the lib() declaration to change the priority of calls. Thank you for any hint. Regards Samuel From paul.carrico at free.fr Wed Jul 21 21:42:42 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Wed, 21 Jul 2010 21:42:42 +0200 (CEST) Subject: [scilab-Users] Scilab 5.3.1 launch failed In-Reply-To: <9255796.3488491279741351850.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1247920498.3488531279741362910.JavaMail.root@zimbra26-e5.priv.proxad.net> Calixte, unfortunatly it failed .... paul #############################################################"" paul at paul-desktop:~$ rm -rf .Scilab/scilab-5.3.0-beta-1 paul at paul-desktop:~$ scilab Error: Impossible to define SCIHOME environment variable. (process:2007): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml java.io.IOException: Configuration file /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found at com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) at org.scilab.modules.console.SciConsole.(Unknown Source) at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) at org.scilab.modules.jvm.Scilab.(Unknown Source) Ne peut pas cr?er une Classe Principale de Scilab. Erreur: Exception in thread "main" java.lang.NullPointerException at com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) at org.scilab.modules.console.SciConsole.(Unknown Source) at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) at org.scilab.modules.jvm.Scilab.(Unknown Source) Scilab ne peut pas cr?er la classe principale Java Scilab (nous n'avons pas ?t? capable de trouver la classe Scilab principale. V?rifier si les paquets Scilab et thirdparty sont accessibles). ----- Mail Original ----- De: "calixte" ?: users at lists.scilab.org Envoy?: Mercredi 21 Juillet 2010 09h41:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed Le mercredi 21 juillet 2010 ? 09:29 +0200, calixte a ?crit : > Hi Paul, > > You must delete the directory .Scilab in your home (be sure that Scilab > is closed) > cd /home/paul > rm -fr .Scilab > Sorry : rm -fr .Scilab/scilab-5.3.0-beta-1 > and restart Scilab > > Calixte > > > Le mercredi 21 juillet 2010 ? 09:08 +0200, paul.carrico at free.fr a > ?crit : > > Hi all, > > > > After seing that i was not using the last Scilab release (so sorry for the large > > number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under > > ubuntu 10.04 64.. > > > > I read the Install file and i launched Scilab ... it failed > > > > I'm afraid in doing (another time) something wrong : Am I right ? > > > > Paul > > > > > > > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab > > Error: Impossible to define SCIHOME environment variable. > > > > (process:2636): Gtk-WARNING **: Locale not supported by C library. > > Using the fallback 'C' locale. > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > java.io.IOException: Configuration file > > /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found > > at > > com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > Ne peut pas cr??er une Classe Principale de Scilab. Erreur: > > Exception in thread "main" java.lang.NullPointerException > > at > > com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > > > Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas > > ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets > > Scilab et thirdparty sont accessibles). > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ > > > > From tiraduvidascefet at yahoo.com Wed Jul 21 23:26:17 2010 From: tiraduvidascefet at yahoo.com (Prof. Dr. Reinaldo Golmia Dante) Date: Wed, 21 Jul 2010 14:26:17 -0700 (PDT) Subject: [scilab-Users] basic information In-Reply-To: <1279716860.2311.364.camel@calixte-laptop> References: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> <1279651530.2267.134.camel@calixte-laptop> <253148.50448.qm@web45511.mail.sp1.yahoo.com> <1279716860.2311.364.camel@calixte-laptop> Message-ID: <528167.78028.qm@web45506.mail.sp1.yahoo.com> Hi Calixte, I forgot to say that I use 5.2.2 on Windows Vista. So, seems that feature appears only on upper version, 5.3.0, doesn't it ? Thanks. Reinaldo. ----- Original Message ---- From: calixte To: users at lists.scilab.org Sent: Wed, July 21, 2010 9:54:20 AM Subject: Re: [scilab-Users] basic information Le mercredi 21 juillet 2010 ? 05:50 -0700, Prof. Dr. Reinaldo Golmia Dante a ?crit : > > Hi Calixte, > Hi Reinaldo, > I do not find "Tool" menu on Scilab console or Scilab text editor. Could you be > > more precise in your information ? > > Please, tell me to configurate it. > Just in downloading the version 5.3.0 beta-1 : http://www.scilab.org/products/scilab/download/5.3.0-beta-1 and in Siclab's console, just type: --> scinotes Calixte > In addition, my Scilab text editor does not highlight the parenthesis. Only > commands are highlighted. In regard to "You just have to put the cursor > or the mouse pointer near a parenthesis (or near the keywords such > asfunction/endfunciton or for/end and in these cases, the text between > these keywords is highlighted", it does not work. > > In Scilab console, I have only menus: File, Edit, Preference, Console and > Application. > > In Scilab text editor, I have only menus: File, Edit, Search, View, Document >and > > Execute. > > Thank you in advance. > > All best, > Reinaldo. > > > > > > ----- Original Message ---- > From: calixte > To: users at lists.scilab.org > Sent: Tue, July 20, 2010 3:45:30 PM > Subject: Re: [scilab-Users] basic information > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > let me writing first in french and I'll translate it afterward > > > > French : > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa >parenth?se > > >"soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc >visuellement > > >on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en >trop) > > >... avec la derni?re version il me faut les compter pour ?tre s?r que je ne >fait > > >pas d'erreur > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des > >parenth?se est un "outil" tr?s utile de mon point de vue > > > > French too: > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > premier menu de "Outils". > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > promener le curseur ou bien le pointeur de la souris pres des > parentheses (ou bien des mots cles du genre function/endfunction ou > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > English > > > When a parenthesis was closed in the 5.1.1 text editor for example, the >"open" > > >parenthesis was highlighted and it was easy to verify the right number of > >parenthesis (lack or too numbered parenthesis) ... with the current release >I've > > >to count the parenthesis to be sure I've no error > > > > To make a parallele : it's the case with emacs for example (if I well > remember) > > > > From my point of view, it's a very usefull tool > > > > i) Actually when an opening parenthesis is typed, the closing one is > automatically added, this behaviour can be activate or not with the > first menu of "Tools". > ii) About the highlighting, it exists. You just have to put the cursor > or the mouse pointer near a parenthesis (or near the keywords such as > function/endfunciton or for/end and in these cases, the text between > these keywords is highlighted). > > > > > I hope I'm clear enough > > > > Calixte > > > regards > > > > Paul > > > > > > ----- Mail Original ----- > > De: "calixte" > > ?: users at lists.scilab.org > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne >/ > > >Rome / Stockholm / Vienne > > Objet: Re: [scilab-Users] basic information > > > > Hi Paul, > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > All, > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except > > >maybe the parenthesis management (the 5.1.1 text editor was more powerfull in >my > > >mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > understand what you mean. > > > > > I've here a basic question regarding the Scilab console : In previous > >releases and when i add a ";" at the end of the line, the line didn't appear >in > > >the console / today it's not the case with the beta release and it is a bit > >irritating especially when i want to focuss on the results of what i'm codding > > >.. > > > > > > ... so what can I do ? > > > > > > regards > > > > > > > Calixte > > > > > Paul > > > > > > > > > >? ? ? > From calixte.denizet at ac-rennes.fr Wed Jul 21 23:28:47 2010 From: calixte.denizet at ac-rennes.fr (calixte) Date: Wed, 21 Jul 2010 23:28:47 +0200 Subject: [scilab-Users] basic information In-Reply-To: <528167.78028.qm@web45506.mail.sp1.yahoo.com> References: <964772204.3369321279649533443.JavaMail.root@zimbra26-e5.priv.proxad.net> <1279651530.2267.134.camel@calixte-laptop> <253148.50448.qm@web45511.mail.sp1.yahoo.com> <1279716860.2311.364.camel@calixte-laptop> <528167.78028.qm@web45506.mail.sp1.yahoo.com> Message-ID: <1279747727.2311.376.camel@calixte-laptop> Le mercredi 21 juillet 2010 ? 14:26 -0700, Prof. Dr. Reinaldo Golmia Dante a ?crit : > Hi Calixte, > > I forgot to say that I use 5.2.2 on Windows Vista. > > So, seems that feature appears only on upper version, 5.3.0, doesn't it ? > Exactly ! > Thanks. > Regards, Calixte > Reinaldo. > > > > ----- Original Message ---- > From: calixte > To: users at lists.scilab.org > Sent: Wed, July 21, 2010 9:54:20 AM > Subject: Re: [scilab-Users] basic information > > Le mercredi 21 juillet 2010 ? 05:50 -0700, Prof. Dr. Reinaldo Golmia > Dante a ?crit : > > > > Hi Calixte, > > > > Hi Reinaldo, > > > I do not find "Tool" menu on Scilab console or Scilab text editor. Could you be > > > > more precise in your information ? > > > > Please, tell me to configurate it. > > > > Just in downloading the version 5.3.0 beta-1 : > http://www.scilab.org/products/scilab/download/5.3.0-beta-1 > > and in Siclab's console, just type: > > --> scinotes > > Calixte > > > In addition, my Scilab text editor does not highlight the parenthesis. Only > > commands are highlighted. In regard to "You just have to put the cursor > > or the mouse pointer near a parenthesis (or near the keywords such > > asfunction/endfunciton or for/end and in these cases, the text between > > these keywords is highlighted", it does not work. > > > > In Scilab console, I have only menus: File, Edit, Preference, Console and > > Application. > > > > In Scilab text editor, I have only menus: File, Edit, Search, View, Document > >and > > > > Execute. > > > > Thank you in advance. > > > > All best, > > Reinaldo. > > > > > > > > > > > > ----- Original Message ---- > > From: calixte > > To: users at lists.scilab.org > > Sent: Tue, July 20, 2010 3:45:30 PM > > Subject: Re: [scilab-Users] basic information > > > > Le mardi 20 juillet 2010 ? 20:12 +0200, paul.carrico at free.fr a ?crit : > > > let me writing first in french and I'll translate it afterward > > > > > > French : > > > lorsqu'un parenth?se ?tait ferm?e dans l'?diteur de texte 5.1.1, sa > >parenth?se > > > > >"soeur" c-a-d celle qui "ouvre" ?tait mise en surbrillance et donc > >visuellement > > > > >on v?rifiait qu'il n'y avait pas d'erreur (manquement voire parenth?se en > >trop) > > > > >... avec la derni?re version il me faut les compter pour ?tre s?r que je ne > >fait > > > > >pas d'erreur > > > > > > C'est le cas avec emacs si je me souviens bien ...==> cette gestion des > > >parenth?se est un "outil" tr?s utile de mon point de vue > > > > > > > French too: > > i) Actuellement qd une parenthese ouvrante est entree sa "soeur" > > fermante l'est automatiquement ce qui peut s'activer ou non a l'aide du > > premier menu de "Outils". > > ii) Sinon a propos de la surbrillance, elle existe : il suffit de > > promener le curseur ou bien le pointeur de la souris pres des > > parentheses (ou bien des mots cles du genre function/endfunction ou > > for/end... dans ces cas, le texte entre ces mots-cle est colorie) > > > > > > > > English > > > > > When a parenthesis was closed in the 5.1.1 text editor for example, the > >"open" > > > > >parenthesis was highlighted and it was easy to verify the right number of > > >parenthesis (lack or too numbered parenthesis) ... with the current release > >I've > > > > >to count the parenthesis to be sure I've no error > > > > > > To make a parallele : it's the case with emacs for example (if I well > > remember) > > > > > > From my point of view, it's a very usefull tool > > > > > > > i) Actually when an opening parenthesis is typed, the closing one is > > automatically added, this behaviour can be activate or not with the > > first menu of "Tools". > > ii) About the highlighting, it exists. You just have to put the cursor > > or the mouse pointer near a parenthesis (or near the keywords such as > > function/endfunciton or for/end and in these cases, the text between > > these keywords is highlighted). > > > > > > > > I hope I'm clear enough > > > > > > > Calixte > > > > > regards > > > > > > Paul > > > > > > > > > ----- Mail Original ----- > > > De: "calixte" > > > ?: users at lists.scilab.org > > > Envoy?: Mardi 20 Juillet 2010 20h00:27 GMT +01:00 Amsterdam / Berlin / Berne > >/ > > > > >Rome / Stockholm / Vienne > > > Objet: Re: [scilab-Users] basic information > > > > > > Hi Paul, > > > > > > Le mardi 20 juillet 2010 ? 19:54 +0200, paul.carrico at free.fr a ?crit : > > > > All, > > > > > > > > I'm using for a few time the new Scilab text editor ; it seems great except > > > > >maybe the parenthesis management (the 5.1.1 text editor was more powerfull in > >my > > > > >mind ... now I've to count the parenthesis number to be sure i'm correct). > > > > > > > > > > Could you be more explicit about the parenthesis management ? I don't > > > understand what you mean. > > > > > > > I've here a basic question regarding the Scilab console : In previous > > >releases and when i add a ";" at the end of the line, the line didn't appear > >in > > > > >the console / today it's not the case with the beta release and it is a bit > > >irritating especially when i want to focuss on the results of what i'm codding > > > > >.. > > > > > > > > ... so what can I do ? > > > > > > > > regards > > > > > > > > > > Calixte > > > > > > > Paul > > > > > > > > > > > > > > > > > > > > > > From paul.carrico at free.fr Thu Jul 22 08:14:26 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Thu, 22 Jul 2010 08:14:26 +0200 (CEST) Subject: [scilab-Users] Scilab 5.3.1 launch failed In-Reply-To: <1247920498.3488531279741362910.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1214439876.3506861279779266074.JavaMail.root@zimbra26-e5.priv.proxad.net> Calixte, I suceeded in launching Scilab ... and I found the reason why it failed previously. I needed to by logged as root to launch Scilab for the first time (then the .Scilab/scilab5.3.0beta is created ... otherwise it seems that i've not the permiession to do) ... now i can launch scilab afterward without being logged as root. One of the consequencies is any change in the preferences is not recorded, isn't it ? is it a ubunto restriction ? Regards Paul ----- Mail Original ----- De: "paul carrico" ?: users at lists.scilab.org Envoy?: Mercredi 21 Juillet 2010 21h42:42 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed Calixte, unfortunatly it failed .... paul #############################################################"" paul at paul-desktop:~$ rm -rf .Scilab/scilab-5.3.0-beta-1 paul at paul-desktop:~$ scilab Error: Impossible to define SCIHOME environment variable. (process:2007): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml java.io.IOException: Configuration file /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found at com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) at org.scilab.modules.console.SciConsole.(Unknown Source) at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) at org.scilab.modules.jvm.Scilab.(Unknown Source) Ne peut pas cr?er une Classe Principale de Scilab. Erreur: Exception in thread "main" java.lang.NullPointerException at com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) at org.scilab.modules.console.SciConsole.(Unknown Source) at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) at org.scilab.modules.jvm.Scilab.(Unknown Source) Scilab ne peut pas cr?er la classe principale Java Scilab (nous n'avons pas ?t? capable de trouver la classe Scilab principale. V?rifier si les paquets Scilab et thirdparty sont accessibles). ----- Mail Original ----- De: "calixte" ?: users at lists.scilab.org Envoy?: Mercredi 21 Juillet 2010 09h41:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed Le mercredi 21 juillet 2010 ? 09:29 +0200, calixte a ?crit : > Hi Paul, > > You must delete the directory .Scilab in your home (be sure that Scilab > is closed) > cd /home/paul > rm -fr .Scilab > Sorry : rm -fr .Scilab/scilab-5.3.0-beta-1 > and restart Scilab > > Calixte > > > Le mercredi 21 juillet 2010 ? 09:08 +0200, paul.carrico at free.fr a > ?crit : > > Hi all, > > > > After seing that i was not using the last Scilab release (so sorry for the large > > number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under > > ubuntu 10.04 64.. > > > > I read the Install file and i launched Scilab ... it failed > > > > I'm afraid in doing (another time) something wrong : Am I right ? > > > > Paul > > > > > > > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab > > Error: Impossible to define SCIHOME environment variable. > > > > (process:2636): Gtk-WARNING **: Locale not supported by C library. > > Using the fallback 'C' locale. > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > > java.io.IOException: Configuration file > > /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found > > at > > com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) > > at > > com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > Ne peut pas cr??er une Classe Principale de Scilab. Erreur: > > Exception in thread "main" java.lang.NullPointerException > > at > > com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) > > at org.scilab.modules.console.SciConsole.(Unknown Source) > > at > > org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > > at > > org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown > > Source) > > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown > > Source) > > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > > > Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas > > ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets > > Scilab et thirdparty sont accessibles). > > paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ > > > > From antoine.monmayrant at laas.fr Thu Jul 22 09:51:48 2010 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 22 Jul 2010 09:51:48 +0200 Subject: [scilab-Users] Scilab 5.3.1 launch failed In-Reply-To: <1214439876.3506861279779266074.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <1214439876.3506861279779266074.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <4C47F894.7050903@laas.fr> Hi Paul, It looks like you don't have the right permission on the ~/.Scilab folder. Can you try the following: ls -alh ~/.Scilab On the first line you should see the permissions/ownership for the "." folder, that is "~/.Scilab". You should see something like: drwx------ 13 paul name-of-your-group 4,0K 8 juil. 13:06 . or drwx------ 13 root root 4,0K 8 juil. 13:06 . If it belongs to root, you should change its ownership back to paul. Antoine Le 22/07/2010 08:14, paul.carrico at free.fr a ?crit : > Calixte, > > I suceeded in launching Scilab ... and I found the reason why it failed previously. > > I needed to by logged as root to launch Scilab for the first time (then the .Scilab/scilab5.3.0beta is created ... otherwise it seems that i've not the permiession to do) ... now i can launch scilab afterward without being logged as root. > > One of the consequencies is any change in the preferences is not recorded, isn't it ? is it a ubunto restriction ? > > Regards > > Paul > > > > > ----- Mail Original ----- > De: "paul carrico" > ?: users at lists.scilab.org > Envoy?: Mercredi 21 Juillet 2010 21h42:42 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed > > Calixte, > > unfortunatly it failed .... > > paul > > #############################################################"" > paul at paul-desktop:~$ rm -rf .Scilab/scilab-5.3.0-beta-1 > paul at paul-desktop:~$ scilab > Error: Impossible to define SCIHOME environment variable. > > (process:2007): Gtk-WARNING **: Locale not supported by C library. > Using the fallback 'C' locale. > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > java.io.IOException: Configuration file /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found > at com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) > at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) > at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) > at org.scilab.modules.console.SciConsole.(Unknown Source) > at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) > at org.scilab.modules.jvm.Scilab.(Unknown Source) > Ne peut pas cr?er une Classe Principale de Scilab. Erreur: > Exception in thread "main" java.lang.NullPointerException > at com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) > at org.scilab.modules.console.SciConsole.(Unknown Source) > at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > Scilab ne peut pas cr?er la classe principale Java Scilab (nous n'avons pas ?t? capable de trouver la classe Scilab principale. V?rifier si les paquets Scilab et thirdparty sont accessibles). > > > > > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mercredi 21 Juillet 2010 09h41:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed > > Le mercredi 21 juillet 2010 ? 09:29 +0200, calixte a ?crit : > >> Hi Paul, >> >> You must delete the directory .Scilab in your home (be sure that Scilab >> is closed) >> cd /home/paul >> rm -fr .Scilab >> >> > Sorry : rm -fr .Scilab/scilab-5.3.0-beta-1 > > >> and restart Scilab >> >> Calixte >> >> >> Le mercredi 21 juillet 2010 ? 09:08 +0200, paul.carrico at free.fr a >> ?crit : >> >>> Hi all, >>> >>> After seing that i was not using the last Scilab release (so sorry for the large >>> number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under >>> ubuntu 10.04 64.. >>> >>> I read the Install file and i launched Scilab ... it failed >>> >>> I'm afraid in doing (another time) something wrong : Am I right ? >>> >>> Paul >>> >>> >>> >>> paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab >>> Error: Impossible to define SCIHOME environment variable. >>> >>> (process:2636): Gtk-WARNING **: Locale not supported by C library. >>> Using the fallback 'C' locale. >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> java.io.IOException: Configuration file >>> /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found >>> at >>> com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) >>> at >>> com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) >>> at >>> com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) >>> at org.scilab.modules.console.SciConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) >>> at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown >>> Source) >>> at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) >>> at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown >>> Source) >>> at org.scilab.modules.jvm.Scilab.(Unknown Source) >>> Ne peut pas cr??er une Classe Principale de Scilab. Erreur: >>> Exception in thread "main" java.lang.NullPointerException >>> at >>> com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) >>> at org.scilab.modules.console.SciConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) >>> at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown >>> Source) >>> at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) >>> at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown >>> Source) >>> at org.scilab.modules.jvm.Scilab.(Unknown Source) >>> >>> Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas >>> ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets >>> Scilab et thirdparty sont accessibles). >>> paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ >>> >>> >> >> > > > From paul.carrico at free.fr Thu Jul 22 09:59:21 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Thu, 22 Jul 2010 09:59:21 +0200 (CEST) Subject: [scilab-Users] Scilab 5.3.1 launch failed In-Reply-To: <484004029.3517941279785461228.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <1552176440.3518101279785561343.JavaMail.root@zimbra26-e5.priv.proxad.net> Hi Antoine, The main idea was to share my failure ... and the reason why for newby I am. As a root I installed Scilab under /opt then I my count i tried to launch scilab that failed ... previously i was not confront to such thing :-))) I was thinking in using something like chmod 777 ./Scilab ... in any way now i can concentrate on codding regards Paul ----- Mail Original ----- De: "Antoine Monmayrant" ?: users at lists.scilab.org Envoy?: Jeudi 22 Juillet 2010 09h51:48 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed Hi Paul, It looks like you don't have the right permission on the ~/.Scilab folder. Can you try the following: ls -alh ~/.Scilab On the first line you should see the permissions/ownership for the "." folder, that is "~/.Scilab". You should see something like: drwx------ 13 paul name-of-your-group 4,0K 8 juil. 13:06 . or drwx------ 13 root root 4,0K 8 juil. 13:06 . If it belongs to root, you should change its ownership back to paul. Antoine Le 22/07/2010 08:14, paul.carrico at free.fr a ?crit : > Calixte, > > I suceeded in launching Scilab ... and I found the reason why it failed previously. > > I needed to by logged as root to launch Scilab for the first time (then the .Scilab/scilab5.3.0beta is created ... otherwise it seems that i've not the permiession to do) ... now i can launch scilab afterward without being logged as root. > > One of the consequencies is any change in the preferences is not recorded, isn't it ? is it a ubunto restriction ? > > Regards > > Paul > > > > > ----- Mail Original ----- > De: "paul carrico" > ?: users at lists.scilab.org > Envoy?: Mercredi 21 Juillet 2010 21h42:42 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed > > Calixte, > > unfortunatly it failed .... > > paul > > #############################################################"" > paul at paul-desktop:~$ rm -rf .Scilab/scilab-5.3.0-beta-1 > paul at paul-desktop:~$ scilab > Error: Impossible to define SCIHOME environment variable. > > (process:2007): Gtk-WARNING **: Locale not supported by C library. > Using the fallback 'C' locale. > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml > java.io.IOException: Configuration file /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found > at com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) > at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) > at com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) > at org.scilab.modules.console.SciConsole.(Unknown Source) > at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) > at org.scilab.modules.jvm.Scilab.(Unknown Source) > Ne peut pas cr?er une Classe Principale de Scilab. Erreur: > Exception in thread "main" java.lang.NullPointerException > at com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) > at org.scilab.modules.console.SciConsole.(Unknown Source) > at org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) > at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown Source) > at org.scilab.modules.jvm.Scilab.(Unknown Source) > > Scilab ne peut pas cr?er la classe principale Java Scilab (nous n'avons pas ?t? capable de trouver la classe Scilab principale. V?rifier si les paquets Scilab et thirdparty sont accessibles). > > > > > > > ----- Mail Original ----- > De: "calixte" > ?: users at lists.scilab.org > Envoy?: Mercredi 21 Juillet 2010 09h41:03 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: Re: [scilab-Users] Scilab 5.3.1 launch failed > > Le mercredi 21 juillet 2010 ? 09:29 +0200, calixte a ?crit : > >> Hi Paul, >> >> You must delete the directory .Scilab in your home (be sure that Scilab >> is closed) >> cd /home/paul >> rm -fr .Scilab >> >> > Sorry : rm -fr .Scilab/scilab-5.3.0-beta-1 > > >> and restart Scilab >> >> Calixte >> >> >> Le mercredi 21 juillet 2010 ? 09:08 +0200, paul.carrico at free.fr a >> ?crit : >> >>> Hi all, >>> >>> After seing that i was not using the last Scilab release (so sorry for the large >>> number of exchanges), i installed Scilab 5.3.0 beta 1 64 bits binary under >>> ubuntu 10.04 64.. >>> >>> I read the Install file and i launched Scilab ... it failed >>> >>> I'm afraid in doing (another time) something wrong : Am I right ? >>> >>> Paul >>> >>> >>> >>> paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ ./scilab >>> Error: Impossible to define SCIHOME environment variable. >>> >>> (process:2636): Gtk-WARNING **: Locale not supported by C library. >>> Using the fallback 'C' locale. >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> Could not load file: /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml >>> java.io.IOException: Configuration file >>> /home/paul/.Scilab/scilab-5.3.0-beta-1/configuration.xml not found >>> at >>> com.artenum.rosetta.util.ConfigurationBuilder$ConfigurationHandler.(ConfigurationBuilder.java:98) >>> at >>> com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:76) >>> at >>> com.artenum.rosetta.util.ConfigurationBuilder.buildConfiguration(ConfigurationBuilder.java:81) >>> at org.scilab.modules.console.SciConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) >>> at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown >>> Source) >>> at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) >>> at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown >>> Source) >>> at org.scilab.modules.jvm.Scilab.(Unknown Source) >>> Ne peut pas cr??er une Classe Principale de Scilab. Erreur: >>> Exception in thread "main" java.lang.NullPointerException >>> at >>> com.artenum.rosetta.util.ConsoleBuilder.buildConsole(ConsoleBuilder.java:57) >>> at org.scilab.modules.console.SciConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.bridge.console.SwingScilabConsole.(Unknown Source) >>> at >>> org.scilab.modules.gui.console.ScilabConsoleBridge.createConsole(Unknown Source) >>> at org.scilab.modules.gui.bridge.ScilabBridge.createConsole(Unknown >>> Source) >>> at org.scilab.modules.gui.console.ScilabConsole.(Unknown Source) >>> at org.scilab.modules.gui.console.ScilabConsole.createConsole(Unknown >>> Source) >>> at org.scilab.modules.jvm.Scilab.(Unknown Source) >>> >>> Scilab ne peut pas cr??er la classe principale Java Scilab (nous n'avons pas >>> ??t?? capable de trouver la classe Scilab principale. V??rifier si les paquets >>> Scilab et thirdparty sont accessibles). >>> paul at paul-desktop:/opt/scilab-5.3.0-beta-1/bin$ >>> >>> >> >> > > > From christian.klugesherz at alcatel-lucent.com Thu Jul 22 09:59:44 2010 From: christian.klugesherz at alcatel-lucent.com (KLUGESHERZ, CHRISTIAN (CHRISTIAN)) Date: Thu, 22 Jul 2010 09:59:44 +0200 Subject: Run C code function in Scilab Message-ID: Hello all, There is now a long time that I try to link a simple c code to scilab. My goal is not to create a toolbox, just a simple function written in C that I want to call with scilab. I use - Win XP - MSYS + MinGW 5.1.4 - scilab 5.2.2 I tried so many thinks but it doesn't work Below my last actions.. I tried to use : - mingw-utils-0.3 --> The files has been copied to folder C:\msys\mingw - MinGW-Dynamic_link-Scilab ? ?exec builder.sce seems to be OK ? ?exec loader.sce ? ? ? ? ?doesn't work --> ?Load macros ? warning(_'MinGW make not found.')); ? ? ? ? ? ? !--error 144 Even there is a make file in mingw But I don't know if it is the right way to try to integrate the example csum.c and csum.h that we can find in C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c Please could anybody give me the whole process to convert - csub.c - csub.h with builder_c.sce and I think also - sci_csub.c with builder_gateway_c.sce And then to explain how run the c function in scilab I hope it's the right way Many thanks Regards Christian From paul.carrico at free.fr Thu Jul 22 10:09:57 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Thu, 22 Jul 2010 10:09:57 +0200 (CEST) Subject: How to increase fig size Message-ID: <1411496939.3520531279786197930.JavaMail.root@zimbra26-e5.priv.proxad.net> All How can i increase the size of the figures I generate so that i integrate it into reports for example ? is it in plot keyword ? xs2jpg one ? other ? Using the default parameters they are too small Thanks in advance Paul From bernard.hugueney at scilab.org Thu Jul 22 10:22:09 2010 From: bernard.hugueney at scilab.org (bernard.hugueney at scilab.org) Date: Thu, 22 Jul 2010 10:22:09 +0200 Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: References: Message-ID: <759e75bf0ccb7738f09e205eba156861@localhost> Hello , On Thu, 22 Jul 2010 09:59:44 +0200, "KLUGESHERZ, CHRISTIAN (CHRISTIAN)" wrote: > Hello all, > There is now a long time that I try to link a simple c code to scilab. > My goal is not to create a toolbox, just a simple function written in C > that I want to call with scilab. [...] > > But I don't know if it is the right way to try to integrate the > example csum.c and csum.h that we can find in > C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c > If you do not want to create a toolbox but just link and execute some compiled C code, I think you should rather look at "Dynamic/incremental Link " section of the manual[0], e.g ilib_for_link [1]. Best Regards, Bernard [0] http://www.scilab.org/product/man/section_eb691bc0a443eb3a95bc5db4d1be2102.html [1] http://www.scilab.org/product/man/ilib_for_link.html From mathieu.dubois at limsi.fr Thu Jul 22 10:46:21 2010 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 22 Jul 2010 10:46:21 +0200 Subject: [scilab-Users] How to increase fig size In-Reply-To: <1411496939.3520531279786197930.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <1411496939.3520531279786197930.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <4C48055D.9080101@limsi.fr> Hello Paul, > How can i increase the size of the figures I generate so that i integrate it into reports for example ? > is it in plot keyword ? > xs2jpg one ? > other ? > You can specify the figure size when creating the figure with figure() (see help figure): h=figure("figure_size", [250, 450]); Otherwise if you have a handle on the figure (for instance with h=gcf();) you can modify the figure_size property... Hope that helps, Mathieu From christian.klugesherz at alcatel-lucent.com Thu Jul 22 10:56:56 2010 From: christian.klugesherz at alcatel-lucent.com (KLUGESHERZ, CHRISTIAN (CHRISTIAN)) Date: Thu, 22 Jul 2010 10:56:56 +0200 Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: <759e75bf0ccb7738f09e205eba156861@localhost> References: <759e75bf0ccb7738f09e205eba156861@localhost> Message-ID: Many thanks Bernard It seems I took the wrong way. Ok I will try with your recommendation. Again a point. What with could be good, if I could include the c file name directly in scilab function, rather to include the c code between '...' like f1=['int ext1c(int *n, double *a, double *b, double *c)' '{int k;' ' for (k = 0; k < *n; ++k) ' ' c[k] = a[k] + b[k];' ' return(0);}']; Christian -----Message d'origine----- De?: bernard.hugueney at scilab.org [mailto:bernard.hugueney at scilab.org] Envoy??: jeudi 22 juillet 2010 10:22 ??: users at lists.scilab.org Objet?: Re: [scilab-Users] Run C code function in Scilab Hello , On Thu, 22 Jul 2010 09:59:44 +0200, "KLUGESHERZ, CHRISTIAN (CHRISTIAN)" wrote: > Hello all, > There is now a long time that I try to link a simple c code to scilab. > My goal is not to create a toolbox, just a simple function written in C > that I want to call with scilab. [...] > > But I don't know if it is the right way to try to integrate the > example csum.c and csum.h that we can find in > C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c > If you do not want to create a toolbox but just link and execute some compiled C code, I think you should rather look at "Dynamic/incremental Link " section of the manual[0], e.g ilib_for_link [1]. Best Regards, Bernard [0] http://www.scilab.org/product/man/section_eb691bc0a443eb3a95bc5db4d1be2102.html [1] http://www.scilab.org/product/man/ilib_for_link.html From mathieu.dubois at limsi.fr Thu Jul 22 11:05:59 2010 From: mathieu.dubois at limsi.fr (Mathieu Dubois) Date: Thu, 22 Jul 2010 11:05:59 +0200 Subject: [scilab-Users] Scilab Language In-Reply-To: References: Message-ID: <4C4809F7.40808@limsi.fr> Hello Miguel, > Here is my question. When I download Scilab for windows, I can choose > the language and I choose English. > But when I am working with Linux (Ubuntu), since I am Portuguese, I > use the Portuguese language definitons for Ubuntu. When I try to > install Scilab in Linux, it is allways installed in Portuguese > (Brazillian) but I want to install it in English, because i don't like > the brazillian version. I think this a ubuntu feature ;) > How can I do that? There are 2 functions that might help you: setdefaultlanguage setlanguage See the help pages. HTH, Mathieu From michael.baudin at scilab.org Thu Jul 22 13:20:42 2010 From: michael.baudin at scilab.org (=?ISO-8859-1?Q?Micha=EBl_Baudin?=) Date: Thu, 22 Jul 2010 13:20:42 +0200 Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: References: Message-ID: <4C48298A.4070109@scilab.org> Dear Christian, My guess is that dynamically linking against Scilab under Windows might be complicated with mingw. You may try to use Visual Express : http://wiki.scilab.org/Visual_Studio_C%2B%2B_2008_Express With mingw, you might be interested by the MingGW toolbox for Scilab : http://forge.scilab.org/index.php/p/MinGW-toolbox/ Executing the builder.sce then the loader is the good sequence of statements. Your problem is the Mingw message : could you display the content of the loader.sce file ? Best regards, Micha?l KLUGESHERZ, CHRISTIAN (CHRISTIAN) a ?crit : > Hello all, > There is now a long time that I try to link a simple c code to scilab. > My goal is not to create a toolbox, just a simple function written in C that I want to call with scilab. > I use > - Win XP > - MSYS + MinGW 5.1.4 > - scilab 5.2.2 > > I tried so many thinks but it doesn't work > Below my last actions.. > I tried to use : > - mingw-utils-0.3 --> The files has been copied to folder C:\msys\mingw > - MinGW-Dynamic_link-Scilab > exec builder.sce seems to be OK > exec loader.sce > doesn't work --> > Load macros > warning(_'MinGW make not found.')); > !--error 144 > > Even there is a make file in mingw > > But I don't know if it is the right way to try to integrate the > example csum.c and csum.h that we can find in > C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c > > Please could anybody give me the whole process to convert > - csub.c > - csub.h > with builder_c.sce > and I think also > - sci_csub.c > with builder_gateway_c.sce > > And then to explain how run the c function in scilab > I hope it's the right way > > Many thanks > > Regards > > Christian > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From christian.klugesherz at alcatel-lucent.com Thu Jul 22 14:35:39 2010 From: christian.klugesherz at alcatel-lucent.com (KLUGESHERZ, CHRISTIAN (CHRISTIAN)) Date: Thu, 22 Jul 2010 14:35:39 +0200 Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: <4C48298A.4070109@scilab.org> References: <4C48298A.4070109@scilab.org> Message-ID: Hello Micha?l Thanks for your information. But as explained, my goal is not to create a toolbox, just a simple function written in C that I want to call with scilab. And for the moment I don't know what kind of approach I should use For information: when I try to test example in : "Dynamic/incremental Link " proposed by Bernard. See: http://www.scilab.org/product/man/ilib_for_link.html I got haveacompiler() ans = F For: MinGW-Dynamic_link-Scilab, when I execute http://forge.scilab.org/index.php/p/MinGW-toolbox/source/tree/master/ -->exec builder.sce --> Hello all, > There is now a long time that I try to link a simple c code to scilab. > My goal is not to create a toolbox, just a simple function written in C that I want to call with scilab. > I use > - Win XP > - MSYS + MinGW 5.1.4 > - scilab 5.2.2 > > I tried so many thinks but it doesn't work > Below my last actions.. > I tried to use : > - mingw-utils-0.3 --> The files has been copied to folder C:\msys\mingw > - MinGW-Dynamic_link-Scilab > exec builder.sce seems to be OK > exec loader.sce > doesn't work --> > Load macros > warning(_'MinGW make not found.')); > !--error 144 > > Even there is a make file in mingw > > But I don't know if it is the right way to try to integrate the > example csum.c and csum.h that we can find in > C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c > > Please could anybody give me the whole process to convert > - csub.c > - csub.h > with builder_c.sce > and I think also > - sci_csub.c > with builder_gateway_c.sce > > And then to explain how run the c function in scilab > I hope it's the right way > > Many thanks > > Regards > > Christian > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 From Samuel.Gougeon at univ-lemans.fr Thu Jul 22 15:04:27 2010 From: Samuel.Gougeon at univ-lemans.fr (Samuel Gougeon) Date: Thu, 22 Jul 2010 15:04:27 +0200 Subject: [scilab-Users] Library overwritting default scilab functions In-Reply-To: <20100721214241.15412q9mhhfdef9c@webmail1.univ-lemans.fr> References: <20100721214241.15412q9mhhfdef9c@webmail1.univ-lemans.fr> Message-ID: <20100722150427.45471t3flrspvqow@webmail1.univ-lemans.fr> Samuel Gougeon a ?crit?: > Hello, > > In order to patch some bugged scilab macros without > waiting the processing of bug reports, i have gathered > a set of patches in a library. I declare this one in my > scilab.ini starting file, with lib(..) > However, the first time i use one of these functions, > the release that is called is still the default bugged one. OK, i have found what occurred. For the record: When i built the alternative binaries .bin, i did not use genlib(), because i did it one by one, for each new patch, with save("myPatch.bin", mypatch). But in some of them, several utilitary functions are defined, and i forgot to record them in the .bin with the save command. So, the automatic call to the upgraded function was correct, but it did not work due to some undefined elements. It is fixed. Sorry for the initial noise. SG From end48war at yahoo.fr Thu Jul 22 21:05:42 2010 From: end48war at yahoo.fr (azerty azerty) Date: Thu, 22 Jul 2010 12:05:42 -0700 (PDT) Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: References: <4C48298A.4070109@scilab.org> Message-ID: <231366.13130.qm@web25804.mail.ukl.yahoo.com> Hi Christian, As said by Micha?l, you have to install a C compiler on your compiler. Under windows, you can use Microsoft Visual Express or lcc (both are free). Perhaps you could use another one through MinGW but I'm not familiar with this. After that, ilib_for_link should work correctly. Best regards, Benoit ________________________________ De : "KLUGESHERZ, CHRISTIAN (CHRISTIAN)" ? : "users at lists.scilab.org" Envoy? le : Jeu 22 juillet 2010, 14h 35min 39s Objet : RE: [scilab-Users] Run C code function in Scilab Hello Micha?l Thanks for your information. But as explained, my goal is not to create a toolbox, just a simple function written in C that I want to call with scilab. And for the moment I don't know what kind of approach I should use For information: when I try to test example in : "Dynamic/incremental Link " proposed by Bernard. See: http://www.scilab.org/product/man/ilib_for_link.html I got haveacompiler() ans = F For: MinGW-Dynamic_link-Scilab, when I execute http://forge.scilab.org/index.php/p/MinGW-toolbox/source/tree/master/ -->exec builder.sce --> Hello all, > There is now a long time that I try to link a simple c code to scilab. > My goal is not to create a toolbox, just a simple function written in C that I >want to call with scilab. > > I use > - Win XP > - MSYS + MinGW 5.1.4 > - scilab 5.2.2 > > I tried so many thinks but it doesn't work > Below my last actions.. > I tried to use : > - mingw-utils-0.3 --> The files has been copied to folder C:\msys\mingw > - MinGW-Dynamic_link-Scilab > exec builder.sce seems to be OK > exec loader.sce > doesn't work --> > Load macros > warning(_'MinGW make not found.')); > !--error 144 > > Even there is a make file in mingw > > But I don't know if it is the right way to try to integrate the > example csum.c and csum.h that we can find in > C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c > > Please could anybody give me the whole process to convert > - csub.c > - csub.h > with builder_c.sce > and I think also > - sci_csub.c > with builder_gateway_c.sce > > And then to explain how run the c function in scilab > I hope it's the right way > > Many thanks > > Regards > > Christian > -- Micha?l Baudin Ing?nieur de d?veloppement michael.baudin at scilab.org ------------------------- Consortium Scilab - Digiteo Domaine de Voluceau - Rocquencourt B.P. 105 - 78153 Le Chesnay Cedex Tel. : 01 39 63 56 87 - Fax : 01 39 63 55 94 -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.klugesherz at alcatel-lucent.com Fri Jul 23 09:22:27 2010 From: christian.klugesherz at alcatel-lucent.com (KLUGESHERZ, CHRISTIAN (CHRISTIAN)) Date: Fri, 23 Jul 2010 09:22:27 +0200 Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: <231366.13130.qm@web25804.mail.ukl.yahoo.com> References: <4C48298A.4070109@scilab.org> <231366.13130.qm@web25804.mail.ukl.yahoo.com> Message-ID: Hi all OK, I downloaded * ftp://ftp.equation.com/gcc/gcc-4.5.0-32.exe * git://git.forge.scilab.org/MinGW-toolbox.git And build: builder.sce And it seems to work. builder.sce then the loader are OK Fine :-)) But now, what is the next step to include my simple c code in scilab csum.c and csum.h that we can find in C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c Thanks for all Christian ________________________________ De : azerty azerty [mailto:end48war at yahoo.fr] Envoy? : jeudi 22 juillet 2010 21:06 ? : users at lists.scilab.org Objet : [scilab-Users] Re : [scilab-Users] Run C code function in Scilab Hi Christian, As said by Micha?l, you have to install a C compiler on your compiler. Under windows, you can use Microsoft Visual Express or lcc (both are free). Perhaps you could use another one through MinGW but I'm not familiar with this. After that, ilib_for_link should work correctly. Best regards, Benoit -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.klugesherz at free.fr Thu Jul 22 23:15:05 2010 From: christian.klugesherz at free.fr (christian Klugesherz) Date: Thu, 22 Jul 2010 23:15:05 +0200 Subject: [scilab-Users] Run C code function in Scilab Message-ID: <20100722211513.E3F54D480F7@smtp5-g21.free.fr> Ok, But I have a compliler: gcc -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Fri Jul 23 10:59:49 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Fri, 23 Jul 2010 10:59:49 +0200 (CEST) Subject: how to use handle to chane figure size In-Reply-To: <1611375758.3638551279875422903.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <2111477131.3638891279875589076.JavaMail.root@zimbra26-e5.priv.proxad.net> All, Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! basically I used until now : clf(0) xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") plot(TRACTION(:,3),TRACTION(:,4)) xs2jpg(0,'essais_traction.jpg'); and after reading the 'help figure_properties' I try several things by I failed each time .. So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? Thanks in advance Paul From christian.klugesherz at alcatel-lucent.com Fri Jul 23 11:15:29 2010 From: christian.klugesherz at alcatel-lucent.com (KLUGESHERZ, CHRISTIAN (CHRISTIAN)) Date: Fri, 23 Jul 2010 11:15:29 +0200 Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: References: <4C48298A.4070109@scilab.org> <231366.13130.qm@web25804.mail.ukl.yahoo.com> Message-ID: Ok, Finally I tried to follow the example "addinter.c" in unit_tests directory (See also below) With "addinter.c" in a specific directory: When I run in Scilab // Chemin de MinGW-toolbox root_path = getenv('TOOLBOX_MINGW_PATH', 'D:\Documents and Settings\KLUGES1\My Documents\Perso\Simul_scilab_c\Install_Simul_C_Scilab\MinGW-toolbox'); exec(root_path + '\loader.sce'); Mingw Compiler support for Scilab Load macros Load help --------> (As I said it's OK :-) ) --------> (Now to the issue) files=['addinter.c']; ilib_build('libintertest',['scifun1','intfun1'],files,[]); I got -->ilib_build('libintertest',['scifun1','intfun1'],files,[]); Generate a gateway file Generate a loader file Generate a Makefile: Makelib !--error 144 Undefined operation for the given operands. check or define function %b_a_c for overloading. at line 54 of function dlwGenerateMakefile called by : at line 68 of function ilib_gen_Make called by : at line 96 of function ilib_build called by : ilib_build('libintertest',['scifun1','intfun1'],files,[]); Please could you help Thanks Christian PS: File: "addinter.c" #include #include "stack-c.h" static double fun2(double x); void fun1(double *x,double *y) { *y=fun2(*x)/(*x); } static double fun2(double x) { return( sin(x+1)); } int intfun1(char *fname) { int m1,n1,l1; CheckRhs(1,1); CheckLhs(1,1); GetRhsVar(1, MATRIX_OF_DOUBLE_DATATYPE, &m1, &n1, &l1); fun1(stk(l1),stk(l1)); LhsVar(1) = 1; return 0; } ________________________________ De : KLUGESHERZ, CHRISTIAN (CHRISTIAN) [mailto:christian.klugesherz at alcatel-lucent.com] Envoy? : vendredi 23 juillet 2010 09:22 ? : users at lists.scilab.org Objet : RE: [scilab-Users] Run C code function in Scilab Hi all OK, I downloaded * ftp://ftp.equation.com/gcc/gcc-4.5.0-32.exe * git://git.forge.scilab.org/MinGW-toolbox.git And build: builder.sce And it seems to work. builder.sce then the loader are OK Fine :-)) But now, what is the next step to include my simple c code in scilab csum.c and csum.h that we can find in C:\Program Files\scilab-5.3.0-beta-1\contrib\toolbox_skeleton\src\c Thanks for all Christian ________________________________ De : azerty azerty [mailto:end48war at yahoo.fr] Envoy? : jeudi 22 juillet 2010 21:06 ? : users at lists.scilab.org Objet : [scilab-Users] Re : [scilab-Users] Run C code function in Scilab Hi Christian, As said by Micha?l, you have to install a C compiler on your compiler. Under windows, you can use Microsoft Visual Express or lcc (both are free). Perhaps you could use another one through MinGW but I'm not familiar with this. After that, ilib_for_link should work correctly. Best regards, Benoit -------------- next part -------------- An HTML attachment was scrubbed... URL: From Johannes-Graus at web.de Fri Jul 23 11:21:54 2010 From: Johannes-Graus at web.de (Johannes Graus) Date: Fri, 23 Jul 2010 11:21:54 +0200 Subject: AW: [scilab-Users] how to use handle to chane figure size In-Reply-To: <2111477131.3638891279875589076.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <1611375758.3638551279875422903.JavaMail.root@zimbra26-e5.priv.proxad.net> <2111477131.3638891279875589076.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <001d01cb2a48$7dd760b0$79862210$@de> Hi, here's an example of how I would set a different figure size. I hope it will help you! mode(0); xdel(winsid()) //Close all figures clear clc f = figure(); //create figure with handle f f //Show parameters of figure object f.figure_size = [600, 400]; //change size of figure window scf(f); //Choose f as current figure if multiple figure windows are used plot(sin(0:.01:2*%pi)); Yours, Johannes -----Urspr?ngliche Nachricht----- Von: paul.carrico at free.fr [mailto:paul.carrico at free.fr] Gesendet: Freitag, 23. Juli 2010 11:00 An: users at lists.scilab.org Betreff: [scilab-Users] how to use handle to chane figure size All, Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! basically I used until now : clf(0) xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") plot(TRACTION(:,3),TRACTION(:,4)) xs2jpg(0,'essais_traction.jpg'); and after reading the 'help figure_properties' I try several things by I failed each time .. So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? Thanks in advance Paul From Francis.Drossaert at pgs.com Fri Jul 23 11:23:20 2010 From: Francis.Drossaert at pgs.com (Francis Drossaert) Date: Fri, 23 Jul 2010 10:23:20 +0100 Subject: [scilab-Users] how to use handle to chane figure size In-Reply-To: <2111477131.3638891279875589076.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <1611375758.3638551279875422903.JavaMail.root@zimbra26-e5.priv.proxad.net> <2111477131.3638891279875589076.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <31F3753170EA6B45A8DA96C0FD58E026AAFF022F@lonms20.onshore.pgs.com> Not sure where the problem is? You cannot change the figure size at all or change the size of the output. Try this: hdl = gcf(); // get handle of figure hdl.figure_size = [ 800, 700 ]; // change the size to 800x700 or whatever you want Francis -----Original Message----- From: paul.carrico at free.fr [mailto:paul.carrico at free.fr] Sent: 23 July 2010 10:00 To: users at lists.scilab.org Subject: [scilab-Users] how to use handle to chane figure size All, Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! basically I used until now : clf(0) xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") plot(TRACTION(:,3),TRACTION(:,4)) xs2jpg(0,'essais_traction.jpg'); and after reading the 'help figure_properties' I try several things by I failed each time .. So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? Thanks in advance Paul This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author. From christian.klugesherz at alcatel-lucent.com Fri Jul 23 15:21:48 2010 From: christian.klugesherz at alcatel-lucent.com (KLUGESHERZ, CHRISTIAN (CHRISTIAN)) Date: Fri, 23 Jul 2010 15:21:48 +0200 Subject: [scilab-Users] Run C code function in Scilab In-Reply-To: References: <4C48298A.4070109@scilab.org> <231366.13130.qm@web25804.mail.ukl.yahoo.com> Message-ID: Hello Does-nobody has an idea relative to my quest. :-( I'm sure that I should be very close to the goal. Thanks in advance Christian ________________________________ De : KLUGESHERZ, CHRISTIAN (CHRISTIAN) [mailto:christian.klugesherz at alcatel-lucent.com] Envoy? : vendredi 23 juillet 2010 11:15 ? : users at lists.scilab.org Objet : RE: [scilab-Users] Run C code function in Scilab Ok, Finally I tried the example "addinter.c" in unit_tests directory (See code below) With "addinter.c" in my working directory: When I run in Scilab // Chemin de MinGW-toolbox root_path = getenv('TOOLBOX_MINGW_PATH', 'D:\Documents and Settings\KLUGES1\My Documents\Perso\Simul_scilab_c\Install_Simul_C_Scilab\MinGW-toolbox'); exec(root_path + '\loader.sce'); Mingw Compiler support for Scilab Load macros Load help --------> (As I said it's OK :-) ) --------> (Now to the issue) files=['addinter.c']; ilib_build('libintertest',['scifun1','intfun1'],files,[]); I got -->ilib_build('libintertest',['scifun1','intfun1'],files,[]); Generate a gateway file Generate a loader file Generate a Makefile: Makelib !--error 144 Undefined operation for the given operands. check or define function %b_a_c for overloading. at line 54 of function dlwGenerateMakefile called by : at line 68 of function ilib_gen_Make called by : at line 96 of function ilib_build called by : ilib_build('libintertest',['scifun1','intfun1'],files,[]); Please could you help Thanks Christian PS: File: "addinter.c" #include #include "stack-c.h" static double fun2(double x); void fun1(double *x,double *y) { *y=fun2(*x)/(*x); } static double fun2(double x) { return( sin(x+1)); } int intfun1(char *fname) { int m1,n1,l1; CheckRhs(1,1); CheckLhs(1,1); GetRhsVar(1, MATRIX_OF_DOUBLE_DATATYPE, &m1, &n1, &l1); fun1(stk(l1),stk(l1)); LhsVar(1) = 1; return 0; } -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at free.fr Fri Jul 23 15:40:54 2010 From: paul.carrico at free.fr (paul.carrico at free.fr) Date: Fri, 23 Jul 2010 15:40:54 +0200 (CEST) Subject: AW: [scilab-Users] how to use handle to chane figure size In-Reply-To: <897682323.3668091279892442079.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <669278839.3668141279892454391.JavaMail.root@zimbra26-e5.priv.proxad.net> All, thanks for this first examples ... An additional question regarding title and lables ... indeed in the following handle both tite and label are not supported : how can I proceed ? f = figure(); // creation de la figure avec identifiant f f // affiche les parametres de f f.figure_size = [1000, 1000]; // d?finition de la taille de la figure f.background = color(245,245,245); // couleur arri?re-plan de la figure f.title.text = "Resultat TRACTION"; // titre f.x_label = "Epsilon [-]"; // nom axe X f.y_label = "Sigma [MPa]"; // nom axe Y scf(f); // permet ? la figure f de devenir la figure courante si plusieurs figures plot(TRACTION(:,3),TRACTION(:,4)) PC ----- Mail Original ----- De: "Johannes Graus" ?: users at lists.scilab.org Envoy?: Vendredi 23 Juillet 2010 11h21:54 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: AW: [scilab-Users] how to use handle to chane figure size Hi, here's an example of how I would set a different figure size. I hope it will help you! mode(0); xdel(winsid()) //Close all figures clear clc f = figure(); //create figure with handle f f //Show parameters of figure object f.figure_size = [600, 400]; //change size of figure window scf(f); //Choose f as current figure if multiple figure windows are used plot(sin(0:.01:2*%pi)); Yours, Johannes -----Urspr?ngliche Nachricht----- Von: paul.carrico at free.fr [mailto:paul.carrico at free.fr] Gesendet: Freitag, 23. Juli 2010 11:00 An: users at lists.scilab.org Betreff: [scilab-Users] how to use handle to chane figure size All, Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! basically I used until now : clf(0) xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") plot(TRACTION(:,3),TRACTION(:,4)) xs2jpg(0,'essais_traction.jpg'); and after reading the 'help figure_properties' I try several things by I failed each time .. So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? Thanks in advance Paul From al.bertho at free.fr Fri Jul 23 19:14:26 2010 From: al.bertho at free.fr (alain) Date: Fri, 23 Jul 2010 19:14:26 +0200 Subject: AW: [scilab-Users] how to use handle to chane figure size In-Reply-To: <669278839.3668141279892454391.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <669278839.3668141279892454391.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <4C49CDF2.8090905@free.fr> Dear Paul, You should have a look to the xtitle(title,x_label,y_label) function... Alain paul.carrico at free.fr a ?crit : > All, > > thanks for this first examples ... > > An additional question regarding title and lables ... indeed in the following handle both tite and label are not supported : how can I proceed ? > > f = figure(); // creation de la figure avec identifiant f > f // affiche les parametres de f > f.figure_size = [1000, 1000]; // d?finition de la taille de la figure > f.background = color(245,245,245); // couleur arri?re-plan de la figure > f.title.text = "Resultat TRACTION"; // titre > f.x_label = "Epsilon [-]"; // nom axe X > f.y_label = "Sigma [MPa]"; // nom axe Y > scf(f); // permet ? la figure f de devenir la figure courante si plusieurs figures > plot(TRACTION(:,3),TRACTION(:,4)) > > PC > > > > ----- Mail Original ----- > De: "Johannes Graus" > ?: users at lists.scilab.org > Envoy?: Vendredi 23 Juillet 2010 11h21:54 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: AW: [scilab-Users] how to use handle to chane figure size > > Hi, > > here's an example of how I would set a different figure size. I hope it will help you! > > > mode(0); > xdel(winsid()) //Close all figures > clear > clc > > f = figure(); //create figure with handle f > f //Show parameters of figure object > f.figure_size = [600, 400]; //change size of figure window > scf(f); //Choose f as current figure if multiple figure windows are used > plot(sin(0:.01:2*%pi)); > > > Yours, > > Johannes > > > > -----Urspr?ngliche Nachricht----- > Von: paul.carrico at free.fr [mailto:paul.carrico at free.fr] > Gesendet: Freitag, 23. Juli 2010 11:00 > An: users at lists.scilab.org > Betreff: [scilab-Users] how to use handle to chane figure size > > All, > > Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! > > basically I used until now : > clf(0) > xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") > plot(TRACTION(:,3),TRACTION(:,4)) > xs2jpg(0,'essais_traction.jpg'); > > and after reading the 'help figure_properties' I try several things by I failed each time .. > > So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? > > Thanks in advance > > Paul > > > From paul.carrico at free.fr Sat Jul 24 12:47:34 2010 From: paul.carrico at free.fr (Paul CARRICO) Date: Sat, 24 Jul 2010 12:47:34 +0200 Subject: AW: [scilab-Users] how to use handle to chane figure size In-Reply-To: <4C49CDF2.8090905@free.fr> References: <669278839.3668141279892454391.JavaMail.root@zimbra26-e5.priv.proxad.net> <4C49CDF2.8090905@free.fr> Message-ID: <000b01cb2b1d$a09ed1c0$e1dc7540$@carrico@free.fr> Dear all Of course if works however I would like to have access to the text features (size, policy and so on) => I need to understand the handles "logical" ! In the following text for example, the label are not taken into account in the fig : why ? Regards Paul clf(0) xgrid(3); f = gcf(); // creation de la figure avec identifiant f //f // affiche les parametres de f f.figure_size = [1000, 1000]; // d?finition de la taille de la figure f.background = color(245,245,245); // couleur arri?re-plan de la figure fc = f.children; fc.title.text = "Resultat TRACTION"; a = gca(); //a ac = a.children ac.x_label = "Epsilon [-]"; // nom axe X ac.y_label = "Sigma [MPa]"; // nom axe Y scf(f); // permet ? la figure f de devenir la figure courante si plusieurs figures plot(TRACTION(:,3),TRACTION(:,4),thickness=2) xs2jpg(0,'essais_traction.jpg'); // permet d'exporter le graphe dans une image jpg -----Message d'origine----- De : alain [mailto:al.bertho at free.fr] Envoy? : vendredi 23 juillet 2010 19:14 ? : users at lists.scilab.org Objet : Re: AW: [scilab-Users] how to use handle to chane figure size Dear Paul, You should have a look to the xtitle(title,x_label,y_label) function... Alain paul.carrico at free.fr a ?crit : > All, > > thanks for this first examples ... > > An additional question regarding title and lables ... indeed in the following handle both tite and label are not supported : how can I proceed ? > > f = figure(); // creation de la figure avec identifiant f > f // affiche les parametres de f > f.figure_size = [1000, 1000]; // d?finition de la taille de la figure > f.background = color(245,245,245); // couleur arri?re-plan de la figure > f.title.text = "Resultat TRACTION"; // titre > f.x_label = "Epsilon [-]"; // nom axe X > f.y_label = "Sigma [MPa]"; // nom axe Y > scf(f); // permet ? la figure f de devenir la figure courante si plusieurs figures > plot(TRACTION(:,3),TRACTION(:,4)) > > PC > > > > ----- Mail Original ----- > De: "Johannes Graus" > ?: users at lists.scilab.org > Envoy?: Vendredi 23 Juillet 2010 11h21:54 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: AW: [scilab-Users] how to use handle to chane figure size > > Hi, > > here's an example of how I would set a different figure size. I hope it will help you! > > > mode(0); > xdel(winsid()) //Close all figures > clear > clc > > f = figure(); //create figure with handle f > f //Show parameters of figure object > f.figure_size = [600, 400]; //change size of figure window > scf(f); //Choose f as current figure if multiple figure windows are used > plot(sin(0:.01:2*%pi)); > > > Yours, > > Johannes > > > > -----Urspr?ngliche Nachricht----- > Von: paul.carrico at free.fr [mailto:paul.carrico at free.fr] > Gesendet: Freitag, 23. Juli 2010 11:00 > An: users at lists.scilab.org > Betreff: [scilab-Users] how to use handle to chane figure size > > All, > > Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! > > basically I used until now : > clf(0) > xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") > plot(TRACTION(:,3),TRACTION(:,4)) > xs2jpg(0,'essais_traction.jpg'); > > and after reading the 'help figure_properties' I try several things by I failed each time .. > > So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? > > Thanks in advance > > Paul > > > From paul.carrico at free.fr Sat Jul 24 19:42:08 2010 From: paul.carrico at free.fr (Paul CARRICO) Date: Sat, 24 Jul 2010 19:42:08 +0200 Subject: AW: [scilab-Users] how to use handle to chane figure size In-Reply-To: <000b01cb2b1d$a09ed1c0$e1dc7540$@carrico@free.fr> References: <669278839.3668141279892454391.JavaMail.root@zimbra26-e5.priv.proxad.net> <4C49CDF2.8090905@free.fr> <000b01cb2b1d$a09ed1c0$e1dc7540$@carrico@free.fr> Message-ID: <000001cb2b57$8ad735a0$a085a0e0$@carrico@free.fr> Finally I think I begin to understand how to proceed :-)))))))))))))) While some aspects are a bit confusing for the moment Paul clf(0) drawlater(); xgrid(3); f = gcf(); // Active le handle "Figure" //f // affiche les parametres de f f.figure_size = [1000, 1000]; // d?finition de la taille de la figure f.background = color(245,245,245); // couleur arri?re-plan de la figure a = gca(); // Active le handle "Axes" //a // affiche les propri?t?s du handle "Axes" a.font_size = 2; // taille des chiffres des axes (font_size = enfant de a = "axes") a.x_label.text = "Epsilon [-]"; // nom axe X (text = enfant de x_label) a.x_label.font_size = 4; // definition de la taille des caract?res (font_size = enfant de x_label) a.y_label.text = "Sigma [MPa]"; a.Y_label.font_size = 4; a.title.text ="Resultat TRACTION"; // titre de la figure a.title.font_size = 5; a.line_style = 1; // definition du style des axes plot(TRACTION(:,3),TRACTION(:,4)) e = gce() // permet d'activer le handle "Entity" c-a-d celui de la courbe trac?e p = e.children // polyline = children de entiey p.thickness = 3 ; //p.line_style = 1; //p.mark_mode = "on" //p.mark_style = 4; drawnow(); xs2jpg(0,'essais_traction.jpg'); // permet d'exporter le graphe dans une image jpg //clf(0) // permet d'effacer la figure -----Message d'origine----- De : Paul CARRICO [mailto:paul.carrico at free.fr] Envoy? : samedi 24 juillet 2010 12:48 ? : users at lists.scilab.org Objet : RE: AW: [scilab-Users] how to use handle to chane figure size Dear all Of course if works however I would like to have access to the text features (size, policy and so on) => I need to understand the handles "logical" ! In the following text for example, the label are not taken into account in the fig : why ? Regards Paul clf(0) xgrid(3); f = gcf(); // creation de la figure avec identifiant f //f // affiche les parametres de f f.figure_size = [1000, 1000]; // d?finition de la taille de la figure f.background = color(245,245,245); // couleur arri?re-plan de la figure fc = f.children; fc.title.text = "Resultat TRACTION"; a = gca(); //a ac = a.children ac.x_label = "Epsilon [-]"; // nom axe X ac.y_label = "Sigma [MPa]"; // nom axe Y scf(f); // permet ? la figure f de devenir la figure courante si plusieurs figures plot(TRACTION(:,3),TRACTION(:,4),thickness=2) xs2jpg(0,'essais_traction.jpg'); // permet d'exporter le graphe dans une image jpg -----Message d'origine----- De : alain [mailto:al.bertho at free.fr] Envoy? : vendredi 23 juillet 2010 19:14 ? : users at lists.scilab.org Objet : Re: AW: [scilab-Users] how to use handle to chane figure size Dear Paul, You should have a look to the xtitle(title,x_label,y_label) function... Alain paul.carrico at free.fr a ?crit : > All, > > thanks for this first examples ... > > An additional question regarding title and lables ... indeed in the following handle both tite and label are not supported : how can I proceed ? > > f = figure(); // creation de la figure avec identifiant f > f // affiche les parametres de f > f.figure_size = [1000, 1000]; // d?finition de la taille de la figure > f.background = color(245,245,245); // couleur arri?re-plan de la figure > f.title.text = "Resultat TRACTION"; // titre > f.x_label = "Epsilon [-]"; // nom axe X > f.y_label = "Sigma [MPa]"; // nom axe Y > scf(f); // permet ? la figure f de devenir la figure courante si plusieurs figures > plot(TRACTION(:,3),TRACTION(:,4)) > > PC > > > > ----- Mail Original ----- > De: "Johannes Graus" > ?: users at lists.scilab.org > Envoy?: Vendredi 23 Juillet 2010 11h21:54 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne > Objet: AW: [scilab-Users] how to use handle to chane figure size > > Hi, > > here's an example of how I would set a different figure size. I hope it will help you! > > > mode(0); > xdel(winsid()) //Close all figures > clear > clc > > f = figure(); //create figure with handle f > f //Show parameters of figure object > f.figure_size = [600, 400]; //change size of figure window > scf(f); //Choose f as current figure if multiple figure windows are used > plot(sin(0:.01:2*%pi)); > > > Yours, > > Johannes > > > > -----Urspr?ngliche Nachricht----- > Von: paul.carrico at free.fr [mailto:paul.carrico at free.fr] > Gesendet: Freitag, 23. Juli 2010 11:00 > An: users at lists.scilab.org > Betreff: [scilab-Users] how to use handle to chane figure size > > All, > > Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! > > basically I used until now : > clf(0) > xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") > plot(TRACTION(:,3),TRACTION(:,4)) > xs2jpg(0,'essais_traction.jpg'); > > and after reading the 'help figure_properties' I try several things by I failed each time .. > > So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? > > Thanks in advance > > Paul > > > From aac.campos at gmail.com Mon Jul 26 02:49:38 2010 From: aac.campos at gmail.com (Alexandre Campos) Date: Sun, 25 Jul 2010 21:49:38 -0300 Subject: emacs lisp-mode inactive commands Message-ID: Dear list, I`m trying scilab ... using emacs, but in spite of I can open the scilab-mode, the "save and exec" comand in the scilab menu is inactive (hide), how can I execute the file from emacs? Thanks in advance, alexandre -- "No man can serve two masters; for either he will hate the one, and love the other; or else he will hold to the one, and despise the other. Ye cannot serve God and mammon." Matthew 6:24 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Andreas.Stewering-Bone at gmx.de Mon Jul 26 08:30:53 2010 From: Andreas.Stewering-Bone at gmx.de (Andreas Stewering-Bone) Date: Mon, 26 Jul 2010 08:30:53 +0200 Subject: Includes of XCos Block In-Reply-To: <1276262428.8254.35.camel@zlarin> References: <1276262428.8254.35.camel@zlarin> Message-ID: <201007260830.53724.Andreas.Stewering-Bone@gmx.de> Hello, I am trying to compile selfmade Xcos Blocks. I am using the prebuild Linux Master Branch 1279908969 But there is a problem with the included header files. I try to include SCI+/include/scilab/scicos_blocks/scicos_block4.h But this file depends on scicos_math.h But this file is not existend in the binary version. In the GIT repository it exists under scilab/modules/scicos/includes Generally it would be helpfull to have one or more scilab variables with the fix include paths for xcos compilation. Greatings Andreas From pvonnied at gmail.com Mon Jul 26 12:03:03 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Mon, 26 Jul 2010 12:03:03 +0200 Subject: Plot overlays on images Message-ID: Hi all As I've already found out (see the thread "Quiver on an image (SIVP toolbox)") it is not possible to use the plotting functionality of Scilab with the SIVP 'imshow' function. The IDP toolbox, however, has a function ('ShowImage') that uses the Scilab plotting context. So mixing plots from functions and images is possible. Unfortunately, there is one problem: the alignment (orientation) of the plots and the images. As soon as the figure is created, it is no longer possible to adjust the plots/images independently (say, to rotate the plot to match a predefined orientation given by the image). Is there a Scilab function to a) rotate an image b) rotate a child of a compound (for plotting) See the attached screenshot (example.jpg), where the quiver (black vector field) should be rotated by 90?. Thank you very much for a hint Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: example.jpg Type: image/jpeg Size: 87461 bytes Desc: not available URL: From Francis.Drossaert at pgs.com Fri Jul 23 15:57:24 2010 From: Francis.Drossaert at pgs.com (Francis Drossaert) Date: Fri, 23 Jul 2010 14:57:24 +0100 Subject: AW: [scilab-Users] how to use handle to chane figure size In-Reply-To: <669278839.3668141279892454391.JavaMail.root@zimbra26-e5.priv.proxad.net> References: <897682323.3668091279892442079.JavaMail.root@zimbra26-e5.priv.proxad.net> <669278839.3668141279892454391.JavaMail.root@zimbra26-e5.priv.proxad.net> Message-ID: <31F3753170EA6B45A8DA96C0FD58E026AAFF0234@lonms20.onshore.pgs.com> The figure handle deals with general outlay of the figure and often is referred as the parent. Another handle is called the axes handle which is a child of the figure parent. The title and labels and the most information regarding your plot can be found there. You can access it through the parent like this: f.children(1) // to view the child of parent handle f. f.children(1).title = "new name"; // change the title entity of first child of parent handle f. Note that the (1) refers to number of children. Subplots typically have one parent and multiple children axes entities, although you could move them in one child entity, but let us not go there. or my preferred method is to create an axes handle: ahdl = gca() // get current axes handle (similar like gcf() ) ahdl.title = "new name" // change the title ahdl.font_size = 3 // change the font size etc. Cheers, Francis -----Original Message----- From: paul.carrico at free.fr [mailto:paul.carrico at free.fr] Sent: 23 July 2010 14:41 To: users at lists.scilab.org Subject: Re: AW: [scilab-Users] how to use handle to chane figure size All, thanks for this first examples ... An additional question regarding title and lables ... indeed in the following handle both tite and label are not supported : how can I proceed ? f = figure(); // creation de la figure avec identifiant f f // affiche les parametres de f f.figure_size = [1000, 1000]; // d?finition de la taille de la figure f.background = color(245,245,245); // couleur arri?re-plan de la figure f.title.text = "Resultat TRACTION"; // titre f.x_label = "Epsilon [-]"; // nom axe X f.y_label = "Sigma [MPa]"; // nom axe Y scf(f); // permet ? la figure f de devenir la figure courante si plusieurs figures plot(TRACTION(:,3),TRACTION(:,4)) PC ----- Mail Original ----- De: "Johannes Graus" ?: users at lists.scilab.org Envoy?: Vendredi 23 Juillet 2010 11h21:54 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: AW: [scilab-Users] how to use handle to chane figure size Hi, here's an example of how I would set a different figure size. I hope it will help you! mode(0); xdel(winsid()) //Close all figures clear clc f = figure(); //create figure with handle f f //Show parameters of figure object f.figure_size = [600, 400]; //change size of figure window scf(f); //Choose f as current figure if multiple figure windows are used plot(sin(0:.01:2*%pi)); Yours, Johannes -----Urspr?ngliche Nachricht----- Von: paul.carrico at free.fr [mailto:paul.carrico at free.fr] Gesendet: Freitag, 23. Juli 2010 11:00 An: users at lists.scilab.org Betreff: [scilab-Users] how to use handle to chane figure size All, Ahhhhhhhhhhhhhh ... i'm spending (and wasting) a lot of time to understand how to use handles to increase the figure size !!! basically I used until now : clf(0) xtitle("Resultat TRACTION","epsilon [-]","sigma [MPa]") plot(TRACTION(:,3),TRACTION(:,4)) xs2jpg(0,'essais_traction.jpg'); and after reading the 'help figure_properties' I try several things by I failed each time .. So can somebody share a part of a code to change this *$+&&%%%:-(((( size ? Thanks in advance Paul This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author. From haraldgalda at yahoo.com Mon Jul 26 16:03:50 2010 From: haraldgalda at yahoo.com (Harald Galda, Dr. Eng. (J)) Date: Mon, 26 Jul 2010 07:03:50 -0700 (PDT) Subject: AW: [scilab-Users] Plot overlays on images In-Reply-To: References: Message-ID: <652306.94854.qm@web112604.mail.gq1.yahoo.com> Hi Peter, > Is there a Scilab function to > a) rotate an image > b) rotate a child of a compound (for plotting) Unfortunately such a function does not exist in IPD. I am not sure whether or not something like that exists in Scilab. It seems you have to re-calculate the component you want to rotate and plot everything again. Harald From communication at scilab.org Wed Jul 28 16:34:08 2010 From: communication at scilab.org (Scilab Communication) Date: Wed, 28 Jul 2010 16:34:08 +0200 Subject: Release of Scilab 5.3.0 - beta 2 Message-ID: <4C503FE0.3060603@scilab.org> Dear all, The Scilab R&D Team is pleased to announce the release of Scilab 5.3.0 beta 2. Download and information can be found at: http://www.scilab.org/en/products/scilab/download/5.3.0-beta-2 We invite you to test this beta version and to report possible bugs on Scilab bug tracker at: 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 sanjeev211988 at gmail.com Thu Jul 29 15:35:29 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Thu, 29 Jul 2010 16:35:29 +0300 Subject: Problems primarily with super blocks in Xcos. Message-ID: I have been using the Xcos super blocks extensively and I have faced many problems and the problem persists in the nighty build scilab-master-1279908969. Some of the problems are: 1) Xcos is very unstable when it comes to using super blocks and hangs a lot of times and the user is left with no choice but to restart it all over again. 2) Nested super-blocks do not open (for e.g, a super block 'a' in super block 'b' which in turn is in super block 'c' then contents of super block 'a' are lost) and most of the times it is impossible to make changes to an existing super block. 3) I have made an Xcos model (file size around 3 MB) and the code generator is not able to generate code. Please help me on the above stated problems and let me know if there is any versions availiable which solves the problem? Or is it the case that these problems would be dealt with in the coming nightly builds? -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann.collette at scilab.org Thu Jul 29 15:39:55 2010 From: yann.collette at scilab.org (Collette yann) Date: Thu, 29 Jul 2010 15:39:55 +0200 Subject: [scilab-Users] Problems primarily with super blocks in Xcos. In-Reply-To: References: Message-ID: <4C5184AB.7060409@scilab.org> Hello, Can you fill bug reports for each of the problems you highlight ? See at http://bugzilla.scilab.org Add examples in your bug reports if possible. Yann COLLETTE Le 29/07/2010 15:35, sanjeev pandey a ?crit : > I have been using the Xcos super blocks extensively and I have faced > many problems and the problem persists in the nighty build > scilab-master-1279908969. Some of the problems are: > > 1) Xcos is very unstable when it comes to using super blocks and hangs > a lot of times and the user is left with no choice but to restart it > all over again. > > 2) Nested super-blocks do not open (for e.g, a super block 'a' in > super block 'b' which in turn is in super block 'c' then contents of > super block 'a' are lost) and most of the times it is impossible to > make changes to an existing super block. > > 3) I have made an Xcos model (file size around 3 MB) and the code > generator is not able to generate code. > > > Please help me on the above stated problems and let me know if there > is any versions availiable which solves the problem? > > Or is it the case that these problems would be dealt with in the > coming nightly builds? > > -- > Sanjeev Pandey > > Graduate Student, > Process Systems Engineering > Helsinki University of Technology,Finland From yann.collette at scilab.org Thu Jul 29 15:51:04 2010 From: yann.collette at scilab.org (Collette yann) Date: Thu, 29 Jul 2010 15:51:04 +0200 Subject: [scilab-Users] Problems primarily with super blocks in Xcos. In-Reply-To: References: Message-ID: <4C518748.7030107@scilab.org> Le 29/07/2010 15:35, sanjeev pandey a ?crit : > I have been using the Xcos super blocks extensively and I have faced > many problems and the problem persists in the nighty build > scilab-master-1279908969. Some of the problems are: > > 1) Xcos is very unstable when it comes to using super blocks and hangs > a lot of times and the user is left with no choice but to restart it > all over again. > > 2) Nested super-blocks do not open (for e.g, a super block 'a' in > super block 'b' which in turn is in super block 'c' then contents of > super block 'a' are lost) and most of the times it is impossible to > make changes to an existing super block. > Maybe you can try to use a recent nightly build. A lot of bugs have been fixed in xcos in the last days. Super block work nearly fine on the last master. > 3) I have made an Xcos model (file size around 3 MB) and the code > generator is not able to generate code. > Do you have a specify error message for this case ? YC From sanjeev211988 at gmail.com Thu Jul 29 16:23:19 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Thu, 29 Jul 2010 17:23:19 +0300 Subject: [scilab-Users] Problems primarily with super blocks in Xcos. In-Reply-To: <4C518748.7030107@scilab.org> References: <4C518748.7030107@scilab.org> Message-ID: On Thu, Jul 29, 2010 at 4:51 PM, Collette yann wrote: > Le 29/07/2010 15:35, sanjeev pandey a ?crit : > >> I have been using the Xcos super blocks extensively and I have faced many >> problems and the problem persists in the nighty build >> scilab-master-1279908969. Some of the problems are: >> >> >> 1) Xcos is very unstable when it comes to using super blocks and hangs a >> lot of times and the user is left with no choice but to restart it all over >> again. >> >> 2) Nested super-blocks do not open (for e.g, a super block 'a' in super >> block 'b' which in turn is in super block 'c' then contents of super block >> 'a' are lost) and most of the times it is impossible to make changes to an >> existing super block. >> >> > Maybe you can try to use a recent nightly build. A lot of bugs have been > fixed in xcos in the last days. > Super block work nearly fine on the last master. > > I am going to test the beta 2 and master 1280..... versions, lets see if > they are of help. > >> 3) I have made an Xcos model (file size around 3 MB) and the code >> generator is not able to generate code. >> >> Do you have a specify error message for this case ? > I do not get any error message..can it be becasue i am using a scifunc block inside the super block ? > > YC > -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From pvonnied at gmail.com Thu Jul 29 17:49:08 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Thu, 29 Jul 2010 17:49:08 +0200 Subject: Scilab 5.2.2 with SIVP 0.5.3 under Mac OS X 10.6 Message-ID: Hi all, I'm trying to run the SIVP toolbox under Mac OS X with version 5.2.2 of Scilab. I installed OpenCV 2.0.0 via MacPorts. So far no problems. I could also build the SIVP toolbox by exec('builder.sci'). Upon loading SIVP via the Toolboxes entry, I get the following message: ---dump--- Startup execution: loading initial environment Start SIVP - Scilab Image and Video Processing Toolbox Load macros Load gateways addinter(libsivp_path+'/libsivp.dylib','libsivp',list_functions); !--error 236 addinter: The shared archive was not loaded: dlopen(/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.3/sci_gateway/c//libsivp.dylib, 10): Symbol not found: _cvAbsDiff Referenced from: /Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.3/sci_gateway/c//libsivp.dylib Expected in: flat namespace in /Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.3/sci_gateway/c//libsivp.dylib at line 38 of exec file called by : exec('loader.sce'); at line 21 of exec file called by : exec(pathconvert(root_tlbx+"/sci_gateway/loader_gateway.sce",%f)); at line 61 of exec file called by : exec(root_tlbx+'etc/'+'SIVP.start'); at line 12 of exec file called by : exec("/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.3/loader.sce"); in execstr instruction called by : if exists("gcbo") then %oldgcbo = gcbo; end;gcbo = getcallbackobject(5);execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldgcbo; else clear gcbo; end; while executing a callback ---dump--- Apparently there's a function "_cvAbsDiff" missing in the dynamic library. I did a similar install on Ubuntu (Scilab 5.2.2, SIVP 0.5.3 and OpenCV 2.0.0) and encountered no problems. Any hints? Merci, Peter From sylvestre.ledru at scilab.org Thu Jul 29 17:52:55 2010 From: sylvestre.ledru at scilab.org (Sylvestre Ledru) Date: Thu, 29 Jul 2010 17:52:55 +0200 Subject: [scilab-Users] Scilab 5.2.2 with SIVP 0.5.3 under Mac OS X 10.6 In-Reply-To: References: Message-ID: <1280418775.27645.3192.camel@korcula.inria.fr> Hello again Peter, Le jeudi 29 juillet 2010 ? 17:49 +0200, Peter von Niederhaeusern a ?crit : > Hi all, > > I'm trying to run the SIVP toolbox under Mac OS X with version 5.2.2 of Scilab. > > I installed OpenCV 2.0.0 via MacPorts. So far no problems. I could also build > the SIVP toolbox by exec('builder.sci'). > > Upon loading SIVP via the Toolboxes entry, I get the following message: > > ---dump--- > Startup execution: > loading initial environment > Start SIVP - Scilab Image and Video Processing Toolbox > Load macros > Load gateways > addinter(libsivp_path+'/libsivp.dylib','libsivp',list_functions); > !--error 236 > addinter: The shared archive was not loaded: > dlopen(/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.3/sci_gateway/c//libsivp.dylib, > 10): Symbol not found: _cvAbsDiff A priori, I would say that OpenCV under MacPorts has not been compiled with some options providing _cvAbsDiff Sylvestre From sanjeev211988 at gmail.com Thu Jul 29 18:15:16 2010 From: sanjeev211988 at gmail.com (sanjeev pandey) Date: Thu, 29 Jul 2010 19:15:16 +0300 Subject: [scilab-Users] Problems primarily with super blocks in Xcos. In-Reply-To: References: <4C518748.7030107@scilab.org> Message-ID: Hi, I was generating code for a quite simple super block (with two Scifunc blocks) and i receive the error message as: ! Function not defined for given argument type(s), ! ! ! ! check arguments or define function %mc_part for overloading. ! I have written the function in Scifunc and am using some of the variables from the context of the model. Could anyone please point out my mistake in this regard? Thank you in anticipation. Sanjeev On Thu, Jul 29, 2010 at 5:23 PM, sanjeev pandey wrote: > > > On Thu, Jul 29, 2010 at 4:51 PM, Collette yann wrote: > >> Le 29/07/2010 15:35, sanjeev pandey a ?crit : >> >>> I have been using the Xcos super blocks extensively and I have faced many >>> problems and the problem persists in the nighty build >>> scilab-master-1279908969. Some of the problems are: >>> >>> >>> 1) Xcos is very unstable when it comes to using super blocks and hangs a >>> lot of times and the user is left with no choice but to restart it all over >>> again. >>> >>> 2) Nested super-blocks do not open (for e.g, a super block 'a' in super >>> block 'b' which in turn is in super block 'c' then contents of super block >>> 'a' are lost) and most of the times it is impossible to make changes to an >>> existing super block. >>> >>> >> Maybe you can try to use a recent nightly build. A lot of bugs have been >> fixed in xcos in the last days. >> Super block work nearly fine on the last master. >> >> I am going to test the beta 2 and master 1280..... versions, lets see if >> they are of help. >> >> 3) I have made an Xcos model (file size around 3 MB) and the code >>> generator is not able to generate code. >>> >>> Do you have a specify error message for this case ? >> > > I do not get any error message..can it be becasue i am using a scifunc > block inside the super block ? > >> >> YC >> > > > > -- > Sanjeev Pandey > > Graduate Student, > Process Systems Engineering > Helsinki University of Technology,Finland > -- Sanjeev Pandey Graduate Student, Process Systems Engineering Helsinki University of Technology,Finland -------------- next part -------------- An HTML attachment was scrubbed... URL: From pvonnied at gmail.com Thu Jul 29 22:03:58 2010 From: pvonnied at gmail.com (Peter von Niederhaeusern) Date: Thu, 29 Jul 2010 22:03:58 +0200 Subject: [scilab-Users] Scilab 5.2.2 with SIVP 0.5.3 under Mac OS X 10.6 In-Reply-To: <1280418775.27645.3192.camel@korcula.inria.fr> References: <1280418775.27645.3192.camel@korcula.inria.fr> Message-ID: Hi again ;-) Uh...I'll have a look, but why should that be the case? I mean absolute differences are nothing special, right? Thx anyway and I'll get back to the list. Peter On Thu, Jul 29, 2010 at 5:52 PM, Sylvestre Ledru wrote: > Hello again Peter, > > > Le jeudi 29 juillet 2010 ? 17:49 +0200, Peter von Niederhaeusern a > ?crit : >> Hi all, >> >> I'm trying to run the SIVP toolbox under Mac OS X with version 5.2.2 of Scilab. >> >> I installed OpenCV 2.0.0 via MacPorts. So far no problems. I could also build >> the SIVP toolbox by exec('builder.sci'). >> >> Upon loading SIVP via the Toolboxes entry, I get the following message: >> >> ---dump--- >> Startup execution: >> ? loading initial environment >> ?Start SIVP - Scilab Image and Video Processing Toolbox >> ? ? ? Load macros >> ? ? ? Load gateways >> addinter(libsivp_path+'/libsivp.dylib','libsivp',list_functions); >> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?!--error 236 >> addinter: The shared archive was not loaded: >> dlopen(/Applications/scilab-5.2.2.app/Contents/MacOS/share/scilab/contrib/sivp-0.5.3/sci_gateway/c//libsivp.dylib, >> 10): Symbol not found: _cvAbsDiff > A priori, I would say that OpenCV under MacPorts has not been compiled > with some options providing _cvAbsDiff > > Sylvestre > > >