From David_Comer at Emcore.com Wed Apr 2 21:03:59 2008 From: David_Comer at Emcore.com (David Comer) Date: Wed, 2 Apr 2008 13:03:59 -0600 Subject: Function Documentation Standards Document? Message-ID: Hello, This is certainly a newbie question. Can someone point me to a document (or where in the manual) I can find information on the documentation standard for functions? That is, when I wirte a user function/macro, etc. and want the help to appear complete, what document describes the format to use when authoring the function. Also, is there a quick start on the compilation of functions? Thanks for your time and help, Dave Comer -------------- next part -------------- An HTML attachment was scrubbed... URL: From Paul_Martin at mksinst.com Wed Apr 2 21:03:21 2008 From: Paul_Martin at mksinst.com (Paul_Martin at mksinst.com) Date: Wed, 2 Apr 2008 15:03:21 -0400 Subject: ADC and DAC Functions Message-ID: All, Are there any ready to use ADC or DAC functional blocks that I can use in SCICOS ? Regards, Paul Paul A. Martin Systems Engineer II MKS Instruments, ENI Products Office: 585.350.2209 Fax: 585.292.8828 Email: Paul_Martin at mksinst.com From Simone.Mannori at inria.fr Thu Apr 3 05:11:03 2008 From: Simone.Mannori at inria.fr (Simone Mannori) Date: Thu, 03 Apr 2008 05:11:03 +0200 Subject: [scilab-Users] ADC and DAC Functions In-Reply-To: References: Message-ID: <1207192263.6413.9.camel@buta.inria.fr> > Are there any ready to use ADC or DAC functional blocks that I can use in > SCICOS ? > Yes: Scicos-HIL (Hardware in the Loop) is a ready to use package for Scicos data acquisition ad control applications. We are preparing a special "Scicos for embedded applications" sections inside Scilab's web site. I will send you the latest package for Scilab 4.1.2 ASAP. Just one question: Windows or Linux ? Simone Mannori - Scilab Consortium Scilab/Scicos Embedded Applications //============================================================================= > Paul A. Martin > Systems Engineer II > MKS Instruments, ENI Products > > Office: 585.350.2209 > Fax: 585.292.8828 > Email: Paul_Martin at mksinst.com > From Paul_Martin at mksinst.com Thu Apr 3 15:10:46 2008 From: Paul_Martin at mksinst.com (Paul_Martin at mksinst.com) Date: Thu, 3 Apr 2008 09:10:46 -0400 Subject: [scilab-Users] ADC and DAC Functions In-Reply-To: <1207192263.6413.9.camel@buta.inria.fr> Message-ID: I am running Windows XP. Thank you so much !! Regards, Paul Paul A. Martin Systems Engineer II MKS Instruments, ENI Products Office: 585.350.2209 Fax: 585.292.8828 Email: Paul_Martin at mksinst.com Simone Mannori To users at lists.scilab.org 04/02/2008 11:21 cc PM simone.mannori at inria.fr, simone.mannori at gmail.com Subject Please respond to Re: [scilab-Users] ADC and DAC users at lists.scila Functions b.org > Are there any ready to use ADC or DAC functional blocks that I can use in > SCICOS ? > Yes: Scicos-HIL (Hardware in the Loop) is a ready to use package for Scicos data acquisition ad control applications. We are preparing a special "Scicos for embedded applications" sections inside Scilab's web site. I will send you the latest package for Scilab 4.1.2 ASAP. Just one question: Windows or Linux ? Simone Mannori - Scilab Consortium Scilab/Scicos Embedded Applications //============================================================================= > Paul A. Martin > Systems Engineer II > MKS Instruments, ENI Products > > Office: 585.350.2209 > Fax: 585.292.8828 > Email: Paul_Martin at mksinst.com > From stephane.mottelet at utc.fr Thu Apr 3 18:14:07 2008 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Thu, 03 Apr 2008 18:14:07 +0200 Subject: double floating point numbers in Scilab In-Reply-To: <1207192263.6413.9.camel@buta.inria.fr> References: <1207192263.6413.9.camel@buta.inria.fr> Message-ID: <47F5024F.1060104@utc.fr> Hi all. Is there a Scilab function which returns the hexadecimal string corresponding to a given 64 bits float ? This can be easily done in C by using the %x conversion char, i.e. printf("%x\n",(double)1.0/3.0); produces : 3fd55555 Why does the Scilab printf make an integer conversion, -->printf("%x\n",1.0/3.0); 0 althoug this is not really needed since the dec2hex() macro already works for that ? S. -- St?phane Mottelet Laboratoire de Math?matiques Appliqu?es Universit? de Technologie de Compi?gne http://www.lmac.utc.fr/~mottelet From stephane.mottelet at utc.fr Thu Apr 3 18:43:19 2008 From: stephane.mottelet at utc.fr (=?ISO-8859-1?Q?St=E9phane_Mottelet?=) Date: Thu, 03 Apr 2008 18:43:19 +0200 Subject: [scilab-Users] double floating point numbers in Scilab In-Reply-To: <47F5024F.1060104@utc.fr> References: <1207192263.6413.9.camel@buta.inria.fr> <47F5024F.1060104@utc.fr> Message-ID: <47F50927.6040805@utc.fr> St?phane Mottelet a ?crit : > Hi all. > > Is there a Scilab function which returns the hexadecimal > string corresponding to a given 64 bits float ? > > This can be easily done in C by using the > %x conversion char, i.e. > > printf("%x\n",(double)1.0/3.0); > > produces : > > 3fd55555 > > Why does the Scilab printf make an integer > conversion, > > -->printf("%x\n",1.0/3.0); 0 > > althoug this is not really needed since the dec2hex() macro > already works for that ? > > S. > > > > Sorry, it should be read above printf("%x%x\n",(double)1.0/3.0); produces : 3fd5555555555555 S. -- St?phane Mottelet Laboratoire de Math?matiques Appliqu?es Universit? de Technologie de Compi?gne http://www.lmac.utc.fr/~mottelet From karl.delbe at univ-ag.fr Sat Apr 5 18:12:20 2008 From: karl.delbe at univ-ag.fr (=?ISO-8859-1?Q?Karl_Delb=E9?=) Date: Sat, 05 Apr 2008 12:12:20 -0400 Subject: installation troubleshoot on Linux x86_64 Message-ID: <47F7A4E4.2050007@univ-ag.fr> Dear all I'm triying to install scilab on a Linux mandriva x86_64, but after making the standard installation procedure, the soft doesn't work. Is any body can help me ? Any user with similar architecture system? Thanks in advance! -- ************************************************************** Karl Delb? Universit? des Antilles et de la Guyane Facult? des Sciences Exactes et Naturelles D?partement de Physique Groupe de Technologie des Surfaces et Interfaces BP 592 97159 Pointe-a-Pitre cedex Guadeloupe, FRANCE Tel:590 483 111 Fax: 590 483 105 site oueb : www.univ-ag.fr/gtsi ************************************************************** From qxj051000 at utdallas.edu Sun Apr 6 04:09:13 2008 From: qxj051000 at utdallas.edu (Qasim Javed) Date: Sat, 05 Apr 2008 21:09:13 -0500 Subject: perfect_match arcost ordering? Message-ID: <47F830C9.4070901@utdallas.edu> Hi all, I am trying to use perfect match. According to the documentation arcost should be the costs associated with ARCs which makes the number double the number of edges in the undirected graph. Keep in mind that perfect_match only accepts undirected graphs as input. What I am unable to figure out is that what order should I specify the costs in? Lets say I have 24 edges so that size of arcost needs to be 48. Once I specify the cost of the edges in the same sequence as I specified the edges, I then have 24 arcs with costs. What order should I follow for the other direction? Thanks, Qasim From hsr at ee.iitm.ac.in Mon Apr 7 07:40:53 2008 From: hsr at ee.iitm.ac.in (harishankar ramachandran) Date: Mon, 7 Apr 2008 11:10:53 +0530 Subject: Using find on matrices Message-ID: <200804071110.53405.hsr@ee.iitm.ac.in> Hi all, If I have a matrix "A", and I apply a condition on it, I can extract the indices for which the condition is true, and I can then use that vector to change those values. For eg: indx=find(A>4); A(indx)=5; There is also a double index version of find, where I can get the (i,j) coordinates of the points. However, I do not seem to be able to use the following code: [ii,jj]=find(A>4); A(ii,jj)=5; This instead assigns 5 to a submatrix of A defined by rows ii and columns jj. What is the proper way to vectorially assign values to elements of a matrix A, if I have the element locations in the form [ii,jj]? Without a for loop, that is. Another question: Suppose I have a set of disjoint conditions with which I wish to partition a matrix. How do I extract the corresponding elements with a single command? This seems like a very useful capability, but I don't find anyway to do this without using a for loop. Eg: A=int(rand(5,5)*12); v=0:2:12; l=list() for k=1:length(v)-1 l(k)=find(A>=v(k) & A=v(1:$-1) & A References: <47F7A4E4.2050007@univ-ag.fr> Message-ID: <913927c96ade301c91e8e03ef44bd675@korcula.inria.fr> Hello Karl, On Sat, 05 Apr 2008 12:12:20 -0400, Karl Delb? wrote: > Dear all > I'm triying to install scilab on a Linux mandriva x86_64, but after > making the standard installation procedure, the soft doesn't work. Please, could you be a bit more specific ? What do you mean by "doesn't work" ? Any error/warning ? Did you download the 32 bits binary from our website or did you try to compile from the source ? Regards, Sylvestre From grocer.toolbox at gmail.com Tue Apr 8 17:32:44 2008 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Tue, 8 Apr 2008 17:32:44 +0200 Subject: [scilab-Users] Using find on matrices In-Reply-To: <200804071110.53405.hsr@ee.iitm.ac.in> References: <200804071110.53405.hsr@ee.iitm.ac.in> Message-ID: What does the winner of this logical contest win? ;-) Anyway, I have an exact and an approximate solution (if the only problem is to avoid loops!): - first problem: --> A((jj-1)*size(A,1)+ii) = 5 - second problem: --> B= matrix(A,-1,1) --> C=matrix(B,-1,1) .*. ones(1,size(v,2)) - ones(size(C,1),1) .*. v --> D=C(:,2:$) <0 & C(:,1:$-1) >=0 --> [f1,f2]=find(D) which provides the result you want (although presented slightly diffrently, but I do not know if it makes a difference for your uses). Eric. 2008/4/7, harishankar ramachandran : > > Hi all, > > If I have a matrix "A", and I apply a condition on it, I can extract the > indices for which the condition is true, and I can then use that vector to > change those values. For eg: > > indx=find(A>4); > A(indx)=5; > > There is also a double index version of find, where I can get the (i,j) > coordinates of the points. However, I do not seem to be able to use the > following code: > > [ii,jj]=find(A>4); > A(ii,jj)=5; > > This instead assigns 5 to a submatrix of A defined by rows ii and columns > jj. > > What is the proper way to vectorially assign values to elements of a > matrix A, > if I have the element locations in the form [ii,jj]? Without a for loop, > that > is. > > Another question: Suppose I have a set of disjoint conditions with which I > wish to partition a matrix. How do I extract the corresponding elements > with > a single command? This seems like a very useful capability, but I don't > find > anyway to do this without using a for loop. Eg: > > A=int(rand(5,5)*12); > v=0:2:12; > l=list() > for k=1:length(v)-1 > l(k)=find(A>=v(k) & A end > > This yields: > A = > > 2. 7. 6. 2. 3. > 9. 10. 7. 2. 11. > 0. 8. 8. 2. 2. > 3. 10. 2. 10. 3. > 7. 0. 6. 7. 4. > > l = > l(1) = 3. 10. > l(2) = 1. 4. 14. 16. 17. 18. 21. 23. 24. > l(3) = 25. > l(4) = 5. 6. 11. 12. 15. 20. > l(5) = 2. 8. 13. > l(6) = 7. 9. 19. 22. > > But can I do it faster, without for loops? I would like to have a command > that > does: > > A=int(rand(5,5)*12); > v=0:2:12; > l=findmany(A>=v(1:$-1) & A > or something like that. Is there some such thing? > > Thanks in advance > > hari ramachandran > -- > Dr. Hari Ramachandran, EE Dept, IIT-Madras > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fermi_andy at yahoo.com Thu Apr 10 12:10:48 2008 From: fermi_andy at yahoo.com (albert einstein) Date: Thu, 10 Apr 2008 03:10:48 -0700 (PDT) Subject: Optimization Message-ID: <74264.86215.qm@web51609.mail.re2.yahoo.com> Hi All! I need some help with Optimization Toolbox Someone knows what function in Scilab (for Optimization) equals to function "constr" or "fmincon" in Matlab (Optimzation Toolbox)? Or Should I need to write another script with C? Thanks in advice! Arviandy __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mjmccann at iee.org Thu Apr 10 13:13:13 2008 From: mjmccann at iee.org (Michael J. McCann) Date: Thu, 10 Apr 2008 11:13:13 +0000 Subject: [scilab-Users] Optimization In-Reply-To: <74264.86215.qm@web51609.mail.re2.yahoo.com> References: <74264.86215.qm@web51609.mail.re2.yahoo.com> Message-ID: Andy, I'm just investigating Scilab. I did one or two NL optimizations in Matlab using fminunc() with a penalty function. Without having done it, it looks as if optim() in Scilab is the answer because it allows constraints to be specified. Mike. =================== At 10:10 2008-04-10, you wrote: >Hi All! >I need some help with Optimization Toolbox > >Someone knows what function in Scilab (for Optimization) equals to >function "constr" or "fmincon" in Matlab (Optimzation Toolbox)? > >Or Should I need to write another script with C? >Thanks in advice! > >Arviandy From karl.delbe at univ-ag.fr Thu Apr 10 14:51:59 2008 From: karl.delbe at univ-ag.fr (=?UTF-8?B?S2FybCBEZWxiw6k=?=) Date: Thu, 10 Apr 2008 08:51:59 -0400 Subject: [scilab-Users] installation troubleshoot on Linux x86_64 In-Reply-To: <913927c96ade301c91e8e03ef44bd675@korcula.inria.fr> References: <47F7A4E4.2050007@univ-ag.fr> <913927c96ade301c91e8e03ef44bd675@korcula.inria.fr> Message-ID: <47FE0D6F.8050901@univ-ag.fr> Hi Sylvestre, first, I use a source version (*scilab-4.1.2-src.tar.gz*) for compilation. With the command* tar zxvf scilab-4.1.2-src.tar.gz*, I uncompress the package in */usr/local/*. Then, the directory * scilab-4.1.2/* is created. In this directory, I launch the *./configure* command without flag. Everything seems to work well, I send you my *config.log *file in attached document. Finally, I launch the *make all* command, and the following message appear: * [root at pc539vl2 scilab-4.1.2]# make all make: *** Pas de r?gle pour fabriquer la cible ? all ?. Arr?t. *After checking the directory there is no Makfile but some Makefile.* Did I make something wrong? Any subjection ? * *Sylvestre Ledru a ?crit : > Hello Karl, > > On Sat, 05 Apr 2008 12:12:20 -0400, Karl Delb? > wrote: > >> Dear all >> I'm triying to install scilab on a Linux mandriva x86_64, but after >> making the standard installation procedure, the soft doesn't work. >> > Please, could you be a bit more specific ? What do you mean by "doesn't > work" ? Any error/warning ? > Did you download the 32 bits binary from our website or did you try to > compile from the source ? > > Regards, > Sylvestre > > -- ************************************************************** Karl Delb? Universit? des Antilles et de la Guyane Facult? des Sciences Exactes et Naturelles D?partement de Physique Groupe de Technologie des Surfaces et Interfaces BP 592 97159 Pointe-a-Pitre cedex Guadeloupe, FRANCE Tel:590 483 111 Fax: 590 483 105 site oueb : www.univ-ag.fr/gtsi ************************************************************** -------------- next part -------------- A non-text attachment was scrubbed... Name: config.log Type: text/x-log Size: 35655 bytes Desc: not available URL: From perry.hargrave at gmail.com Sat Apr 12 01:03:45 2008 From: perry.hargrave at gmail.com (Perry Hargrave) Date: Fri, 11 Apr 2008 16:03:45 -0700 Subject: Error: can't read debugstate: no such variable Message-ID: <47FFEE51.4090502@gmail.com> i've x86 (core duo) with arch linux. i've just built scilab-se-build-4_21422 (a build of 4.1.2 wouldn't work at all) with these options: ./configure --prefix=/usr --with-gfortran --with-tk --with-pvm --without-ocaml --without-java --with-gtk2 It compiles with no errors. and runs the command window and all demos I've seen OK. When I try to enter the scipad i get this error (when scipad is started the first time) in the command window: shared archive loaded Link done !--error 999 TCL_EvalStr, tab stop "-34.38852765205531" is not at a positive distance at line 1 at line 73 of function scipad called by : scipad();(1) while executing a callback and the editor doesnt start at all. usually it will start the second time I try. Once it starts I keep getting and error about 'debugstate' not being defined, and this renders SciPad useless (everytime I click in the text field to edit the error occurs). some googling turned up this: http://viewvc.scilab.org/bin/cgi/viewvc.cgi/trunk/scilab/modules/scipad/tcl/db_states.tcl?view=markup&pathrev=18170 but I'm not sure how to proceed from here. Any suggestions? thanks. From fvogelnew1 at free.fr Sat Apr 12 10:34:04 2008 From: fvogelnew1 at free.fr (=?ISO-8859-1?Q?Fran=E7ois_Vogel?=) Date: Sat, 12 Apr 2008 10:34:04 +0200 Subject: [scilab-Users] Error: can't read debugstate: no such variable In-Reply-To: <47FFEE51.4090502@gmail.com> References: <47FFEE51.4090502@gmail.com> Message-ID: <480073FC.2040502@free.fr> You have a problem with something Tcl I think related to setting tabs in text widgets on your platform, not with Scipad. You must fix the first error, not the problem with debugstate, which is only a ocnsequence of the first TCL_EvalStr error. Is it the same with the binary version? Perhaps what you see is due to --with-gtk2 > It compiles with no errors. and runs the command window and all demos > I've seen OK. Did you try the Tcl demos? Try them. Francois Perry Hargrave said on 12/04/2008 01:03: > i've x86 (core duo) with arch linux. > > i've just built scilab-se-build-4_21422 (a build of 4.1.2 wouldn't work > at all) with these options: > > ./configure --prefix=/usr --with-gfortran --with-tk --with-pvm > --without-ocaml --without-java --with-gtk2 > > It compiles with no errors. and runs the command window and all demos > I've seen OK. > > When I try to enter the scipad i get this error (when scipad is started > the first time) in the command window: > > shared archive loaded > Link done > !--error 999 > TCL_EvalStr, tab stop "-34.38852765205531" is not at a positive distance > at line 1 > at line 73 of function scipad called by : scipad();(1) > while executing a callback > > > > and the editor doesnt start at all. usually it will start the second > time I try. > > Once it starts I keep getting and error about 'debugstate' not being > defined, and this renders SciPad useless (everytime I click in the text > field to edit the error occurs). > > some googling turned up this: > http://viewvc.scilab.org/bin/cgi/viewvc.cgi/trunk/scilab/modules/scipad/tcl/db_states.tcl?view=markup&pathrev=18170 > > > but I'm not sure how to proceed from here. Any suggestions? > > thanks. > > > From enrico.segre at weizmann.ac.il Mon Apr 14 09:25:54 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Mon, 14 Apr 2008 10:25:54 +0300 Subject: Error: can't read debugstate: no such variable Message-ID: <1208157954.4858.13.camel@segre-pc2.weizmann.ac.il> [resending - listserver down during the weekend?] > i've x86 (core duo) with arch linux. > > i've just built scilab-se-build-4_21422 (a build of 4.1.2 wouldn't work > at all) with these options: I confirm that I can build BUILD4 on a multicore x64 system. I got r24233, for the record. The only problem known to me specific of x64, which is not in x32, is bug 2394/2448. I can reproduce your error though, if I tamper with the file ~/.Scilab/scilab-4.1.2/.SciPadPreferences.tcl and write there an invalid number for the entry tabsizeinchars (say -5). This causes a complaint in the scilab shell analogous to yours (the decimal number in the error message is slightly different, but I think this is a result of the particular screen metrics), an apparent success in bringing up the main editor window, but a tk_messageBox complaining about debugstate all the time subsequently, and an unusable scipad. This story about debugstate is understandable since the initialization of scipad couldn't complete as it should have in first instance, and doesn't trouble me. So, I suggest you to check what happened with the .SciPadPreferences.tcl file - if you edited it just correct it (or remove it, it will be recreated with defaults). If that is not the case please come back, we'll see why it happens that way. hth, Enrico From ricci2 at unisi.it Mon Apr 14 12:23:41 2008 From: ricci2 at unisi.it (Maso Ricci) Date: Mon, 14 Apr 2008 12:23:41 +0200 Subject: Matrix with a variable as name ... Message-ID: <480330AD.50107@unisi.it> Hi all, I wonder whether is possible to assign to name a matrix with a variable; like for i = 1:10 namematrix='A'+string(i) . . . Thanks /maso -- Maso Ricci Ph.D Dept. of Chemical and Biosystem Science University of Siena Via A. Moro, 2 ? 53100 Siena ITALY Tel: +39 0577 234367 Fax: +39 0577 234177 email: ricci2 at unisi.it From perry.hargrave at gmail.com Mon Apr 14 18:30:45 2008 From: perry.hargrave at gmail.com (Perry Hargrave) Date: Mon, 14 Apr 2008 09:30:45 -0700 Subject: [scilab-Users] Re: Error: can't read debugstate: no such variable In-Reply-To: <1208157954.4858.13.camel@segre-pc2.weizmann.ac.il> References: <1208157954.4858.13.camel@segre-pc2.weizmann.ac.il> Message-ID: <480386B5.5000306@gmail.com> it seems I don't have ~/.Scilab/scilab-/.SciPadPreferences.tcl 'slocate SciPadPreferences' returns nothing at all. Enrico Segre wrote: > [resending - listserver down during the weekend?] > >> i've x86 (core duo) with arch linux. >> >> i've just built scilab-se-build-4_21422 (a build of 4.1.2 wouldn't work >> at all) with these options: > > I confirm that I can build BUILD4 on a multicore x64 system. I got > r24233, for the record. The only problem known to me specific of x64, > which is not in x32, is bug 2394/2448. > > I can reproduce your error though, if I tamper with the file > ~/.Scilab/scilab-4.1.2/.SciPadPreferences.tcl and write there an invalid > number for the entry tabsizeinchars (say -5). This causes a complaint in > the scilab shell analogous to yours (the decimal number in the error > message is slightly different, but I think this is a result of the > particular screen metrics), an apparent success in bringing up the main > editor window, but a tk_messageBox complaining about debugstate all the > time subsequently, and an unusable scipad. This story about debugstate > is understandable since the initialization of scipad couldn't complete > as it should have in first instance, and doesn't trouble me. > > So, I suggest you to check what happened with the .SciPadPreferences.tcl > file - if you edited it just correct it (or remove it, it will be > recreated with defaults). If that is not the case please come back, > we'll see why it happens that way. > > hth, Enrico > > > > From perry.hargrave at gmail.com Mon Apr 14 18:33:19 2008 From: perry.hargrave at gmail.com (Perry Hargrave) Date: Mon, 14 Apr 2008 09:33:19 -0700 Subject: [scilab-Users] Error: can't read debugstate: no such variable In-Reply-To: <480073FC.2040502@free.fr> References: <47FFEE51.4090502@gmail.com> <480073FC.2040502@free.fr> Message-ID: <4803874F.4000503@gmail.com> I did try all the TCL/TK demos and all succeeded with no errors. I can even see the same function I haven't gotten SciLab to compile at all with any combination of options that lacked the --with-gtk2 flag. Fran?ois Vogel wrote: > You have a problem with something Tcl I think related to setting tabs in > text widgets on your platform, not with Scipad. > > You must fix the first error, not the problem with debugstate, which is > only a ocnsequence of the first TCL_EvalStr error. > > Is it the same with the binary version? Perhaps what you see is due to > --with-gtk2 > >> It compiles with no errors. and runs the command window and all demos >> I've seen OK. > > Did you try the Tcl demos? Try them. > > Francois > > > > > Perry Hargrave said on 12/04/2008 01:03: >> i've x86 (core duo) with arch linux. >> >> i've just built scilab-se-build-4_21422 (a build of 4.1.2 wouldn't >> work at all) with these options: >> >> ./configure --prefix=/usr --with-gfortran --with-tk --with-pvm >> --without-ocaml --without-java --with-gtk2 >> >> It compiles with no errors. and runs the command window and all demos >> I've seen OK. >> >> When I try to enter the scipad i get this error (when scipad is >> started the first time) in the command window: >> >> shared archive loaded >> Link done >> !--error 999 >> TCL_EvalStr, tab stop "-34.38852765205531" is not at a positive >> distance at line 1 >> at line 73 of function scipad called by : scipad();(1) >> while executing a callback >> >> >> >> and the editor doesnt start at all. usually it will start the second >> time I try. >> >> Once it starts I keep getting and error about 'debugstate' not being >> defined, and this renders SciPad useless (everytime I click in the >> text field to edit the error occurs). >> >> some googling turned up this: >> http://viewvc.scilab.org/bin/cgi/viewvc.cgi/trunk/scilab/modules/scipad/tcl/db_states.tcl?view=markup&pathrev=18170 >> >> >> but I'm not sure how to proceed from here. Any suggestions? >> >> thanks. >> >> >> > From perry.hargrave at gmail.com Mon Apr 14 19:19:07 2008 From: perry.hargrave at gmail.com (Perry Hargrave) Date: Mon, 14 Apr 2008 10:19:07 -0700 Subject: [scilab-Users] Error: can't read debugstate: no such variable In-Reply-To: <480073FC.2040502@free.fr> References: <47FFEE51.4090502@gmail.com> <480073FC.2040502@free.fr> Message-ID: <4803920B.4050206@gmail.com> > Is it the same with the binary version? I just tried the binary 4.1.2 and it does work. perry Fran?ois Vogel wrote: > You have a problem with something Tcl I think related to setting tabs in > text widgets on your platform, not with Scipad. > > You must fix the first error, not the problem with debugstate, which is > only a ocnsequence of the first TCL_EvalStr error. > > Is it the same with the binary version? Perhaps what you see is due to > --with-gtk2 > >> It compiles with no errors. and runs the command window and all demos >> I've seen OK. > > Did you try the Tcl demos? Try them. > > Francois > > > > > Perry Hargrave said on 12/04/2008 01:03: >> i've x86 (core duo) with arch linux. >> >> i've just built scilab-se-build-4_21422 (a build of 4.1.2 wouldn't >> work at all) with these options: >> >> ./configure --prefix=/usr --with-gfortran --with-tk --with-pvm >> --without-ocaml --without-java --with-gtk2 >> >> It compiles with no errors. and runs the command window and all demos >> I've seen OK. >> >> When I try to enter the scipad i get this error (when scipad is >> started the first time) in the command window: >> >> shared archive loaded >> Link done >> !--error 999 >> TCL_EvalStr, tab stop "-34.38852765205531" is not at a positive >> distance at line 1 >> at line 73 of function scipad called by : scipad();(1) >> while executing a callback >> >> >> >> and the editor doesnt start at all. usually it will start the second >> time I try. >> >> Once it starts I keep getting and error about 'debugstate' not being >> defined, and this renders SciPad useless (everytime I click in the >> text field to edit the error occurs). >> >> some googling turned up this: >> http://viewvc.scilab.org/bin/cgi/viewvc.cgi/trunk/scilab/modules/scipad/tcl/db_states.tcl?view=markup&pathrev=18170 >> >> >> but I'm not sure how to proceed from here. Any suggestions? >> >> thanks. >> >> >> > From mattyalbrecht at gmail.com Tue Apr 15 05:51:42 2008 From: mattyalbrecht at gmail.com (Matthew Albrecht) Date: Tue, 15 Apr 2008 11:51:42 +0800 Subject: [scilab-Users] Matrix with a variable as name ... In-Reply-To: <480330AD.50107@unisi.it> References: <480330AD.50107@unisi.it> Message-ID: Hello, I had help with this just recently, is this what you need? http://lists.scilab.org/cgi-bin/ezmlm-browse?list=users&cmd=showthread&month=200803&threadid=njmjggkfcppoaocjhenj Matt On 14/04/2008, Maso Ricci wrote: > > Hi all, > > I wonder whether is possible to assign to name a matrix with a variable; > like > > for i = 1:10 > > namematrix='A'+string(i) > > > . > . > . > > > Thanks > > /maso > > > -- > > Maso Ricci Ph.D > Dept. of Chemical and Biosystem Science > University of Siena > Via A. Moro, 2 ? 53100 Siena > ITALY > Tel: +39 0577 234367 > Fax: +39 0577 234177 > email: ricci2 at unisi.it > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ricci2 at unisi.it Tue Apr 15 09:54:49 2008 From: ricci2 at unisi.it (Maso Ricci) Date: Tue, 15 Apr 2008 09:54:49 +0200 Subject: [scilab-Users] Matrix with a variable as name ... In-Reply-To: References: <480330AD.50107@unisi.it> Message-ID: <48045F49.4080505@unisi.it> perfect ! thanks /maso Matthew Albrecht wrote: > Hello, > I had help with this just recently, is this what you need? > http://lists.scilab.org/cgi-bin/ezmlm-browse?list=users&cmd=showthread&month=200803&threadid=njmjggkfcppoaocjhenj > > > Matt > > On 14/04/2008, *Maso Ricci* > > wrote: > > Hi all, > > I wonder whether is possible to assign to name a matrix with a > variable; like > > for i = 1:10 > > namematrix='A'+string(i) > > > . > . > . > > > Thanks > > /maso > > > -- > > Maso Ricci Ph.D > Dept. of Chemical and Biosystem Science > University of Siena > Via A. Moro, 2 ? 53100 Siena > ITALY > Tel: +39 0577 234367 > Fax: +39 0577 234177 > email: ricci2 at unisi.it > > -- Maso Ricci Ph.D Dept. of Chemical and Biosystem Science University of Siena Via A. Moro, 2 ? 53100 Siena ITALY Tel: +39 0577 234367 Fax: +39 0577 234177 email: ricci2 at unisi.it From luizfelipeasoares at gmail.com Tue Apr 15 17:03:50 2008 From: luizfelipeasoares at gmail.com (Luiz Angioletti) Date: Tue, 15 Apr 2008 12:03:50 -0300 Subject: About image processing Message-ID: <1f0d44820804150803g2e024179v82618b8226c9526a@mail.gmail.com> Friends, I'm new to SciLab (actually brand new), and I'm looking for some functions to use for image processing. I'm looking for an alternative to Octave, that so far hasn't fulfilled my expectations. I'd appreciate as well some links to reference material, other than the well-known SciLab site. Thanks in advance! Luiz Angioletti -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at inria.fr Tue Apr 15 17:18:29 2008 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Tue, 15 Apr 2008 17:18:29 +0200 Subject: [scilab-Users] About image processing In-Reply-To: <1f0d44820804150803g2e024179v82618b8226c9526a@mail.gmail.com> References: <1f0d44820804150803g2e024179v82618b8226c9526a@mail.gmail.com> Message-ID: <1208272709.6451.10449.camel@korcula.inria.fr> Hello, Have a look to http://sivp.sourceforge.net/ (packaged under Debian) or http://scilab-aurora.sourceforge.net/ Cheers, Sylvestre Le mardi 15 avril 2008 ? 12:03 -0300, Luiz Angioletti a ?crit : > Friends, > > I'm new to SciLab (actually brand new), and I'm looking for some > functions to use for image processing. > > I'm looking for an alternative to Octave, that so far hasn't > fulfilled my expectations. > > I'd appreciate as well some links to reference material, other than > the well-known SciLab site. > > > Thanks in advance! > > > Luiz Angioletti From luizfelipeasoares at gmail.com Tue Apr 15 17:35:51 2008 From: luizfelipeasoares at gmail.com (Luiz Angioletti) Date: Tue, 15 Apr 2008 12:35:51 -0300 Subject: [scilab-Users] About image processing In-Reply-To: <1208272709.6451.10449.camel@korcula.inria.fr> References: <1f0d44820804150803g2e024179v82618b8226c9526a@mail.gmail.com> <1208272709.6451.10449.camel@korcula.inria.fr> Message-ID: <1f0d44820804150835w2f31020qf2da19d8b03a7040@mail.gmail.com> Sylvestre, Thanks for the links, and two comments about them: 1 -the aurora project is a little over my needs, but it is really good to know about the possibility =) 2 - at the SIVP project site, I got the link to the SIP project, and from a quick read I thought it would fit better to my needs. Still about the SIP project, their most recent release (stable) is for the SciLab 2.7 version... is that correct, r am I drunk? Thank you for the speedy answer!! =) Luiz. 2008/4/15, Sylvestre Ledru : > > Hello, > > Have a look to http://sivp.sourceforge.net/ (packaged under Debian) > or http://scilab-aurora.sourceforge.net/ > > Cheers, > Sylvestre > > Le mardi 15 avril 2008 ? 12:03 -0300, Luiz Angioletti a ?crit : > > > Friends, > > > > I'm new to SciLab (actually brand new), and I'm looking for some > > functions to use for image processing. > > > > I'm looking for an alternative to Octave, that so far hasn't > > fulfilled my expectations. > > > > I'd appreciate as well some links to reference material, other than > > the well-known SciLab site. > > > > > > Thanks in advance! > > > > > > Luiz Angioletti > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From luizfelipeasoares at gmail.com Tue Apr 15 17:38:24 2008 From: luizfelipeasoares at gmail.com (Luiz Angioletti) Date: Tue, 15 Apr 2008 12:38:24 -0300 Subject: [scilab-Users] About image processing In-Reply-To: <1f0d44820804150835w2f31020qf2da19d8b03a7040@mail.gmail.com> References: <1f0d44820804150803g2e024179v82618b8226c9526a@mail.gmail.com> <1208272709.6451.10449.camel@korcula.inria.fr> <1f0d44820804150835w2f31020qf2da19d8b03a7040@mail.gmail.com> Message-ID: <1f0d44820804150838s32f9bda8gaf51b9409be6890c@mail.gmail.com> Sorry, My mistake, at: http://sourceforge.net/project/showfiles.php?group_id=68055 I found that there is a most recent and stable version Thanks again. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre-alain.millet at insa-lyon.fr Tue Apr 15 20:37:33 2008 From: pierre-alain.millet at insa-lyon.fr (Pierre-Alain Millet) Date: Tue, 15 Apr 2008 20:37:33 +0200 Subject: local/global dans un algo de parcours de graphe Message-ID: <20080415203733.5ak4lgl4kkw0wkcg@webmail2.insa-lyon.fr> petit nouveau sur scilab, je travaille sur des graphes issus de mod?le de syst?me d'information. j'ai besoin de trouver pour un sommet s d'un graphe, la liste des aretes accessibles par un chemin de longueur inf?rieure ? un max (ce max ?tant du genre la moiti? du diametre du graphe). je commence par la liste des chemins de longueur = max (le graphe ?tant non orient?, et le max ?tant inf?rieur au diametre, mes chemins ne font pas tout le graphe...) je n'ai pas trouv? de fonctions toute faite, et je me suis lanc? dans un algo bas? sur une matrice ? trois dimensions.... (ci-dessous) ca fonctionne, mais quand je mets cette fonction dans un fichier et que je l'appelle par exec(), j'ai des comportements curieux de variables non d?finies.. je pense que c'est une question de local/global, mais je n'ai pas encore trouv?... donc, merci d'avance de toute aide 1/ sur l'objectif lui m?me... surtout si ca existe d?ja en beaucoup plus simple 2/ sur l'utilisation par exec() et les cons?quences sur la port?e des variables.. pam ci-dessous, l'algo //----------------TROUVELESCHEMINS DE LONGUEUR N // fonction pour trouver le num?ro d'une arete dans un graphe ? partir de ses sommets function a=arete(s1,s2,g) //renvoie le num?ro de l'arete dans le graphe g par une recherche dans tail/head ??? a = 0; ??? warning(msprintf('%s %d %d','cherche arete pour ',s1,s2)); ??? for i=1:edge_number(g)? ??? // pour toutes les aretes du graphe ??? ??? if (g.tail(i)== s1)&(g.head(i)==s2) ??? ??? ??? a=i // si c'est la bonne... ??? ??? elseif (g.tail(i)== s2)&(g.head(i)==s1) ??? ??? ??? a=i // si c'est l'inverse... pourra permettre de renvoyer un flag direct/inverse ? ??? ??? end, ??? end ??? pause endfunction // fonction qui renvoie les chemins possibles de longueur n ? partir d'un sommet s // comme on veut boucler aux diff?rentes longueurs possibles et qu'il y en a peu, // on va faire une matrice sur 3 dimensions, pour construire les chemins de longueur n par extension de ceux de l n-1 // tna(c,i,L) est la ieme arete du chemin c de longueur L // tns(c,i,L) est le ieme sommet du chemin c de longeur L // comme le ieme sommet du chemin est le d?but de la ieme arete pour le graphe g on a // g.tail(tna(c,i,:))==tns(c,i,:) // g.head(tna(c,i,:)==tns(c,i+1,:) //on boucle sur L pour construire les chemins de longueur 1, puis 2... jusqu'au max //??? pour une longueur L on boucle sur c en remplissant le chemin dans la ligne sur i function [chemins,suites]=chemins(s,g,longueur)??? // renvoie la matrice des chemins possibles de longueur max ? partir du sommet s // global tna = [] ; ??? ??? // tableau des aretes des chemins // global tns = [] ; ??? ??? // tableau des ?tapes des chemins // tna(c,i,L) est le num?ro de la ieme arete du chemin c de longeur l (i From pierre-alain.millet at insa-lyon.fr Wed Apr 16 07:07:06 2008 From: pierre-alain.millet at insa-lyon.fr (Pierre-Alain Millet) Date: Wed, 16 Apr 2008 07:07:06 +0200 Subject: [scilab-Users] local/global dans un algo de parcours de graphe In-Reply-To: <20080415203733.5ak4lgl4kkw0wkcg@webmail2.insa-lyon.fr> References: <20080415203733.5ak4lgl4kkw0wkcg@webmail2.insa-lyon.fr> Message-ID: <20080416070706.649a5vt5kc8gco0g@webmail2.insa-lyon.fr> point 2 r?solu... comme souvent, on ne cherche pas du bon cot?. Le probl?me de variable n'?tait qu'un pb d'initialisation dans un cas particulier... rien ? voir avec exec() et la port?e des variables.. sur le point 1, tout avis sur l'algo propos? pour trouver les chemins possibles est le bienvenue.... Je me dis que ca devrait exister en standard... pam Quoting Pierre-Alain Millet : > > > petit nouveau sur scilab, je travaille sur des graphes issus de > mod?le de syst?me d'information. > > j'ai besoin de trouver pour un sommet s d'un graphe, la liste des > aretes accessibles par un chemin de longueur inf?rieure ? un max > (ce max ?tant du genre la moiti? du diametre du graphe). je > commence par la liste des chemins de longueur = max (le graphe > ?tant non orient?, et le max ?tant inf?rieur au diametre, mes > chemins ne font pas tout le graphe...) > > je n'ai pas trouv? de fonctions toute faite, et je me suis lanc? > dans un algo bas? sur une matrice ? trois dimensions.... (ci-dessous) > > ca fonctionne, mais quand je mets cette fonction dans un fichier > et que je l'appelle par exec(), j'ai des comportements curieux de > variables non d?finies.. > > je pense que c'est une question de local/global, mais je n'ai pas > encore trouv?... > > donc, merci d'avance de toute aide > > 1/ sur l'objectif lui m?me... surtout si ca existe d?ja en > beaucoup plus simple > > 2/ sur l'utilisation par exec() et les cons?quences sur la port?e > des variables.. > > pam > > ci-dessous, l'algo > > //----------------TROUVELESCHEMINS DE LONGUEUR N > // fonction pour trouver le num?ro d'une arete dans un graphe ? > partir de ses sommets > function a=arete(s1,s2,g) //renvoie le num?ro de l'arete dans le > graphe g par une recherche dans tail/head > a = 0; > warning(msprintf('%s %d %d','cherche arete pour ',s1,s2)); > for i=1:edge_number(g) // pour toutes les aretes du graphe > if (g.tail(i)== s1)&(g.head(i)==s2) > a=i // si c'est la bonne... > elseif (g.tail(i)== s2)&(g.head(i)==s1) > a=i // si c'est l'inverse... pourra permettre de > renvoyer un flag direct/inverse ? > end, > end > pause > endfunction > > // fonction qui renvoie les chemins possibles de longueur n ? partir > d'un sommet s > // comme on veut boucler aux diff?rentes longueurs possibles et > qu'il y en a peu, > // on va faire une matrice sur 3 dimensions, pour construire les > chemins de longueur n par extension de ceux de l n-1 > // tna(c,i,L) est la ieme arete du chemin c de longueur L > // tns(c,i,L) est le ieme sommet du chemin c de longeur L > // comme le ieme sommet du chemin est le d?but de la ieme arete pour > le graphe g on a > // g.tail(tna(c,i,:))==tns(c,i,:) > // g.head(tna(c,i,:)==tns(c,i+1,:) > > //on boucle sur L pour construire les chemins de longueur 1, puis 2... > jusqu'au max > // pour une longueur L on boucle sur c en remplissant le chemin > dans la ligne sur i > > function [chemins,suites]=chemins(s,g,longueur) // renvoie la > matrice des chemins possibles de longueur max ? partir du sommet s > // global tna = [] ; // tableau des aretes des chemins > // global tns = [] ; // tableau des ?tapes des chemins > // tna(c,i,L) est le num?ro de la ieme arete du chemin c de longeur l (i // tns(c,i,L) est le num?ro du ieme sommet du chemin c de longueur... > chemins=[]; > suites=[]; > // initialisation des tableaux pour les chemins de longueur 1 = les > voisins de s > i=1; > L=1; > for v=neighbors(s,g), > tna(i,1,L)=arete(s,v,g), // de longueur 1, il n'y a qu'une arete > tns(i,1,L)=s, tns(i,2,L)=v , // et deux sommets... > i=i+1, > end // on a fait les chemins de longueur 1 ? partir de s > // boucle qui passe de la longueur L-1 ? la longueur L > for L=2:1:longueur // on avance par longueur (en largeur > d'abord), donc ? partir de la longueur 2 > s=size(tna(:,1,L-1))// dimensions de la matrice des premi?res > aretes de chemin de longueur L-1 > ncl=s(1) // donne le nombre de chemins de longueur L-1 > // on se place sur le premier sommet fin du > premier chemin de longueur L-1 > // ie : tns(1,L,L-1) pour le premier coup, > c'est le premier suivant de s > // warning(msprintf('%s %d','boucle pour longueur',L)); > cs=1; // on initialise le compteur de chemin de longueur L > for cp=1:ncl, // pour tous les chemins pr?c?dent, on va > avancer en compl?tant les chemins de longueur L > // tns(cp,L,L-1) est le sommet sur lequel je > suis (dernier sommet du chemin cp) > // tna(cp,L-1,L-1) est l'arete d'ou je viens > // donc g.head(tna(cp,L-1,L-1))== tns(cp,L,L-1) > // if g.head(tna(cp,L-1,L-1))== > tns(cp,L,L-1) , , else warning "erreur sur L,cp ", L, cp, end > //je cherche les suivants de tns(cp,L,L-1) > warning(msprintf('%s %d','boucle pour chemin > prec?dent',cp));pause > for voisin=neighbors(tns(cp,L,L-1),g) > // je cherche le num?ro de l'arete > correspondant au voisin > a = arete(tns(cp,L,L-1),voisin) // si arete deja > vu, je passe > warning(msprintf('%s %d','trouve arete ',a));pause > dejavu= 0; for k=1:L-1, tna(cp,k,L-1), if a == > tna(cp,k,L-1), dejavu =1; end, end ; > if dejavu == 1, // rien ? faire on ne boucle pas... > warning(msprintf('%s %d','deja vu',a)); pause ; > else // j'ai un nouveau chemin sur lequel > avancer ? remplir dans la matrice L > warning(msprintf('%s %d','pas deja vu',a)); pause ; > for k=1:L-1 // les chemins de longueur L > commencent par leur racine de longueur L-1 > // warning(msprintf('%s %d','recopie chemin > L-1 pour la position',k)); > tna(cs,k,L)=tna(cp,k,L-1), > tns(cs,k,L)=tns(cp,k,L-1), > end > // warning(msprintf('%s %d','nouveau chemin > cree', cs)); pause > tns(cs,L,L)=tns(cp,L,L-1); // ne pas oublier > le dernier sommet pr?c?dent > tna(cs,L,L)= a ; // je memorise la > nouvelle arete > tns(cs,L+1,L)=voisin; // et le nouveau voisin > cs=cs+1; //j'avance sur mes > chemins de longueur L > warning(msprintf('%s %d','ouvrir chemin > suivant', cs)); pause > end > end > end > end > warning(msprintf('%s %d','fin boucle g?n?rale avec nb chemin:', cs-1)); pause > chemins = tna(:,:,longueur); suites=tns(:,:,longueur); > endfunction > > //----------------------------------------------------------- > // exemple > // [ch,ss]=chemins(1,g,3); > // ch : liste des chemins de longueur 3 ? partir du sommet 1 > // ss : suites des sommets des chemins correspondants > //----------------------------------------------------------- From sylvestre.ledru at inria.fr Wed Apr 16 19:12:58 2008 From: sylvestre.ledru at inria.fr (Sylvestre Ledru) Date: Wed, 16 Apr 2008 19:12:58 +0200 Subject: [scilab-Users] installation troubleshoot on Linux x86_64 In-Reply-To: <47FE0D6F.8050901@univ-ag.fr> References: <47F7A4E4.2050007@univ-ag.fr> <913927c96ade301c91e8e03ef44bd675@korcula.inria.fr> <47FE0D6F.8050901@univ-ag.fr> Message-ID: <1208365978.4333.15.camel@zlarin.inria.fr> Hello, In your config.log, you can find the line: > configure:28580: error: header file tcl.h has been found for 8.4* but > no corresponding tcl library (ie libtcl8.4.so) Which means that you have a problem of your TCL/TK installation. Try to fix it and the ./configure should work. Sylvestre -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Ceci est une partie de message num?riquement sign?e URL: From ricci2 at unisi.it Mon Apr 21 15:16:06 2008 From: ricci2 at unisi.it (Maso Ricci) Date: Mon, 21 Apr 2008 15:16:06 +0200 Subject: clearing a subplot Message-ID: <480C9396.6090707@unisi.it> Hi all, does anybody know how to clear a subplot ? I mean something like: clf(subplot(2,1,2)) thanks /maso -- Maso Ricci Ph.D Dept. of Chemical and Biosystem Science University of Siena Via A. Moro, 2 ? 53100 Siena ITALY Tel: +39 0577 234367 Fax: +39 0577 234177 email: ricci2 at unisi.it From enrico.segre at weizmann.ac.il Wed Apr 23 12:18:28 2008 From: enrico.segre at weizmann.ac.il (Enrico Segre) Date: Wed, 23 Apr 2008 13:18:28 +0300 Subject: clearing a subplot Message-ID: <1208945908.3725.14.camel@segre-pc2.weizmann.ac.il> you need to find what the handle to its axes is (one way is to save its handle with gca() right after having plotted it, another to get it among the children of gcf(), but the order of the children changes, the most recent one being always the first), then you can delete() it. hth, Enrico From pierre.marechal at inria.fr Fri Apr 25 10:51:43 2008 From: pierre.marechal at inria.fr (Pierre MARECHAL) Date: Fri, 25 Apr 2008 10:51:43 +0200 Subject: [Scilab-Dev] Beta 1 version of Scilab Message-ID: <48119B9F.4050306@inria.fr> Hello, We just released the first beta version of Scilab. Misc information about this version: http://www.scilab.org/download/index_download.php?page=5.0-beta-1 List of changes: http://www.scilab.org/download/index_download.php?page=CHANGES_5.0-beta-1 The release notes (short bug list... and of course not full): http://www.scilab.org/download/index_download.php?page=RELEASE_NOTES_5.0-beta-1 Pierre -- =================================================== Pierre MARECHAL INRIA - Centre de Recherche de Paris - Rocquencourt Domaine de Voluceau - B.P. 105 78153 Le Chesnay Cedex =================================================== Equipe-Projet Scilab B?timent 1B - Bureau 008 Email : pierre.marechal at inria.fr =================================================== From philippe.mattei at free.fr Tue Apr 29 19:27:55 2008 From: philippe.mattei at free.fr (Philippe Mattei) Date: Tue, 29 Apr 2008 19:27:55 +0200 Subject: Installation of Scilab 5 beta 1 In-Reply-To: <48119B9F.4050306@inria.fr> References: <48119B9F.4050306@inria.fr> Message-ID: <48175A9B.6000200@free.fr> Hi all, First congratulations to the dev team on the Scilab 5 beta that looks very promising. Yet I have a little question about the Windows installer of Scilab 5 beta 1: for now the installer refuses to go on if the user has no administator rights (on WinXP). I would like to know if you "really" need to be administator to install Scilab 5 on Windows (not for the local JRE installation I guess, maybe for vc-redistributable related things?) As a user of Scilab in an industrial context, I would prefer that it would not require any admin rights since most of our users don't have privileges (as in most large companies really) Besides I did try to simply copy and paste a whole Scilab 5 folder to a machine without privileges (via an USB key) and it worked fine that way. (Note: the "ask for admin privileges" is the default behavior of Inno Setup that you seem to be using for the installer). From allan.cornet at inria.fr Wed Apr 30 09:29:26 2008 From: allan.cornet at inria.fr (Allan CORNET) Date: Wed, 30 Apr 2008 09:29:26 +0200 Subject: [scilab-Users] Installation of Scilab 5 beta 1 In-Reply-To: <48175A9B.6000200@free.fr> References: <48119B9F.4050306@inria.fr> <48175A9B.6000200@free.fr> Message-ID: <000301c8aa93$eb3f5590$c1be00b0$@cornet@inria.fr> Hi, Scilab's installation requires super-user rights for three main reasons : 1] installer adds a registry entry to identify Scilab by others applications. http://wiki.scilab.org/To_find_where_Scilab_is_installed_%28Windows%29 2] installer adds registry entries for files associations with Scilab 5. 3] to install vc-redistributable 2008 (if it is required) You can copy and paste scilab-5 directory to another machine without privilege. But your scilab will not have file associations, and it will not to be detected by external applications. Thanks you to use scilab :) Allan CORNET -----Message d'origine----- De?: Philippe Mattei [mailto:philippe.mattei at free.fr] Envoy??: mardi 29 avril 2008 19:28 ??: users at lists.scilab.org Objet?: [scilab-Users] Installation of Scilab 5 beta 1 Hi all, First congratulations to the dev team on the Scilab 5 beta that looks very promising. Yet I have a little question about the Windows installer of Scilab 5 beta 1: for now the installer refuses to go on if the user has no administator rights (on WinXP). I would like to know if you "really" need to be administator to install Scilab 5 on Windows (not for the local JRE installation I guess, maybe for vc-redistributable related things?) As a user of Scilab in an industrial context, I would prefer that it would not require any admin rights since most of our users don't have privileges (as in most large companies really) Besides I did try to simply copy and paste a whole Scilab 5 folder to a machine without privileges (via an USB key) and it worked fine that way. (Note: the "ask for admin privileges" is the default behavior of Inno Setup that you seem to be using for the installer). From fermi_andy at yahoo.com Wed Apr 30 10:24:41 2008 From: fermi_andy at yahoo.com (albert einstein) Date: Wed, 30 Apr 2008 01:24:41 -0700 (PDT) Subject: [scilab-Users] Optimization Message-ID: <427945.25877.qm@web51603.mail.re2.yahoo.com> An HTML attachment was scrubbed... URL: