From la47 at hw.ac.uk Fri Mar 8 14:24:36 2013 From: la47 at hw.ac.uk (luisacevedo) Date: Fri, 8 Mar 2013 05:24:36 -0800 (PST) Subject: [Scilab-Dev] Scilab/SCIAO Message-ID: <1362749076473-4026183.post@n3.nabble.com> Hello All I have found a very useful Optical tool, link as follows http://sciao.sourceforge.net/#authors When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and the library does not appear in XCOS. Please is there anyone to try out this and give me some directions? I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. Thanks Waiting for your replies Luis -- View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From la47 at hw.ac.uk Fri Mar 8 16:45:05 2013 From: la47 at hw.ac.uk (luisacevedo) Date: Fri, 8 Mar 2013 07:45:05 -0800 (PST) Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <1362749076473-4026183.post@n3.nabble.com> References: <1362749076473-4026183.post@n3.nabble.com> Message-ID: <1362757505115-4026184.post@n3.nabble.com> It is sorted out with Scilab 4.0 only -- View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183p4026184.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From simon.gareste at scilab-enterprises.com Fri Mar 8 16:47:04 2013 From: simon.gareste at scilab-enterprises.com (Simon GARESTE) Date: Fri, 08 Mar 2013 16:47:04 +0100 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <1362749076473-4026183.post@n3.nabble.com> References: <1362749076473-4026183.post@n3.nabble.com> Message-ID: <513A07F8.7060601@scilab-enterprises.com> Hi, about the I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. you already had your response in a separate way: you asked for sources, and received sources. You now have the binary windows version. About the sciAO: you submitted to ATOMS the binary of the module, packaged by the developer I'm assuming. This is clearly not the correct way to do. ATOMS is there to have modules respecting the toolbox_skeleton architecture, so that we can try and compile them, and upload binary version afterwards if it works. What you can do to make it work is download the ATOMS part ( here ), then make it look a little more like the toolbox_skeleton (present in your scilab directory, and following recommendations here and there ) and try to execute, into scilab, the builder file, then the loader file if the builder worked. We will certainly have a hard time helping you if the info you give is "it gives a MS error". Could you please develop? What error is it? How did you install it? Simon On 03/08/2013 02:24 PM, luisacevedo wrote: > Hello All > > I have found a very useful Optical tool, link as follows > http://sciao.sourceforge.net/#authors > When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and > the library does not appear in XCOS. > > Please is there anyone to try out this and give me some directions? > > I have requested Scilab 4.0 but it comes in linux and I can not get the > windows version. Probably some else have the windows XP version and pass to > me. > > Thanks > Waiting for your replies > > Luis > > > > -- > View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Simon Gareste Support & Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From la47 at hw.ac.uk Fri Mar 8 17:01:41 2013 From: la47 at hw.ac.uk (luisacevedo) Date: Fri, 8 Mar 2013 08:01:41 -0800 (PST) Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <513A07F8.7060601@scilab-enterprises.com> References: <1362749076473-4026183.post@n3.nabble.com> <513A07F8.7060601@scilab-enterprises.com> Message-ID: <00bc01ce1c15$e13c7610$a3b56230$@hw.ac.uk> Hello Simon Finally I have got the program up and running with Scilab 4.0 windows version. The error occurs with Scilab version greater than 4.0. I do not know how to solve the MS error for the latest versions. I do not have too much time to develop any code right now , I am busy with thesis. Prob, I can have a look the binary sources and see what I can do in a near furure. If you like to help me to understand the problem I can send you a shot of the error with the latest Scilab. Is it ok? This is exact message with Scilab 5.4 if ~MSDOS then !--error 4 Undefined variable: MSDOS at line 214 of exec file called by : exec("C:\PROGRA~1\SCILAB~1.0\contrib\SciAO\\loader.sce"); in execstr instruction called by : 137d:13d4ab7e025:-7fa3");execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldgcbo; el while executing a callback I am new in ATMOS , I am learning what to do. Thanks a lot for your explanations and help Luis From: Simon GARESTE [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+s994242n4026186h70 at n3.nabble.com] Sent: 08 March 2013 15:48 To: luisacevedo Subject: Re: Scilab/SCIAO Hi, about the I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. you already had your response in a separate way: you asked for sources, and received sources. You now have the binary windows version. About the sciAO: you submitted to ATOMS the binary of the module, packaged by the developer I'm assuming. This is clearly not the correct way to do. ATOMS is there to have modules respecting the toolbox_skeleton architecture, so that we can try and compile them, and upload binary version afterwards if it works. What you can do to make it work is download the ATOMS part ( here ), then make it look a little more like the toolbox_skeleton (present in your scilab directory, and following recommendations here and there ) and try to execute, into scilab, the builder file, then the loader file if the builder worked. We will certainly have a hard time helping you if the info you give is "it gives a MS error". Could you please develop? What error is it? How did you install it? Simon On 03/08/2013 02:24 PM, luisacevedo wrote: Hello All I have found a very useful Optical tool, link as follows http://sciao.sourceforge.net/#authors When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and the library does not appear in XCOS. Please is there anyone to try out this and give me some directions? I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. Thanks Waiting for your replies Luis -- View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev -- Simon Gareste Support & Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev _____ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183p4026186.html To unsubscribe from Scilab/SCIAO, click here . NAML ----- Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012) We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. -- View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183p4026187.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From la47 at hw.ac.uk Fri Mar 8 16:59:58 2013 From: la47 at hw.ac.uk (Luis Acevedo) Date: Fri, 8 Mar 2013 15:59:58 -0000 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <513A07F8.7060601@scilab-enterprises.com> References: <1362749076473-4026183.post@n3.nabble.com> <513A07F8.7060601@scilab-enterprises.com> Message-ID: <00c101ce1c15$fbded9e0$f39c8da0$@hw.ac.uk> Hello Simon Finally I have got the program up and running with Scilab 4.0 windows version. The error occurs with Scilab version greater than 4.0. I do not know how to solve the MS error for the latest versions. I do not have too much time to develop any code right now , I am busy with thesis. Prob, I can have a look the binary sources and see what I can do in a near furure. If you like to help me to understand the problem I can send you a shot of the error with the latest Scilab. Is it ok? This is exact message with Scilab 5.4 if ~MSDOS then !--error 4 Undefined variable: MSDOS at line 214 of exec file called by : exec("C:\PROGRA~1\SCILAB~1.0\contrib\SciAO\\loader.sce"); in execstr instruction called by : 137d:13d4ab7e025:-7fa3");execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldgcbo; el while executing a callback I am new in ATMOS , I am learning what to do. Thanks a lot for your explanations and help Luis From: dev-bounces at lists.scilab.org [mailto:dev-bounces at lists.scilab.org] On Behalf Of Simon GARESTE Sent: 08 March 2013 15:47 To: List dedicated to development questions Subject: Re: [Scilab-Dev] Scilab/SCIAO Hi, about the I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. you already had your response in a separate way: you asked for sources, and received sources. You now have the binary windows version. About the sciAO: you submitted to ATOMS the binary of the module, packaged by the developer I'm assuming. This is clearly not the correct way to do. ATOMS is there to have modules respecting the toolbox_skeleton architecture, so that we can try and compile them, and upload binary version afterwards if it works. What you can do to make it work is download the ATOMS part ( here ), then make it look a little more like the toolbox_skeleton (present in your scilab directory, and following recommendations here and there ) and try to execute, into scilab, the builder file, then the loader file if the builder worked. We will certainly have a hard time helping you if the info you give is "it gives a MS error". Could you please develop? What error is it? How did you install it? Simon On 03/08/2013 02:24 PM, luisacevedo wrote: Hello All I have found a very useful Optical tool, link as follows http://sciao.sourceforge.net/#authors When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and the library does not appear in XCOS. Please is there anyone to try out this and give me some directions? I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. Thanks Waiting for your replies Luis -- View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ dev mailing list dev at lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev -- Simon Gareste Support & Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com ----- Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012) We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. -------------- next part -------------- An HTML attachment was scrubbed... URL: From simon.gareste at scilab-enterprises.com Fri Mar 8 17:25:19 2013 From: simon.gareste at scilab-enterprises.com (Simon GARESTE) Date: Fri, 08 Mar 2013 17:25:19 +0100 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <00c101ce1c15$fbded9e0$f39c8da0$@hw.ac.uk> References: <1362749076473-4026183.post@n3.nabble.com> <513A07F8.7060601@scilab-enterprises.com> <00c101ce1c15$fbded9e0$f39c8da0$@hw.ac.uk> Message-ID: <513A10EF.8080302@scilab-enterprises.com> Hi, Get the source package, containing the builder.sce. Try to find where the "MSDOS" are, and replace them by getos() == "Windows" the "~MSDOS" have to be replaced by getos() <> "Windows" then re-execute the builder, then the loader. Simon On 03/08/2013 04:59 PM, Luis Acevedo wrote: > > Hello Simon > > Finally I have got the program up and running with Scilab 4.0 windows > version. > > The error occurs with Scilab version greater than 4.0. I do not know > how to solve the MS error for the latest versions. I do not have too > much time to develop any code right now , I am busy with thesis. > > Prob, I can have a look the binary sources and see what I can do in a > near furure. > > If you like to help me to understand the problem I can send you a shot > of the error with the latest Scilab. Is it ok? > > This is exact message with Scilab 5.4 > > if ~MSDOS then > > !--error 4 > > Undefined variable: MSDOS > > at line 214 of exec file called by : > > exec("C:\PROGRA~1\SCILAB~1.0\contrib\SciAO\\loader.sce"); > > in execstr instruction called by : > > 137d:13d4ab7e025:-7fa3");execstr(toolboxes(1));if exists("%oldgcbo") > then gcbo = %oldgcbo; el > > while executing a callback > > I am new in ATMOS , I am learning what to do. > > Thanks a lot for your explanations and help > > Luis > > *From:*dev-bounces at lists.scilab.org > [mailto:dev-bounces at lists.scilab.org] *On Behalf Of *Simon GARESTE > *Sent:* 08 March 2013 15:47 > *To:* List dedicated to development questions > *Subject:* Re: [Scilab-Dev] Scilab/SCIAO > > Hi, > > about the > > I have requested Scilab 4.0 but it comes in linux and I can not get the > windows version. Probably some else have the windows XP version and pass to > me. > > you already had your response in a separate way: you asked for > sources, and received sources. You now have the binary windows version. > About the sciAO: you submitted to ATOMS the binary of the module, > packaged by the developer I'm assuming. This is clearly not the > correct way to do. ATOMS is there to have modules respecting the > toolbox_skeleton architecture, so that we can try and compile them, > and upload binary version afterwards if it works. > What you can do to make it work is download the ATOMS part ( here > ), then > make it look a little more like the toolbox_skeleton (present in your > scilab directory, and following recommendations here > and there > ) and > try to execute, into scilab, the builder file, then the loader file if > the builder worked. > We will certainly have a hard time helping you if the info you give is > "it gives a MS error". Could you please develop? What error is it? How > did you install it? > > Simon > > On 03/08/2013 02:24 PM, luisacevedo wrote: > > Hello All > > > > I have found a very useful Optical tool, link as follows > > http://sciao.sourceforge.net/#authors > > When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and > > the library does not appear in XCOS. > > > > Please is there anyone to try out this and give me some directions? > > > > I have requested Scilab 4.0 but it comes in linux and I can not get the > > windows version. Probably some else have the windows XP version and pass to > > me. > > > > Thanks > > Waiting for your replies > > > > Luis > > > > > > > > -- > > View this message in context:http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183.html > > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > > _______________________________________________ > > dev mailing list > > dev at lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/dev > > > > -- > Simon Gareste > Support & Development Engineer > ----------------------------------------------------------- > Scilab Enterprises > 143bis rue Yves Le Coz - 78000 Versailles, France > Phone: +33.1.80.77.04.70 > http://www.scilab-enterprises.com > > ------------------------------------------------------------------------ > > Sunday Times Scottish University of the Year 2011-2013 > Top in the UK for student experience > Fourth university in the UK and top in Scotland (National Student > Survey 2012) > > We invite research leaders and ambitious early career researchers to > join us in leading and driving research in key inter-disciplinary > themes. Please see www.hw.ac.uk/researchleaders for further > information and how to apply. > > Heriot-Watt University is a Scottish charity registered under charity > number SC000278. > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Simon Gareste Support & Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From la47 at hw.ac.uk Fri Mar 8 17:33:34 2013 From: la47 at hw.ac.uk (Luis Acevedo) Date: Fri, 8 Mar 2013 16:33:34 -0000 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <513A10EF.8080302@scilab-enterprises.com> References: <1362749076473-4026183.post@n3.nabble.com> <513A07F8.7060601@scilab-enterprises.com> <00c101ce1c15$fbded9e0$f39c8da0$@hw.ac.uk> <513A10EF.8080302@scilab-enterprises.com> Message-ID: <00fd01ce1c1a$ad788fd0$0869af70$@hw.ac.uk> Thanks a lot Simon I will do Great Luis From: dev-bounces at lists.scilab.org [mailto:dev-bounces at lists.scilab.org] On Behalf Of Simon GARESTE Sent: 08 March 2013 16:25 To: dev at lists.scilab.org Subject: Re: [Scilab-Dev] Scilab/SCIAO Hi, Get the source package, containing the builder.sce. Try to find where the "MSDOS" are, and replace them by getos() == "Windows" the "~MSDOS" have to be replaced by getos() <> "Windows" then re-execute the builder, then the loader. Simon On 03/08/2013 04:59 PM, Luis Acevedo wrote: Hello Simon Finally I have got the program up and running with Scilab 4.0 windows version. The error occurs with Scilab version greater than 4.0. I do not know how to solve the MS error for the latest versions. I do not have too much time to develop any code right now , I am busy with thesis. Prob, I can have a look the binary sources and see what I can do in a near furure. If you like to help me to understand the problem I can send you a shot of the error with the latest Scilab. Is it ok? This is exact message with Scilab 5.4 if ~MSDOS then !--error 4 Undefined variable: MSDOS at line 214 of exec file called by : exec("C:\PROGRA~1\SCILAB~1.0\contrib\SciAO\\loader.sce"); in execstr instruction called by : 137d:13d4ab7e025:-7fa3");execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldgcbo; el while executing a callback I am new in ATMOS , I am learning what to do. Thanks a lot for your explanations and help Luis From: dev-bounces at lists.scilab.org [mailto:dev-bounces at lists.scilab.org] On Behalf Of Simon GARESTE Sent: 08 March 2013 15:47 To: List dedicated to development questions Subject: Re: [Scilab-Dev] Scilab/SCIAO Hi, about the I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. you already had your response in a separate way: you asked for sources, and received sources. You now have the binary windows version. About the sciAO: you submitted to ATOMS the binary of the module, packaged by the developer I'm assuming. This is clearly not the correct way to do. ATOMS is there to have modules respecting the toolbox_skeleton architecture, so that we can try and compile them, and upload binary version afterwards if it works. What you can do to make it work is download the ATOMS part ( here ), then make it look a little more like the toolbox_skeleton (present in your scilab directory, and following recommendations here and there ) and try to execute, into scilab, the builder file, then the loader file if the builder worked. We will certainly have a hard time helping you if the info you give is "it gives a MS error". Could you please develop? What error is it? How did you install it? Simon On 03/08/2013 02:24 PM, luisacevedo wrote: Hello All I have found a very useful Optical tool, link as follows http://sciao.sourceforge.net/#authors When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and the library does not appear in XCOS. Please is there anyone to try out this and give me some directions? I have requested Scilab 4.0 but it comes in linux and I can not get the windows version. Probably some else have the windows XP version and pass to me. Thanks Waiting for your replies Luis -- View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ dev mailing list dev at lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev -- Simon Gareste Support & Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com _____ Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012) We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. _______________________________________________ dev mailing list dev at lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev -- Simon Gareste Support & Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com ----- Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012) We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Fri Mar 8 18:07:03 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 08 Mar 2013 18:07:03 +0100 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <1362749076473-4026183.post@n3.nabble.com> References: <1362749076473-4026183.post@n3.nabble.com> Message-ID: <513A1AB7.8040108@free.fr> Hello Luis, Yes indeed, it is a very interesting module. There is no optics devices in Modelica/Coselica, so it would be a very useful complementary part to Coselica in Xcos. I started to upgrade SCIAO last summer 2012 on my side. But the module must be completely revisited, since Scilab 5.4 (and Xcos) is very (very) far from Scilab 4.1.2 (and Scicos). The MSDOS stuff and other minor upgrades in macros and demos are OK, and when reorganizing directories to match the toolbox_skeleton, the priority was to rebuild the help. I stopped here (without finishing). Afterwards, SCIAO will need to be Xcos-revisited, and then fully recompiled (it has some gateways for primitives in C++), with often plateform-dependent compiling options and other hard things to be fixed. For the moment, i gave up the job. But i am happy to read that someone else could work about :-) Good luck! Samuel Le 08/03/2013 14:24, luisacevedo a ?crit : > Hello All > > I have found a very useful Optical tool, link as follows > http://sciao.sourceforge.net/#authors > When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and > the library does not appear in XCOS. > .../... From sylvestre.ledru at scilab-enterprises.com Fri Mar 8 18:09:27 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 08 Mar 2013 18:09:27 +0100 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <513A1AB7.8040108@free.fr> References: <1362749076473-4026183.post@n3.nabble.com> <513A1AB7.8040108@free.fr> Message-ID: <513A1B47.6070408@scilab-enterprises.com> On 08/03/2013 18:07, Samuel Gougeon wrote: > Hello Luis, > > Yes indeed, it is a very interesting module. There is no optics > devices in Modelica/Coselica, so it would be a very useful > complementary part to Coselica in Xcos. > > I started to upgrade SCIAO last summer 2012 on my side. > But the module must be completely revisited, since > Scilab 5.4 (and Xcos) is very (very) far from Scilab 4.1.2 > (and Scicos). > > The MSDOS stuff and other minor upgrades in macros and demos are OK, > and when reorganizing directories to match the toolbox_skeleton, > the priority was to rebuild the help. I stopped here (without > finishing). > Afterwards, SCIAO will need to be Xcos-revisited, and then fully > recompiled (it has some gateways for primitives in C++), with > often plateform-dependent compiling options and other hard things > to be fixed. > > For the moment, i gave up the job. But i am happy to read that > someone else could work about :-) Maybe we could great a project on the forge and import the beginning of the work that you have done ? Thanks, Sylvestre From la47 at hw.ac.uk Fri Mar 8 18:20:56 2013 From: la47 at hw.ac.uk (luisacevedo) Date: Fri, 8 Mar 2013 09:20:56 -0800 (PST) Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <513A1AB7.8040108@free.fr> References: <1362749076473-4026183.post@n3.nabble.com> <513A1AB7.8040108@free.fr> Message-ID: <011401ce1c21$3978a730$ac69f590$@hw.ac.uk> Hello Samuel Yes I have thought the same than you. It is important to have an optical module in Scilab , optics are becoming very important nowadays. I see that you know SCIAO and If it can be implemented with more functions using Xcos. With your advice MSDOS will handle the new versions of Scilab, also as you said would be good if some people can revisit the SCIAO module upgrade it with new Optical physics as diffraction and so on. Well as soon as submit the phD thesis in optics I will work in SCIAO and implement . I will make a call asking for helpers. Thanks a lot, Regards Luis From: Samuel GOUGEON [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+s994242n4026191h25 at n3.nabble.com] Sent: 08 March 2013 17:07 To: luisacevedo Subject: Re: Scilab/SCIAO Hello Luis, Yes indeed, it is a very interesting module. There is no optics devices in Modelica/Coselica, so it would be a very useful complementary part to Coselica in Xcos. I started to upgrade SCIAO last summer 2012 on my side. But the module must be completely revisited, since Scilab 5.4 (and Xcos) is very (very) far from Scilab 4.1.2 (and Scicos). The MSDOS stuff and other minor upgrades in macros and demos are OK, and when reorganizing directories to match the toolbox_skeleton, the priority was to rebuild the help. I stopped here (without finishing). Afterwards, SCIAO will need to be Xcos-revisited, and then fully recompiled (it has some gateways for primitives in C++), with often plateform-dependent compiling options and other hard things to be fixed. For the moment, i gave up the job. But i am happy to read that someone else could work about :-) Good luck! Samuel Le 08/03/2013 14:24, luisacevedo a ?crit : > Hello All > > I have found a very useful Optical tool, link as follows > http://sciao.sourceforge.net/#authors > When you install it under SCilab 5.4 32 or 64 bits , it gives a MS error and > the library does not appear in XCOS. > .../... _______________________________________________ dev mailing list [hidden email] http://lists.scilab.org/mailman/listinfo/dev _____ If you reply to this email, your message will be added to the discussion below: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183p4026191.html To unsubscribe from Scilab/SCIAO, click here . NAML ----- Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012) We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. -- View this message in context: http://mailinglists.scilab.org/Scilab-SCIAO-tp4026183p4026193.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From la47 at hw.ac.uk Fri Mar 8 18:21:13 2013 From: la47 at hw.ac.uk (Luis Acevedo) Date: Fri, 8 Mar 2013 17:21:13 -0000 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <513A1B47.6070408@scilab-enterprises.com> References: <1362749076473-4026183.post@n3.nabble.com> <513A1AB7.8040108@free.fr> <513A1B47.6070408@scilab-enterprises.com> Message-ID: <011901ce1c21$55cba130$0162e390$@hw.ac.uk> Hello Sylvestre As I said to Samuel , Yes I have thought the same than you. It is important to have an optical module in Scilab , optics are becoming very important nowadays. I see that you know SCIAO and If it can be implemented with more functions using Xcos. With your advice MSDOS will handle the new versions of Scilab, also as you said would be good if some people can revisit the SCIAO module upgrade it with new Optical physics as diffraction and so on. Well as soon as submit the phD thesis in optics I will work in SCIAO and implement . I will make a call asking for helpers. Thanks a lot, Regards Luis -----Original Message----- From: dev-bounces at lists.scilab.org [mailto:dev-bounces at lists.scilab.org] On Behalf Of Sylvestre Ledru Sent: 08 March 2013 17:09 To: dev at lists.scilab.org Subject: Re: [Scilab-Dev] Scilab/SCIAO On 08/03/2013 18:07, Samuel Gougeon wrote: > Hello Luis, > > Yes indeed, it is a very interesting module. There is no optics > devices in Modelica/Coselica, so it would be a very useful > complementary part to Coselica in Xcos. > > I started to upgrade SCIAO last summer 2012 on my side. > But the module must be completely revisited, since Scilab 5.4 (and > Xcos) is very (very) far from Scilab 4.1.2 (and Scicos). > > The MSDOS stuff and other minor upgrades in macros and demos are OK, > and when reorganizing directories to match the toolbox_skeleton, the > priority was to rebuild the help. I stopped here (without finishing). > Afterwards, SCIAO will need to be Xcos-revisited, and then fully > recompiled (it has some gateways for primitives in C++), with often > plateform-dependent compiling options and other hard things to be > fixed. > > For the moment, i gave up the job. But i am happy to read that someone > else could work about :-) Maybe we could great a project on the forge and import the beginning of the work that you have done ? Thanks, Sylvestre _______________________________________________ dev mailing list dev at lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev ----- Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012) We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. From sylvestre.ledru at scilab-enterprises.com Fri Mar 8 18:26:36 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 08 Mar 2013 18:26:36 +0100 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <011901ce1c21$55cba130$0162e390$@hw.ac.uk> References: <1362749076473-4026183.post@n3.nabble.com> <513A1AB7.8040108@free.fr> <513A1B47.6070408@scilab-enterprises.com> <011901ce1c21$55cba130$0162e390$@hw.ac.uk> Message-ID: <513A1F4C.8070206@scilab-enterprises.com> Well, we are exchanging on a mailing list. That means that the reply you send to Samuel, I received it too (and a couple hundred people also). Please don't flood ;) On 08/03/2013 18:21, Luis Acevedo wrote: > Hello Sylvestre > As I said to Samuel , > > Yes I have thought the same than you. > It is important to have an optical module in Scilab , optics are becoming > very important nowadays. > > I see that you know SCIAO and If it can be implemented with more functions > using Xcos. > With your advice MSDOS will handle the new versions of Scilab, also as you > said would be good if some people can revisit the SCIAO module upgrade it > with new > Optical physics as diffraction and so on. > > Well as soon as submit the phD thesis in optics I will work in SCIAO and > implement . I will make a call asking for helpers. > > Thanks a lot, Regards > > Luis > > -----Original Message----- > From: dev-bounces at lists.scilab.org [mailto:dev-bounces at lists.scilab.org] On > Behalf Of Sylvestre Ledru > Sent: 08 March 2013 17:09 > To: dev at lists.scilab.org > Subject: Re: [Scilab-Dev] Scilab/SCIAO > > On 08/03/2013 18:07, Samuel Gougeon wrote: >> Hello Luis, >> >> Yes indeed, it is a very interesting module. There is no optics >> devices in Modelica/Coselica, so it would be a very useful >> complementary part to Coselica in Xcos. >> >> I started to upgrade SCIAO last summer 2012 on my side. >> But the module must be completely revisited, since Scilab 5.4 (and >> Xcos) is very (very) far from Scilab 4.1.2 (and Scicos). >> >> The MSDOS stuff and other minor upgrades in macros and demos are OK, >> and when reorganizing directories to match the toolbox_skeleton, the >> priority was to rebuild the help. I stopped here (without finishing). >> Afterwards, SCIAO will need to be Xcos-revisited, and then fully >> recompiled (it has some gateways for primitives in C++), with often >> plateform-dependent compiling options and other hard things to be >> fixed. >> >> For the moment, i gave up the job. But i am happy to read that someone >> else could work about :-) > Maybe we could great a project on the forge and import the beginning of the > work that you have done ? > > Thanks, > Sylvestre > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > > > > ----- > Sunday Times Scottish University of the Year 2011-2013 > Top in the UK for student experience > Fourth university in the UK and top in Scotland (National Student Survey 2012) > > We invite research leaders and ambitious early career researchers to > join us in leading and driving research in key inter-disciplinary themes. > Please see www.hw.ac.uk/researchleaders for further information and how > to apply. > > Heriot-Watt University is a Scottish charity > registered under charity number SC000278. > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > From la47 at hw.ac.uk Fri Mar 8 18:39:15 2013 From: la47 at hw.ac.uk (Luis Acevedo) Date: Fri, 8 Mar 2013 17:39:15 -0000 Subject: [Scilab-Dev] Scilab/SCIAO In-Reply-To: <513A1F4C.8070206@scilab-enterprises.com> References: <1362749076473-4026183.post@n3.nabble.com> <513A1AB7.8040108@free.fr> <513A1B47.6070408@scilab-enterprises.com> <011901ce1c21$55cba130$0162e390$@hw.ac.uk> <513A1F4C.8070206@scilab-enterprises.com> Message-ID: <012301ce1c23$dadc0b10$90942130$@hw.ac.uk> Yes, you are right You sent me the same email than Samuel, so I replied you with the same answer Anyway Now it is the time that everyone should consider to implement SCILAB/SCICOS Cheers Luis -----Original Message----- From: dev-bounces at lists.scilab.org [mailto:dev-bounces at lists.scilab.org] On Behalf Of Sylvestre Ledru Sent: 08 March 2013 17:27 To: List dedicated to development questions Subject: Re: [Scilab-Dev] Scilab/SCIAO Well, we are exchanging on a mailing list. That means that the reply you send to Samuel, I received it too (and a couple hundred people also). Please don't flood ;) On 08/03/2013 18:21, Luis Acevedo wrote: > Hello Sylvestre > As I said to Samuel , > > Yes I have thought the same than you. > It is important to have an optical module in Scilab , optics are > becoming very important nowadays. > > I see that you know SCIAO and If it can be implemented with more > functions using Xcos. > With your advice MSDOS will handle the new versions of Scilab, also > as you said would be good if some people can revisit the SCIAO module > upgrade it with new Optical physics as diffraction and so on. > > Well as soon as submit the phD thesis in optics I will work in SCIAO > and implement . I will make a call asking for helpers. > > Thanks a lot, Regards > > Luis > > -----Original Message----- > From: dev-bounces at lists.scilab.org > [mailto:dev-bounces at lists.scilab.org] On Behalf Of Sylvestre Ledru > Sent: 08 March 2013 17:09 > To: dev at lists.scilab.org > Subject: Re: [Scilab-Dev] Scilab/SCIAO > > On 08/03/2013 18:07, Samuel Gougeon wrote: >> Hello Luis, >> >> Yes indeed, it is a very interesting module. There is no optics >> devices in Modelica/Coselica, so it would be a very useful >> complementary part to Coselica in Xcos. >> >> I started to upgrade SCIAO last summer 2012 on my side. >> But the module must be completely revisited, since Scilab 5.4 (and >> Xcos) is very (very) far from Scilab 4.1.2 (and Scicos). >> >> The MSDOS stuff and other minor upgrades in macros and demos are OK, >> and when reorganizing directories to match the toolbox_skeleton, the >> priority was to rebuild the help. I stopped here (without finishing). >> Afterwards, SCIAO will need to be Xcos-revisited, and then fully >> recompiled (it has some gateways for primitives in C++), with often >> plateform-dependent compiling options and other hard things to be >> fixed. >> >> For the moment, i gave up the job. But i am happy to read that >> someone else could work about :-) > Maybe we could great a project on the forge and import the beginning > of the work that you have done ? > > Thanks, > Sylvestre > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > > > > ----- > Sunday Times Scottish University of the Year 2011-2013 Top in the UK > for student experience Fourth university in the UK and top in Scotland > (National Student Survey 2012) > > We invite research leaders and ambitious early career researchers to > join us in leading and driving research in key inter-disciplinary themes. > Please see www.hw.ac.uk/researchleaders for further information and > how to apply. > > Heriot-Watt University is a Scottish charity registered under charity > number SC000278. > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > _______________________________________________ dev mailing list dev at lists.scilab.org http://lists.scilab.org/mailman/listinfo/dev ----- Sunday Times Scottish University of the Year 2011-2013 Top in the UK for student experience Fourth university in the UK and top in Scotland (National Student Survey 2012) We invite research leaders and ambitious early career researchers to join us in leading and driving research in key inter-disciplinary themes. Please see www.hw.ac.uk/researchleaders for further information and how to apply. Heriot-Watt University is a Scottish charity registered under charity number SC000278. From la47 at hw.ac.uk Mon Mar 11 17:38:04 2013 From: la47 at hw.ac.uk (luisacevedo) Date: Mon, 11 Mar 2013 09:38:04 -0700 (PDT) Subject: [Scilab-Dev] MEMS toolbox ? will be nice Message-ID: <1363019884001-4026220.post@n3.nabble.com> Hello All MEMs are becoming very important. There are some software such as ANSYS, CONVERTOR, COMSOL , INTELLISENSE and other ones. All of them interact with Matlab. I think that SCILAB members might consider to develop a MEM toolbox. It will be nice. Cheers Luis -- View this message in context: http://mailinglists.scilab.org/MEMS-toolbox-will-be-nice-tp4026220.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From peter.senna at gmail.com Wed Mar 13 19:10:58 2013 From: peter.senna at gmail.com (Peter Senna Tschudin) Date: Wed, 13 Mar 2013 19:10:58 +0100 Subject: [Scilab-Dev] Threads Message-ID: Hi, Following Scilab execution trace we found some calls to clone like: clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd70de65a10) = 19955 ... clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7fd70de65a10) = 19981 But we were not able to determine where in the code running on Linux the threads/processes were created. Can you help us? Using Scilab 5.4.0 and configuring with: ./configure --without-gui --without-javasci --without-jdk --disable-build-help --disable-build-localization --without-hdf5 --without-scicos --without-xcos --without-ocaml --without-modelica --without-fftw --without-pvm --without-umfpack --without-matio --without-tk --without-openmp --without-arpack-ng Thanks! Peter -- Peter From sylvestre.ledru at scilab-enterprises.com Thu Mar 14 09:09:27 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 14 Mar 2013 09:09:27 +0100 Subject: [Scilab-Dev] Threads In-Reply-To: References: Message-ID: <514185B7.7000202@scilab-enterprises.com> Hello Peter, On 13/03/2013 19:10, Peter Senna Tschudin wrote: > Hi, > > Following Scilab execution trace we found some calls to clone like: > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0x7fd70de65a10) = 19955 > ... > clone(child_stack=0, > flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, > child_tidptr=0x7fd70de65a10) = 19981 > > But we were not able to determine where in the code running on Linux > the threads/processes were created. Can you help us? Sure, it is in: modules/console/src/c/GetCommandLine.c The threads functions are most of the time defines on the thread implementation (Unix or Windows). See: modules/core/includes/Thread_Wrapper.h Sylvestre From krotersv at gmail.com Fri Mar 15 09:50:05 2013 From: krotersv at gmail.com (Stanislav) Date: Fri, 15 Mar 2013 01:50:05 -0700 (PDT) Subject: [Scilab-Dev] Colorbar: it is possible to set no ticks for x Message-ID: <1363337405827-4026256.post@n3.nabble.com> Hi. There are lines 82 and 83 in colorbar.sci: //It is not possible to set no ticks for x (should be fixed) a_cb.x_ticks=tlist(["ticks","locations","labels"],-1,''); I have not found a bug report about this problem, but now it is fixed! It is possible to set no ticks for x. If you delete these lines then this function does not draw the ticks on the figure. Stanislav -- View this message in context: http://mailinglists.scilab.org/Colorbar-it-is-possible-to-set-no-ticks-for-x-tp4026256.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Fri Mar 15 22:08:18 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 15 Mar 2013 22:08:18 +0100 Subject: [Scilab-Dev] searching for unique data within tlist of similar matrices In-Reply-To: <1361841817995-4026028.post@n3.nabble.com> References: <1361841817995-4026028.post@n3.nabble.com> Message-ID: <51438DC2.9070309@free.fr> Hello, Le 26/02/2013 02:23, LETGODINU a ?crit : > Say I had a tlist called A that consists of matrix set in the form > ["ai","bi","ci","di","ei","fi","gi"] and "ai" and "bi" as a pair are unique, > i.e. in no matrices pairs are "ai" and "bi" equal and in no matrices pairs > are "a1" = "a2" while "b1" = "b2" and vice versa. How would I search A for > the position of the unique matrix containing ai = n1 and bi = n2. I am afraid to not understand your need. Could you provide a simple example with its expected result? From krotersv at gmail.com Wed Mar 20 13:55:32 2013 From: krotersv at gmail.com (Stanislav) Date: Wed, 20 Mar 2013 05:55:32 -0700 (PDT) Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type Message-ID: <1363784132929-4026306.post@n3.nabble.com> SEP_088_xrpoly.odt -- View this message in context: http://mailinglists.scilab.org/xrpoly-drawing-of-many-polygons-of-the-same-type-tp4026306.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Sat Mar 23 13:58:09 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 23 Mar 2013 13:58:09 +0100 Subject: [Scilab-Dev] SEP 88: New functions to get remote files In-Reply-To: <51016C0E.3060306@scilab-enterprises.com> References: <51016C0E.3060306@scilab-enterprises.com> Message-ID: <514DA6E1.6070808@free.fr> Hello Sylvestre, Le 24/01/2013 18:14, Sylvestre Ledru a ?crit : > Hello, > > The attachment describes the SEP #88, targeting Scilab 5.5.0. > > The goal of this SEP is to propose the introduction of three new functions: > * getURLcontent - Return the content of an URL (HTTP, HTTPS, FTP...) > Profiles: > filename = getURL(URL [, targetDir [, username [, password]]]]); > filename = getURL(URL [, targetFile [, username [, password]]]]); > > * getURL - Download an URL (HTTP, HTTPS, FTP...) > Profile: > output = getURLcontent(URL [, username, [, password]]); > > * splitURL - Split a URL (HTTP, HTTPS, FTP...) > Profile: > [proto, server, path, query, username, port, fragment] = splitURL(URL); > > Don't hesitate to comment it, > Sylvestre Sorry for the delay. The good thing is that now there is more information in the help of the beta-implementation available in the 5.5 branch; and it is possible to test them. I developped some utilities under Scilab with curl ~3 years ago, and i had a look on how to use these new functions instead of my owns. Here are some comments and suggestions about their present implementation. *getURL() and getURLcontent()*: At the first glance, it is hard to understand the difference between getURL() and getURLcontent(). Actually, it is very slight. Since it is only a matter of output and that 90% of their respective jobs are the same, in my opinion, this does not deserve 2 distinct functions: It would be nicer to add an option specifying the output, or even more simply to have a second optionnal output argument: [filename [, content]] = getURL(...) It is always possible to specify a trash-file as filename. or output = getURL(...,"returnContent") At least, for the moment, a single help page merging the description of both functions would be nice. _Present embarassing limitations w.r.t. curl features_: The most frustrating one is that these functions allow only queries in GET method. The POST method is not available, whereas curl allows it with no problem and very great utility. => So: It would be very useful to add a curl_options string optionnal parameter, that would be passed to curl as is, allowing to post data with "-d param=value ...etc" and any other curl usage. By the way, specifying a file in which to dump the targetted content is possible in this way. Proxy parameters can also be specified. Presently, it is not natural to use atomsSetConfig() to specify a proxy to use for getURL...(). In few words, it could be a good basic target to have a simple interface with curl, such as a curlScilab() function. The only problem i had when using curl through unix_#() functions was some encoding issues in the output content. getURL...() greatly fix this point. Otherwise, curl is so great that is is a big improvement to include it the Scilab package for all plateforms (not only Windows). Other advanced features could be useful, such as allowing to follow within a limited nesting depth ; and other ones. More elaborated functions could be posted to ATOMS or FileExchange. *splitURL()*: works fine :-) IMO, its help page should be located in the "paths - filenames" subsection, together with fileparts() and other paths-processing functions. Best regards Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Sat Mar 23 17:31:56 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sat, 23 Mar 2013 17:31:56 +0100 Subject: [Scilab-Dev] SEP 88: New functions to get remote files In-Reply-To: <514DA6E1.6070808@free.fr> References: <51016C0E.3060306@scilab-enterprises.com> <514DA6E1.6070808@free.fr> Message-ID: <514DD8FC.5020400@scilab-enterprises.com> Hello Samuel, Many thanks for your feedback. Since it is not too late to perform changes on the functions, I will see what I can do :) I have to see the potential impact of merging the two but, a priori, I don't see much issues here. Merci, Sylvestre On 23/03/2013 13:58, Samuel Gougeon wrote: > Hello Sylvestre, > > Le 24/01/2013 18:14, Sylvestre Ledru a ?crit : >> Hello, >> >> The attachment describes the SEP #88, targeting Scilab 5.5.0. >> >> The goal of this SEP is to propose the introduction of three new functions: >> * getURLcontent - Return the content of an URL (HTTP, HTTPS, FTP...) >> Profiles: >> filename = getURL(URL [, targetDir [, username [, password]]]]); >> filename = getURL(URL [, targetFile [, username [, password]]]]); >> >> * getURL - Download an URL (HTTP, HTTPS, FTP...) >> Profile: >> output = getURLcontent(URL [, username, [, password]]); >> >> * splitURL - Split a URL (HTTP, HTTPS, FTP...) >> Profile: >> [proto, server, path, query, username, port, fragment] = splitURL(URL); >> >> Don't hesitate to comment it, >> Sylvestre > Sorry for the delay. The good thing is that now there is more > information in the help > of the beta-implementation available in the 5.5 branch; and it is > possible to test them. > > I developped some utilities under Scilab with curl ~3 years ago, and i > had a look > on how to use these new functions instead of my owns. Here are some comments > and suggestions about their present implementation. > > *getURL() and getURLcontent()*: > At the first glance, it is hard to understand the difference between > getURL() and > getURLcontent(). Actually, it is very slight. Since it is only a matter > of output and > that 90% of their respective jobs are the same, in my opinion, this does > not > deserve 2 distinct functions: It would be nicer to add an option > specifying the > output, or even more simply to have a second optionnal output argument: > [filename [, content]] = getURL(...) > It is always possible to specify a trash-file as filename. > or > output = getURL(...,"returnContent") > At least, for the moment, a single help page merging the description of > both > functions would be nice. > > _Present embarassing limitations w.r.t. curl features_: > The most frustrating one is that these functions allow only queries in > GET method. > The POST method is not available, whereas curl allows it with no > problem and > very great utility. > => So: It would be very useful to add a curl_options string optionnal > parameter, > that would be passed to curl as is, allowing to post data with "-d > param=value ...etc" > and any other curl usage. > By the way, specifying a file in which to dump the targetted content is > possible > in this way. Proxy parameters can also be specified. > > Presently, it is not natural to use atomsSetConfig() to specify a proxy > to use for > getURL...(). > > In few words, it could be a good basic target to have a simple interface > with curl, > such as a curlScilab() function. > The only problem i had when using curl through unix_#() functions was some > encoding issues in the output content. getURL...() greatly fix this point. > Otherwise, curl is so great that is is a big improvement to include it > the Scilab > package for all plateforms (not only Windows). > > Other advanced features could be useful, such as allowing to follow > > within a limited nesting depth ; and other ones. > More elaborated functions could be posted to ATOMS or FileExchange. > > *splitURL()*: > works fine :-) IMO, its help page should be located in the "paths - > filenames" > subsection, together with fileparts() and other paths-processing functions. > > Best regards > Samuel > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev > From valtin at control.tu-berlin.de Sun Mar 24 00:13:35 2013 From: valtin at control.tu-berlin.de (Markus Valtin) Date: Sun, 24 Mar 2013 00:13:35 +0100 Subject: [Scilab-Dev] SEP 88: New functions to get remote files In-Reply-To: <514DA6E1.6070808@free.fr> References: <51016C0E.3060306@scilab-enterprises.com> <514DA6E1.6070808@free.fr> Message-ID: <2856395.6dEYcDXdAi@valtin-rt-l1> Am Samstag, 23. M?rz 2013, 13:58:09 schrieb Samuel Gougeon: > Hello Sylvestre, > > Le 24/01/2013 18:14, Sylvestre Ledru a ?crit : > > Hello, > > > > The attachment describes the SEP #88, targeting Scilab 5.5.0. >> ... > > Sylvestre > > Sorry for the delay. The good thing is that now there is more > information in the help > ... > _Present embarassing limitations w.r.t. curl features_: > The most frustrating one is that these functions allow only queries in > GET method. > The POST method is not available, whereas curl allows it with no > problem and I also would like to have the POST method supported since this method is required to fully control the restful API of a server for measurement data. This would allow easy collaboration between Scilab and other services which I found very interesting and useful. Sincerely Markus Valtin From sylvestre.ledru at scilab-enterprises.com Sun Mar 24 08:34:51 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sun, 24 Mar 2013 08:34:51 +0100 Subject: [Scilab-Dev] SEP 88: New functions to get remote files In-Reply-To: <2856395.6dEYcDXdAi@valtin-rt-l1> References: <51016C0E.3060306@scilab-enterprises.com> <514DA6E1.6070808@free.fr> <2856395.6dEYcDXdAi@valtin-rt-l1> Message-ID: <514EAC9B.3030408@scilab-enterprises.com> On 24/03/2013 00:13, Markus Valtin wrote: > Am Samstag, 23. M?rz 2013, 13:58:09 schrieb Samuel Gougeon: >> Hello Sylvestre, >> >> Le 24/01/2013 18:14, Sylvestre Ledru a ?crit : >>> Hello, >>> >>> The attachment describes the SEP #88, targeting Scilab 5.5.0. >>> ... >>> Sylvestre >> >> Sorry for the delay. The good thing is that now there is more >> information in the help >> ... >> _Present embarassing limitations w.r.t. curl features_: >> The most frustrating one is that these functions allow only queries in >> GET method. >> The POST method is not available, whereas curl allows it with no >> problem and > I also would like to have the POST method supported since this method is > required to fully control the restful API of a server for measurement data. > > This would allow easy collaboration between Scilab and other services which I > found very interesting and useful. The POST method not being supported can be considered as a bug. So, yes, it should be fixed. Sylvestre From krotersv at gmail.com Sun Mar 24 12:01:15 2013 From: krotersv at gmail.com (Stanislav) Date: Sun, 24 Mar 2013 04:01:15 -0700 (PDT) Subject: [Scilab-Dev] images_md5.txt has wrong information about files and their md5 sums Message-ID: <1364122875502-4026343.post@n3.nabble.com> Hi. I have discovered that images_md5.txt has wrong information about files and their md5 checksums. Here is a macros which I use to get md5 checksums getmd5_for_images.sci Is images_md5.txt an important file? I am afraid of returning of bug #12272. Stanislav -- View this message in context: http://mailinglists.scilab.org/images-md5-txt-has-wrong-information-about-files-and-their-md5-sums-tp4026343.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Sun Mar 24 17:53:43 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Sun, 24 Mar 2013 17:53:43 +0100 Subject: [Scilab-Dev] images_md5.txt has wrong information about files and their md5 sums In-Reply-To: <1364122875502-4026343.post@n3.nabble.com> References: <1364122875502-4026343.post@n3.nabble.com> Message-ID: <514F2F97.70300@scilab-enterprises.com> Hi Stanislav, This file contains md5 of the code which has been used to generate the image in the help generation. Best regards Calixte On 24/03/2013 12:01, Stanislav wrote: > Hi. > I have discovered that images_md5.txt has wrong information about files and > their md5 checksums. > Here is a macros which I use to get md5 checksums getmd5_for_images.sci > > > Is images_md5.txt an important file? I am afraid of returning of bug #12272. > > Stanislav > > > > -- > View this message in context: http://mailinglists.scilab.org/images-md5-txt-has-wrong-information-about-files-and-their-md5-sums-tp4026343.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From communication at scilab-enterprises.com Tue Mar 26 09:04:06 2013 From: communication at scilab-enterprises.com (Communication) Date: Tue, 26 Mar 2013 09:04:06 +0100 Subject: [Scilab-Dev] =?iso-8859-1?q?SAVE_THE_DATE_-_ScilabTEC_2013=2C_wed?= =?iso-8859-1?q?nesday_26_june_2013_-_=C9cole_Polytechnique?= Message-ID: <51515676.2040900@scilab-enterprises.com> scilabtec SAVE THE DATE for the 5th edition of ScilabTEC, the annual Scilab Users Day. Complete program to come shortly. Find the last editions of ScilabTEC online at http://www.scilab.org/community/scilabtec -- Communications and Public Relations Department Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles (France) http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 35206 bytes Desc: not available URL: From rushboy52 at gmail.com Wed Mar 27 09:54:19 2013 From: rushboy52 at gmail.com (Rushi Shukla) Date: Wed, 27 Mar 2013 14:24:19 +0530 Subject: [Scilab-Dev] Request for subscription Message-ID: Hello I have submitted patches and also reported a bug on Scilab's Bug Tracker . I would like to inquire whether I am entitled for a subscription to the mailing list : bugzilla at lists.scilab.org . Seeking guidance , help appreciated . Regards , Rushi Shukla irc : rushboy -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Wed Mar 27 10:04:00 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Wed, 27 Mar 2013 10:04:00 +0100 Subject: [Scilab-Dev] Request for subscription In-Reply-To: References: Message-ID: <5152B600.3010503@scilab-enterprises.com> On 27/03/2013 09:54, Rushi Shukla wrote: > Hello > > I have submitted patches and also reported a bug on Scilab's Bug Tracker > . I would like to inquire whether I am entitled for a subscription to > the mailing list : bugzilla at lists.scilab.org > . Seeking guidance , help appreciated . Our bugzilla allows to add your email as C/C of a bug (See CC List) If you really want to register on the bug mailing list, you can do so here: http://lists.scilab.org/mailman/listinfo/bugzilla But please note that it is a quite heavy traffic mailing list Sylvestre From sgougeon at free.fr Thu Mar 28 03:53:59 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Thu, 28 Mar 2013 03:53:59 +0100 Subject: [Scilab-Dev] unwrap(): improvements Message-ID: <5153B0C7.3050004@free.fr> Hello, Seeing the SEP for an unwrap() function @ https://codereview.scilab.org/#/c/11053/ https://codereview.scilab.org/cat/11053%2C1%2CSEP/SEP_092_unwrap.odt%5E0 Please find in attachments some improved files: unwrap.sci : - unwrap() plots a 1D + 2D examples instead of yielding an error - full vectorization of unwrap() : 2 nested for-end loops skipped : unwrapping a (1000x1000) matrix takes 0.162s instead of 7.36s (time/45) %_unwrap.sci added : example for unwrap(), help file (and eventually a demo) => SCI\modules\elementary_functions\macros\ unwrap.xml : - initial 1D exampleimproved - 1D + 2D examples added - References to SIP unwrapl() and unwrapp() added Best regards Samuel Gougeon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: haifdeef.png Type: image/png Size: 66942 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: unwrap.sci Type: text/x-matlab Size: 1469 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: unwrap.xml Type: text/xml Size: 5039 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: %_unwrap.sci Type: text/x-matlab Size: 1557 bytes Desc: not available URL: From paul.bignier at scilab-enterprises.com Thu Mar 28 11:56:10 2013 From: paul.bignier at scilab-enterprises.com (Paul BIGNIER) Date: Thu, 28 Mar 2013 11:56:10 +0100 Subject: [Scilab-Dev] unwrap(): improvements In-Reply-To: <5153B0C7.3050004@free.fr> References: <5153B0C7.3050004@free.fr> Message-ID: <515421CA.3020402@scilab-enterprises.com> Hello Samuel, thank you for your help, your changes have been implemented. https://codereview.scilab.org/#/c/11053/ On 03/28/2013 03:53 AM, Samuel Gougeon wrote: > Hello, > > Seeing the SEP for an unwrap() function @ > https://codereview.scilab.org/#/c/11053/ > https://codereview.scilab.org/cat/11053%2C1%2CSEP/SEP_092_unwrap.odt%5E0 > > Please find in attachments some improved files: > unwrap.sci : > - unwrap() plots a 1D + 2D examples instead of yielding an error > - full vectorization of unwrap() : 2 nested for-end loops skipped : > unwrapping a (1000x1000) matrix takes 0.162s instead of 7.36s > (time/45) > > %_unwrap.sci added : example for unwrap(), help file (and eventually a > demo) > => SCI\modules\elementary_functions\macros\ > > unwrap.xml : > - initial 1D exampleimproved > - 1D + 2D examples added > - References to SIP unwrapl() and unwrapp() added > > Best regards > Samuel Gougeon > > > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Paul BIGNIER Xcos Developer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.68 http://www.scilab-enterprises.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 66942 bytes Desc: not available URL: From sylvestre.ledru at scilab-enterprises.com Fri Mar 29 13:16:33 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 29 Mar 2013 13:16:33 +0100 Subject: [Scilab-Dev] SEP 88: New functions to get remote files In-Reply-To: <514DA6E1.6070808@free.fr> References: <51016C0E.3060306@scilab-enterprises.com> <514DA6E1.6070808@free.fr> Message-ID: <51558621.6030102@scilab-enterprises.com> Le 23/03/2013 13:58, Samuel Gougeon a ?crit : > Hello Sylvestre, > > Le 24/01/2013 18:14, Sylvestre Ledru a ?crit : > *getURL() and getURLcontent()*: > At the first glance, it is hard to understand the difference between > getURL() and > getURLcontent(). Actually, it is very slight. Since it is only a > matter of output and > that 90% of their respective jobs are the same, in my opinion, this > does not > deserve 2 distinct functions: It would be nicer to add an option > specifying the > output, or even more simply to have a second optionnal output argument: > [filename [, content]] = getURL(...) > It is always possible to specify a trash-file as filename. > or > output = getURL(...,"returnContent") > At least, for the moment, a single help page merging the description > of both > functions would be nice. It implemented your proposal. The profile of getURL is now: [filename, [content]] = getURL(URL [, targetDir [, username [, password]]]]); and getURLcontent has been removed. Thanks for your proposal, it is indeed way better. It should be available in the next nightly builds. > > _Present embarassing limitations w.r.t. curl features_: > The most frustrating one is that these functions allow only queries in > GET method. > The POST method is not available, whereas curl allows it with no > problem and > very great utility. > => So: It would be very useful to add a curl_options string optionnal > parameter, > that would be passed to curl as is, allowing to post data with "-d > param=value ...etc" > and any other curl usage. > By the way, specifying a file in which to dump the targetted content > is possible > in this way. Proxy parameters can also be specified. > It is not that easy to implement (all options won't be available, they are taking different types of arguments, etc) but I will work on this later. > Presently, it is not natural to use atomsSetConfig() to specify a > proxy to use for > getURL...(). I agree with you. We could: * move the proxy configuration as something more global to Scilab * manage it with preferences() and a dedicated function. > > > *splitURL()*: > works fine :-) IMO, its help page should be located in the "paths - > filenames" > subsection, together with fileparts() and other paths-processing > functions. Done Thanks again for your suggestion, Sylvestre -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Fri Mar 29 13:26:17 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 29 Mar 2013 13:26:17 +0100 Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <1363784132929-4026306.post@n3.nabble.com> References: <1363784132929-4026306.post@n3.nabble.com> Message-ID: <51558869.7090803@scilab-enterprises.com> Le 20/03/2013 13:55, Stanislav a ?crit : > SEP_088_xrpoly.odt > > > > > Sounds interesting. Are you planning to implement yourself or are you expecting someone at Scilab Enterprises to implement it ? Sylvestre PS: As usual, I will be apply to work with you to guide you if needed. From krotersv at gmail.com Fri Mar 29 14:11:30 2013 From: krotersv at gmail.com (=?UTF-8?B?0KHRgtCw0L3QuNGB0LvQsNCy?=) Date: Fri, 29 Mar 2013 19:11:30 +0600 Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <51558869.7090803@scilab-enterprises.com> References: <1363784132929-4026306.post@n3.nabble.com> <51558869.7090803@scilab-enterprises.com> Message-ID: <51559302.3090207@gmail.com> 29.03.2013 18:26, Sylvestre Ledru ?????: > Le 20/03/2013 13:55, Stanislav a ?crit : >> SEP_088_xrpoly.odt >> >> >> >> >> > Sounds interesting. > Are you planning to implement yourself or are you expecting someone at > Scilab Enterprises to implement it ? > > Sylvestre > PS: As usual, I will be apply to work with you to guide you if needed. > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev I want do it myself. Stanislav From calixte.denizet at scilab-enterprises.com Fri Mar 29 14:12:22 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Fri, 29 Mar 2013 14:12:22 +0100 Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <51559302.3090207@gmail.com> References: <1363784132929-4026306.post@n3.nabble.com> <51558869.7090803@scilab-enterprises.com> <51559302.3090207@gmail.com> Message-ID: <51559336.80302@scilab-enterprises.com> On 29/03/2013 14:11, ????????? wrote: > 29.03.2013 18:26, Sylvestre Ledru ?????: >> Le 20/03/2013 13:55, Stanislav a ?crit : >>> SEP_088_xrpoly.odt >>> >>> >>> >>> >>> >> Sounds interesting. >> Are you planning to implement yourself or are you expecting someone at >> Scilab Enterprises to implement it ? >> >> Sylvestre >> PS: As usual, I will be apply to work with you to guide you if needed. >> >> _______________________________________________ >> dev mailing list >> dev at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/dev > I want do it myself. Hi Stanislav, Do you plan to improve the actual macro or to rewrite it in C/C++/Java ? Calixte > > Stanislav > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From krotersv at gmail.com Fri Mar 29 14:15:41 2013 From: krotersv at gmail.com (=?UTF-8?B?0KHRgtCw0L3QuNGB0LvQsNCy?=) Date: Fri, 29 Mar 2013 19:15:41 +0600 Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <51559336.80302@scilab-enterprises.com> References: <1363784132929-4026306.post@n3.nabble.com> <51558869.7090803@scilab-enterprises.com> <51559302.3090207@gmail.com> <51559336.80302@scilab-enterprises.com> Message-ID: <515593FD.5060601@gmail.com> 29.03.2013 19:12, Calixte Denizet ?????: > On 29/03/2013 14:11, ????????? wrote: >> 29.03.2013 18:26, Sylvestre Ledru ?????: >>> Le 20/03/2013 13:55, Stanislav a ?crit : >>>> SEP_088_xrpoly.odt >>>> >>>> >>>> >>>> >>>> >>> Sounds interesting. >>> Are you planning to implement yourself or are you expecting someone at >>> Scilab Enterprises to implement it ? >>> >>> Sylvestre >>> PS: As usual, I will be apply to work with you to guide you if needed. >>> >>> _______________________________________________ >>> dev mailing list >>> dev at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/dev >> I want do it myself. > > Hi Stanislav, > > Do you plan to improve the actual macro or to rewrite it in C/C++/Java ? > > Calixte > >> >> Stanislav >> _______________________________________________ >> dev mailing list >> dev at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/dev > > I will improve the actual macro. Stanislav From krotersv at gmail.com Fri Mar 29 16:38:42 2013 From: krotersv at gmail.com (Stanislav) Date: Fri, 29 Mar 2013 08:38:42 -0700 (PDT) Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <515593FD.5060601@gmail.com> References: <1363784132929-4026306.post@n3.nabble.com> <51558869.7090803@scilab-enterprises.com> <51559302.3090207@gmail.com> <51559336.80302@scilab-enterprises.com> <515593FD.5060601@gmail.com> Message-ID: <1364571522181-4026393.post@n3.nabble.com> Here is my patch: xrpoly.7z -- View this message in context: http://mailinglists.scilab.org/xrpoly-drawing-of-many-polygons-of-the-same-type-tp4026306p4026393.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From sgougeon at free.fr Sat Mar 30 03:14:37 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Sat, 30 Mar 2013 03:14:37 +0100 Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <1363784132929-4026306.post@n3.nabble.com> References: <1363784132929-4026306.post@n3.nabble.com> Message-ID: <51564A8D.7010606@free.fr> Hi Stanislav, Le 20/03/2013 13:55, Stanislav a ?crit : > SEP_088_xrpoly.odt > This vectoriation is a good idea! I agree that implementing it in the same function as for only one polygon is much preferable, w.r.t. coding a specific xrpoly*s*() function as it has been done for most of other functions plotting geometrical shapes : xrect > xrects, etc.. Since a SEP is running, here are some ideas of other possible developments for new features: - why not *vectorizing also n, r and theta*? (with default = scalar) - *filling = filling_color* (optional): to fill the polygon(s) with respective colors (vector of indices in the color_map). a color<0 means that the line (border) must not be plotted. - *symbol=[symbol_numbers, symbol_sizes]*: to put a symbol on the angles (the same on all angles, but may be different from a polygon to another one => vectorized = mx2 matrix). - *isoview=%t* option, to force the targetted axes to be isometric to show a truly regular polygonal (see the present mis-shaped sample in help xrpoly) - *showAll=%t* option: => enlarge axes bounds up to the external bounds of generated polygons - returning the *vector of created handles* xrpoly([0.5 0.5], 12, 0.4, symbol=[14, 8], filling=-color("cyan"), isoview=%t) // would display (for a single polygon) Hoping reading you soon Samuel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gchbecgg.png Type: image/png Size: 4835 bytes Desc: not available URL: From rushboy52 at gmail.com Sat Mar 30 09:51:03 2013 From: rushboy52 at gmail.com (Rushi Shukla) Date: Sat, 30 Mar 2013 14:21:03 +0530 Subject: [Scilab-Dev] Compilation Improvement Message-ID: Hello I am solving reported bugs in Scilab and everytime I wish to see my changes or patches , I have to wait for quite some time after issuing 'sudo make install' . Is there a quicker way to achieve the result ? Any sort of help is appreciated . Regards, Rushi Shukla irc: rushboy -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Sat Mar 30 10:51:38 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sat, 30 Mar 2013 10:51:38 +0100 Subject: [Scilab-Dev] Compilation Improvement In-Reply-To: References: Message-ID: <5156B5AA.5000207@scilab-enterprises.com> On 30/03/2013 09:51, Rushi Shukla wrote: > Hello > > I am solving reported bugs in Scilab and everytime I wish to see my > changes or patches , I have to wait for quite some time after issuing > 'sudo make install' . Is there a quicker way to achieve the result ? Any > sort of help is appreciated . The "make install" is not necessary. You can directly call Scilab in the source tree by: $ ./bin/scilab or $ ./bin/scilab-cli By the way, if you are working on just a module, you can do just $ cd modules/core/ && make Sylvestre From krotersv at gmail.com Sun Mar 31 11:12:06 2013 From: krotersv at gmail.com (=?UTF-8?B?0KHRgtCw0L3QuNGB0LvQsNCy?=) Date: Sun, 31 Mar 2013 15:12:06 +0600 Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <51564A8D.7010606@free.fr> References: <1363784132929-4026306.post@n3.nabble.com> <51564A8D.7010606@free.fr> Message-ID: <5157FDE6.3060003@gmail.com> 30.03.2013 08:14, Samuel Gougeon ?????: > Hi Stanislav, > > Le 20/03/2013 13:55, Stanislav a ?crit : >> SEP_088_xrpoly.odt >> > This vectoriation is a good idea! I agree that implementing it in the > same function > as for only one polygon is much preferable, w.r.t. coding a specific > xrpoly*s*() > function as it has been done for most of other functions plotting > geometrical > shapes : xrect > xrects, etc.. > I didn't know about such division and I don't understand why it has been done. If I want to plot n rectangles what function should I use? xrects? Even if n = 1? > Since a SEP is running, here are some ideas of other possible developments > for new features: > - why not *vectorizing also n, r and theta*? (with default = scalar) It is a good idea and it is very simple to implement. > - *filling = filling_color* (optional): to fill the polygon(s) with > respective > colors (vector of indices in the color_map). > a color<0 means that the line (border) must not be plotted. > - *symbol=[symbol_numbers, symbol_sizes]*: to put a symbol on the angles > (the same on all angles, but may be different from a polygon to > another one > => vectorized = mx2 matrix). > - *isoview=%t* option, to force the targetted axes to be isometric to > show > a truly regular polygonal (see the present mis-shaped sample in > help xrpoly) I am not sure that it is a good idea. This function use the axes scale and I am not sure that user want to have isometric axes. Besides, backward compatibility can be damaged. But it can be done in separate function. And in one year somebody will ask: "I am newbie and I didn't know about such division and I don't understand why it has been done." :-) > - *showAll=%t* option: => enlarge axes bounds up to the external > bounds of > generated polygons > - returning the *vector of created handles* I don't understand what "returning the *vector of created handles*" is for? > > xrpoly([0.5 0.5], 12, 0.4, symbol=[14, 8], filling=-color("cyan"), > isoview=%t) > // would display (for a single polygon) > > > > Hoping reading you soon > Samuel > > > > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 4835 bytes Desc: not available URL: From krotersv at gmail.com Sun Mar 31 15:24:13 2013 From: krotersv at gmail.com (Stanislav) Date: Sun, 31 Mar 2013 06:24:13 -0700 (PDT) Subject: [Scilab-Dev] role="code_scilab" Message-ID: <1364736253607-4026407.post@n3.nabble.com> Hi. The file who_user.xml does have attribute role="code_scilab" for tag programlisting" in the section "Examples". Usually there is "example" so I am a bit confused. I cannot find any information about this attribute. Where can I read about attributes? Stanislav -- View this message in context: http://mailinglists.scilab.org/role-code-scilab-tp4026407.html Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. From calixte.denizet at scilab-enterprises.com Sun Mar 31 16:27:25 2013 From: calixte.denizet at scilab-enterprises.com (Calixte Denizet) Date: Sun, 31 Mar 2013 16:27:25 +0200 Subject: [Scilab-Dev] role="code_scilab" In-Reply-To: <1364736253607-4026407.post@n3.nabble.com> References: <1364736253607-4026407.post@n3.nabble.com> Message-ID: <515847CD.3080405@scilab-enterprises.com> Hi Stanislav, i) you're right: we need to document this attribute. ii) this attribute is used to know how to colorize the code given in programlisting. FYI, you could use the values: xml, c, cpp, java, exec, no-scilab-exec. When no role or an unknow role (like code_scilab) is given, the code is colorized as Scilab code. The value exec is used to add an exec button (play button) and no-scilab-exec is used to remove it. The conversion is made in the Java class HTMLDocbookTagConverter.java (modules helptools) where you can find how the docbook tag are converted into HTML and how we handle the attributes. Best regards Calixte On 31/03/2013 15:24, Stanislav wrote: > Hi. > The file who_user.xml does have attribute role="code_scilab" for tag > programlisting" in the section "Examples". Usually there is "example" so I > am a bit confused. I cannot find any information about this attribute. Where > can I read about attributes? > > Stanislav > > > > -- > View this message in context: http://mailinglists.scilab.org/role-code-scilab-tp4026407.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > dev mailing list > dev at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/dev -- Calixte Denizet Software Development Engineer ----------------------------------------------------------- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France http://www.scilab-enterprises.com From krotersv at gmail.com Sun Mar 31 17:03:31 2013 From: krotersv at gmail.com (=?UTF-8?B?0KHRgtCw0L3QuNGB0LvQsNCy?=) Date: Sun, 31 Mar 2013 21:03:31 +0600 Subject: [Scilab-Dev] role="code_scilab" In-Reply-To: <515847CD.3080405@scilab-enterprises.com> References: <1364736253607-4026407.post@n3.nabble.com> <515847CD.3080405@scilab-enterprises.com> Message-ID: <51585043.9050709@gmail.com> 31.03.2013 20:27, Calixte Denizet ?????: > Hi Stanislav, > > i) you're right: we need to document this attribute. > ii) this attribute is used to know how to colorize the code given in > programlisting. > FYI, you could use the values: xml, c, cpp, java, exec, > no-scilab-exec. When no role or an unknow role (like code_scilab) is > given, the code is colorized as Scilab code. The value exec is used to > add an exec button (play button) and no-scilab-exec is used to remove it. > The conversion is made in the Java class HTMLDocbookTagConverter.java > (modules helptools) where you can find how the docbook tag are > converted into HTML and how we handle the attributes. > > Best regards > > Calixte > What attribute should be written for next cases? In C The calling sequence must be: In Fortran it must be: Stanislav From sgougeon at free.fr Sun Mar 31 17:35:32 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Sun, 31 Mar 2013 17:35:32 +0200 Subject: [Scilab-Dev] xrpoly: drawing of many polygons of the same type In-Reply-To: <5157FDE6.3060003@gmail.com> References: <1363784132929-4026306.post@n3.nabble.com> <51564A8D.7010606@free.fr> <5157FDE6.3060003@gmail.com> Message-ID: <515857C4.5060406@free.fr> Hi Stanislav, Le 31/03/2013 11:12, ????????? a ?crit : > 30.03.2013 08:14, Samuel Gougeon ?????: >> This vectoriation is a good idea! I agree that implementing it in the >> same function >> as for only one polygon is much preferable, w.r.t. coding a specific >> xrpoly*s*() >> function as it has been done for most of other functions plotting >> geometrical >> shapes : xrect > xrects, etc.. >> > I didn't know about such division and I don't understand why it has > been done. If I want to plot n rectangles what function should I use? > xrects? Even if n = 1? yes, if you want to fill it with a color : http://help.scilab.org/docs/5.4.0/en_US/xrects.html There is neither logic nor sense for the user, but with xrect() you won't be able to fill it with a color as parameter. So you should assume and use that nb>=1 allows nb=1 :-) >> Since a SEP is running, here are some ideas of other possible >> developments >> for new features: >> - why not *vectorizing also n, r and theta*? (with default = scalar) > It is a good idea and it is very simple to implement. >> - *filling = filling_color* (optional): to fill the polygon(s) with >> respective >> colors (vector of indices in the color_map). >> a color<0 means that the line (border) must not be plotted. >> - *symbol=[symbol_numbers, symbol_sizes]*: to put a symbol on the angles >> (the same on all angles, but may be different from a polygon to >> another one >> => vectorized = mx2 matrix). >> - *isoview=%t* option, to force the targetted axes to be isometric to >> show >> a truly regular polygonal (see the present mis-shaped sample in >> help xrpoly) > I am not sure that it is a good idea. This function use the axes scale > and I am not sure that user want to have isometric axes. If a user wants to plots a regular polygon, don't you think that one prefer to see it as regular ? Backward compatibility would be insured by keeping the default isoview=%f. But i would easily bet that in existing codes, xrpoly(...) commands and 90% of the time preceded or followed by something like ax = gca(); ax.isoview = "on"; and that for 9% of the remaining 10%, it would not injure to add isoview. > Besides, backward compatibility can be damaged. But it can be done in > separate function. And in one year somebody will ask: "I am newbie and > I didn't know about such division and I don't understand why it has > been done." :-) So, finally you understand why there are xrects() after xrect(), and xfrect() (yes, enabling filling deserve a totally new function, don't you think? :-(( ), xarcs() after xarc(), xfarc() after xarc(), and obviously xfarcs() (no, it is not a joke. just check)... >> - *showAll=%t* option: => enlarge axes bounds up to the external >> bounds of >> generated polygons >> - returning the *vector of created handles* > I don't understand what "returning the *vector of created handles*" is > for? to easily enable any further tuning for other attributes of the lines (color, thickness), the filling color of markers, etc. For instance, stars of the example could be made yellow. This would give : H = xrpoly([0.5 0.5], 12, 0.4, symbol=[14, 8], filling=-color("cyan"), isoview=%t) H.mark_background = color("yelow");// and for all polygons in a once -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: eacdjadi.png Type: image/png Size: 6265 bytes Desc: not available URL: