From lihnyaa at gmail.com Mon Apr 1 04:18:33 2013 From: lihnyaa at gmail.com (lihnyaa) Date: Sun, 31 Mar 2013 19:18:33 -0700 (PDT) Subject: [Scilab-users] About the function ms_var in GROCER In-Reply-To: References: <1364736515498-4026408.post@n3.nabble.com> Message-ID: <1364782713124-4026416.post@n3.nabble.com> Hi, Eric, Thanks for your help. I just use the function ms_var. When there are 4 variable in var(the code is r=ms_var('all',1,['y';'p';'s';'x'],2,2,3,'prt=initial;final')), it works well. But if I add a variable(the code is r=ms_var('all',1,['y'; 'p'; 'm'; 's'; 'x'],2,2,3,'prt=initial;final')), it comes across an error. The error information is presented below: Initial statistical moments and parameters !--error 202 max: Wrong type for argument 1: Real matrix expected. at line 37 of function MSVAR_Constraint called by : at line 20 of function MSVAR_PrintInit called by : at line 165 of function ms_estimate called by : at line 294 of function ms_var called by : r=ms_var('all',1,['y';'p';'m';'s';'x'],2,2,3,'prt=initial;final') -- View this message in context: http://mailinglists.scilab.org/About-the-function-ms-var-in-GROCER-tp4026408p4026416.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From lihnyaa at gmail.com Mon Apr 1 04:22:32 2013 From: lihnyaa at gmail.com (lihnyaa) Date: Sun, 31 Mar 2013 19:22:32 -0700 (PDT) Subject: [Scilab-users] About the function ms_var in GROCER In-Reply-To: <1364782713124-4026416.post@n3.nabble.com> References: <1364736515498-4026408.post@n3.nabble.com> <1364782713124-4026416.post@n3.nabble.com> Message-ID: <1364782952509-4026417.post@n3.nabble.com> The attachment is the data I use. canns1.dat -- View this message in context: http://mailinglists.scilab.org/About-the-function-ms-var-in-GROCER-tp4026408p4026417.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From grocer.toolbox at gmail.com Mon Apr 1 21:38:19 2013 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Mon, 1 Apr 2013 21:38:19 +0200 Subject: [Scilab-users] About the function ms_var in GROCER In-Reply-To: <1364782952509-4026417.post@n3.nabble.com> References: <1364736515498-4026408.post@n3.nabble.com> <1364782713124-4026416.post@n3.nabble.com> <1364782952509-4026417.post@n3.nabble.com> Message-ID: Hello. For me it works (see the file estim_5variables.txt attached). I am working with Grocer 1.56 under Scialb 5.4.0 and Windows 7: is it the case for you. Anywa, file MSVAR_Constraint.sci also attach may help correct the error you have encountered (at least, ms_var should not lead to the error message you had...); to use it, store it into a folder (say c:/newgrocer) and load it into Scilab by running: --> getd('c:/newgrocer') ?ric. 2013/4/1 lihnyaa > The attachment is the data I use. canns1.dat > > > > > -- > View this message in context: > http://mailinglists.scilab.org/About-the-function-ms-var-in-GROCER-tp4026408p4026417.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Initial statistical moments and parameters =================Initial real and transformed parameters, para_m and param_init:================== 0.0699201 0.5174729 - 0.0944132 0.4764142 0.0286041 0.0286041 - 1.0042623 - 1.0042623 0.4399636 0.4399636 0.0260033 0.0260033 - 3.0080104 - 3.0080104 15.773354 15.773354 - 0.0039443 - 0.0039443 0.7206218 0.7206218 0.0419566 0.0419566 0.0037506 0.0037506 0.0202032 0.0202032 0.7607538 0.7607538 0.0058786 0.0058786 - 0.0093643 - 0.0093643 0.9983517 0.9983517 - 0.0003832 - 0.0003832 0.0250603 0.0250603 - 0.0518977 - 0.0518977 0.0541120 0.0541120 - 0.0008583 - 0.0008583 0.0486993 0.0486993 0.9676183 0.9676183 - 0.6099630 - 0.6099630 2.1059789 2.1059789 0.0072784 0.0072784 0.0512796 0.0512796 - 0.0043994 - 0.0043994 0.0007634 0.0007634 0.9912777 0.9912777 - 0.1764949 - 0.1764949 - 0.0869307 - 0.0869307 - 0.6468239 - 0.6468239 0.4508474 0.4508474 0.0176991 0.0176991 - 3.5536921 - 3.5536921 16.775545 16.775545 - 0.0055584 - 0.0055584 0.6485442 0.6485442 0.0516871 0.0516871 0.0042500 0.0042500 0.0289586 0.0289586 0.9622210 0.9622210 0.0087562 0.0087562 0.0273598 0.0273598 0.9929764 0.9929764 - 0.0006226 - 0.0006226 0.0362573 0.0362573 - 0.2209711 - 0.2209711 - 0.0298299 - 0.0298299 0.1168003 0.1168003 0.0699506 0.0699506 0.9803415 0.9803415 - 0.8335095 - 0.8335095 2.5817595 2.5817595 0.0071134 0.0071134 0.0597828 0.0597828 - 0.0065145 - 0.0065145 0.0001718 0.0001718 0.9944227 0.9944227 - 0.2021340 - 0.2021340 0.2618340 0.0685570 - 0.0034653 0.0000120 - 0.0006818 - 0.0000002 0.0034591 0.0000001 - 0.0018218 0.0000033 0.0191404 0.0003664 - 0.0003208 - 7.813D-08 0.0006510 1.892D-09 0.0000313 5.306D-11 0.0114459 0.0000002 - 0.0014611 0.0000021 - 0.0013173 0.0000017 0.4582502 0.0001673 0.0006496 2.127D-09 0.0122109 3.309D-08 0.3087312 0.0000054 - 0.0060214 - 1.309D-08 - 0.0014013 - 1.745D-09 - 0.0023365 0.0000054 - 0.0014845 0.0000022 0.0217090 0.0000021 0.0003700 9.220D-09 0.0003674 2.528D-10 0.0001060 1.459D-08 0.0123310 6.803D-09 - 0.0012294 - 1.164D-08 - 0.0008206 - 7.241D-10 0.4373909 0.0000044 0.0005932 0.0000004 0.0112946 0.0001276 rows(param) 92. ==================Initial matrix of transition markovian probabilities, ptrans_init:================== 0.5174729 0.4764142 0.4825271 0.5235858 ==================Initial switching regressors (or intercepts), Beta :================== 0.0286041 - 0.0869307 - 1.0042623 - 0.6468239 0.4399636 0.4508474 0.0260033 0.0176991 - 3.0080104 - 3.5536921 15.773354 16.775545 - 0.0039443 - 0.0055584 0.7206218 0.6485442 0.0419566 0.0516871 0.0037506 0.0042500 0.0202032 0.0289586 0.7607538 0.9622210 0.0058786 0.0087562 - 0.0093643 0.0273598 0.9983517 0.9929764 - 0.0003832 - 0.0006226 0.0250603 0.0362573 - 0.0518977 - 0.2209711 0.0541120 - 0.0298299 - 0.0008583 0.1168003 0.0486993 0.0699506 0.9676183 0.9803415 - 0.6099630 - 0.8335095 2.1059789 2.5817595 0.0072784 0.0071134 0.0512796 0.0597828 - 0.0043994 - 0.0065145 0.0007634 0.0001718 0.9912777 0.9944227 - 0.1764949 - 0.2021340 ==================Initial ergodic state probabilities, prob_st_init:================== 0.4968127 0.5031873 ==================Initial state covariance, var_init:========================= 0.0685848 - 0.0009713 - 0.0001879 0.0024884 - 0.0004962 - 0.0009713 0.0003789 - 0.0000084 0.0002993 0.0000081 - 0.0001879 - 0.0000084 0.0001354 - 0.0006897 - 0.0000309 0.0024884 0.0002993 - 0.0006897 0.2100082 0.0003012 - 0.0004962 0.0000081 - 0.0000309 0.0003012 0.0001546 0.0953608 - 0.0019912 - 0.0004480 - 0.0017446 - 0.0004760 - 0.0019912 0.0005078 0.0000205 0.0001823 0.0000124 - 0.0004480 0.0000205 0.0001563 - 0.0005500 - 0.0000180 - 0.0017446 0.0001823 - 0.0005500 0.1913182 0.0002707 - 0.0004760 0.0000124 - 0.0000180 0.0002707 0.0001308 =========================Det(inv(var_cov_init)):========================= 10^12 * 10.047621 6.1493922 ==================Initial non switching regressors (or intercepts), Delta :================== [] Optimization step, be patient ... Attention : La matrice est presque singuli?re ou mal conditionn?e. rcond = 1.3731D-13 ms var estimation results estimation period: 1996m1-2011m12 number of observations: 191 number of variables: 92 Log likelihood: 1745.6078 Degree of freedom: 99 =================Matrix of markovian transition probabilities P[i,j]: ================== ================= [tstat - p-value] ================= 0.8850141 0.5828863 [34.22 - 0] [6.24 - 1.083D-08] 0.1149859 0.4171137 [4.45 - 0.0000229] [4.47 - 0.0000212] ================= Ergodic probabilities :================= 0.8352335 0.1647665 ================= Coefficients ============== Regime 1 ============= *** for endogenous: y *** exogenous coeff t-statistic p value y(-1) 0.4259886 9.7030569 4.441D-16 p(-1) -0.0862999 -0.2623427 0.7936024 m(-1) 0.1723649 3.2681508 0.0014889 s(-1) 0.0060076 1.0484459 0.2969861 x(-1) -1.7405879 -8.5693446 1.426D-13 const 7.7995412 6.3477638 6.632D-09 *** for endogenous: p *** exogenous coeff t-statistic p value y(-1) -0.0006893 -0.2261177 0.8215761 p(-1) 0.8783022 38.716149 0 m(-1) 0.0208230 5.752201 9.836D-08 s(-1) 0.0020264 5.1975735 0.0000011 x(-1) 0.0024309 0.1724934 0.8634018 const 0.3227738 3.779118 0.0002690 *** for endogenous: m *** exogenous coeff t-statistic p value y(-1) 0.0011878 0.3717205 0.7108953 p(-1) -0.0390978 -1.6468931 0.1027508 m(-1) 1.0044442 264.93873 0 s(-1) 0.0000893 0.2179641 0.8279057 x(-1) 0.0203670 1.3602781 0.1768313 const 0.0534526 0.5975317 0.5515167 *** for endogenous: s *** exogenous coeff t-statistic p value y(-1) -0.0494459 -0.2750411 0.7838578 p(-1) 0.6397680 0.4645632 0.6432644 m(-1) -0.0331701 -0.1499724 0.8810915 s(-1) 0.9624616 40.858762 0 x(-1) -1.1310326 -1.3621402 0.1762449 const 2.6579793 0.5197905 0.6043699 *** for endogenous: x *** exogenous coeff t-statistic p value y(-1) 0.0067011 1.5354534 0.1278623 p(-1) 0.0706486 2.169487 0.0324391 m(-1) -0.0081159 -1.5613814 0.1216249 s(-1) 0.0003583 0.6381920 0.5248222 x(-1) 0.9722267 47.717459 0 const -0.1367219 -1.1144593 0.2677804 Variance-covariance matrix of residuals [tstat - p-value] 0.0130137 0.0000014 -0.0001080 0.0052821 -0.0000423 [8.31 - 5.231D-13] [0.02 - 0.9849474] [-1.39 - 0.1662637] [1.23 - 0.2229484] [-0.4 - 0.6927786] 0.0000014 0.0000635 0.0000020 -0.0004324 0.0000064 [0.02 - 0.9849474] [8.76 - 5.485D-14] [0.36 - 0.7159522] [-1.44 - 0.1528690] [0.85 - 0.3993947] -0.0001080 0.0000020 0.0000710 -0.0003452 -0.0000250 [-1.39 - 0.1662637] [0.36 - 0.7159522] [8.78 - 5.040D-14] [-1.09 - 0.2771219] [-3.12 - 0.0023864] 0.0052821 -0.0004324 -0.0003452 0.2222113 0.0004822 [1.23 - 0.2229484] [-1.44 - 0.1528690] [-1.09 - 0.2771219] [8.9 - 2.665D-14] [1.12 - 0.2670821] -0.0000423 0.0000064 -0.0000250 0.0004822 0.0001327 [-0.4 - 0.6927786] [0.85 - 0.3993947] [-3.12 - 0.0023864] [1.12 - 0.2670821] [8.82 - 4.019D-14] ============== Regime 2 ============= *** for endogenous: y *** exogenous coeff t-statistic p value y(-1) -0.6284665 -3.2782405 0.0014417 p(-1) -2.8270092 -1.0225531 0.3090114 m(-1) 1.0255908 2.4537316 0.0158854 s(-1) 0.0471293 0.9749657 0.3319536 x(-1) -5.9979064 -3.7574867 0.0002902 const 32.721751 3.3388438 0.0011867 *** for endogenous: p *** exogenous coeff t-statistic p value y(-1) 0.0053682 0.6374273 0.5253180 p(-1) 0.0885046 0.7264954 0.4692494 m(-1) 0.1163909 6.3964024 5.296D-09 s(-1) 0.0080118 3.7699902 0.0002778 x(-1) 0.1036018 1.4680584 0.1452584 const 2.551532 5.7857959 8.473D-08 *** for endogenous: m *** exogenous coeff t-statistic p value y(-1) 0.0162938 1.9964383 0.0486322 p(-1) 0.1868473 1.5958097 0.1137187 m(-1) 0.9677206 55.057042 0 s(-1) -0.0021177 -1.0472065 0.2975543 x(-1) 0.0333297 0.4871025 0.6272625 const -0.6948063 -1.6475915 0.1026070 *** for endogenous: s *** exogenous coeff t-statistic p value y(-1) 0.1170734 1.1006359 0.2737241 p(-1) -1.0205658 -0.6603495 0.5105631 m(-1) 0.3780227 1.6506351 0.1019822 s(-1) 1.0224736 38.62373 0 x(-1) 0.4187998 0.4645292 0.6432886 const -1.6512566 -0.2911047 0.7715803 *** for endogenous: x *** exogenous coeff t-statistic p value y(-1) 0.0102071 2.2846588 0.0244672 p(-1) 0.0222877 0.3372551 0.7366386 m(-1) 0.0048544 0.4928111 0.6232373 s(-1) 0.0010889 0.9672497 0.3357762 x(-1) 1.0638813 28.468163 0 const -0.4765506 -2.0239911 0.0456653 Variance-covariance matrix of residuals [tstat - p-value] 0.2557901 -0.0005170 0.0010487 0.0133780 -0.0017716 [3.87 - 0.0001939] [-0.25 - 0.8057946] [0.52 - 0.6021054] [0.52 - 0.6066218] [-1.55 - 0.1235256] -0.0005170 0.0004940 0.0001296 0.0009151 -0.0000588 [-0.25 - 0.8057946] [3.82 - 0.0002329] [1.42 - 0.1587068] [0.76 - 0.4497430] [-1.16 - 0.2472009] 0.0010487 0.0001296 0.0004740 -0.0015826 -0.0000002 [0.52 - 0.6021054] [1.42 - 0.1587068] [3.9 - 0.0001741] [-1.37 - 0.1741074] [0 - 0.9960294] 0.0133780 0.0009151 -0.0015826 0.0786236 -0.0014329 [0.52 - 0.6066218] [0.76 - 0.4497430] [-1.37 - 0.1741074] [3.8 - 0.0002490] [-2.15 - 0.0336583] -0.0017716 -0.0000588 -0.0000002 -0.0014329 0.0001407 [-1.55 - 0.1235256] [-1.16 - 0.2472009] [0 - 0.9960294] [-2.15 - 0.0336583] [3.88 - 0.0001879] -------------- next part -------------- A non-text attachment was scrubbed... Name: MSVAR_Constraint.sci Type: application/octet-stream Size: 2140 bytes Desc: not available URL: From frederic.jourdin at shom.fr Tue Apr 2 08:58:45 2013 From: frederic.jourdin at shom.fr (Frederic Jourdin) Date: Tue, 02 Apr 2013 08:58:45 +0200 Subject: [Scilab-users] Want to compare phase In-Reply-To: References: Message-ID: <515A81A5.1090507@shom.fr> Hi, i don't known this function but in the description i see : To obtain the phase between -%pi and %pi use |phi=atan(imag(z),real(z)) So this problem is known isn't it? Fred | Le 30/03/2013 01:39, Michael Dunn a ?crit : > Hi...Scilab newbie here. > > I want to compare the phase of two sinewaves, and am trying to figure > out if /phasemag /is something I can use. I'm experimenting, but it's > still a bit mysterious. > > I did try correlation (in a spreadsheet mind you), and it worked well, > except for not distinguishing 0-? from ?-2? ranges. > > If not /phasemag, /is there some other function that might be applicable? > > Thanks! > > > Michael Dunn | Editor-in-Chief > Scope Junction | http://www.scopejunction.com/ > UBM Electronics > (415) 947-6096 (USA) > (519) 744-9395 (Canada) > Skype: MichaelDunn_UBM > LinkedIn: http://www.linkedin.com/in/cantares > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 12428 bytes Desc: not available URL: From Christophe.Dang at sidel.com Tue Apr 2 09:04:33 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 2 Apr 2013 09:04:33 +0200 Subject: [Scilab-users] Want to compare phase In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F106ED6AAA@301EX00100.sidel.com> Hello, De la part de Michael Dunn Envoy? : samedi 30 mars 2013 01:40 > I want to compare the phase of two sinewaves, and am trying to figure > out if phasemag I never used this, but from the documentation and a little try, it seems that phasemag() computes the phase in the sense of complex numbers argument. So, it might be usefull if you represent your sine function by a complex number (in case all your functions have the same frequency), otherwise sorry, I'm not involved in signal processing so I will not be able to advise you. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From Jeremy.Baer at cnes.fr Tue Apr 2 09:01:22 2013 From: Jeremy.Baer at cnes.fr (Baer Jeremy) Date: Tue, 2 Apr 2013 07:01:22 +0000 Subject: [Scilab-users] free memory Message-ID: Hello, I have to load 100 images of 12 millions pixel with scilab. to reduce the quantity of data, I divided this image into 56 images 384 x 512 pixel. So I have 56 folderss, with 100 data files. The goal is to open the one hundred files in one folder, and with a loop, follow the 56 folders. So i have a 3D matrix (384 x 512 x 100). Next, for each point i calculate the variance. the result is a matrix 2D (384 x 512 x 1). here my problem : the treatment of one folder succeed, but the computer's memory is full for the treatment of the second folder. I have to restart scilab to free memory. I would like to free memory at the end of each loop of treatment. i tried to use "clear" function, but that's not effective. What kind of solution may I try ? Best regards, J?r?my BAER -------------- next part -------------- An HTML attachment was scrubbed... URL: From berns.buenaobra at gmail.com Tue Apr 2 09:59:08 2013 From: berns.buenaobra at gmail.com (Berns Buenaobra) Date: Tue, 2 Apr 2013 15:59:08 +0800 Subject: [Scilab-users] free memory In-Reply-To: References: Message-ID: Hello Jeremy: Nice problem In the past I wanted to analyze 3D stacked from 2D images for video noise and homogeneity - I did everything in Matlab (as the 3D matrix math engine) though in hybrid with LabVIEW (as a UI) I am excited to see how you would crack this using Scilab - so far I used SIVP and IPD for teaching some image processing fundamentals but not at this extent you have - keep me posted! Thanks, Berns B. Dept.of Physics - University of San Carlos (Cebu, Philippines) email: bjbuenaobra at usc.edu.ph On Tue, Apr 2, 2013 at 3:01 PM, Baer Jeremy wrote: > Hello, > > I have to load 100 images of 12 millions pixel with scilab. to reduce the > quantity of data, I divided this image into 56 images 384 x 512 pixel. So > I have 56 folderss, with 100 data files. > > The goal is to open the one hundred files in one folder, and with a loop, > follow the 56 folders. So i have a 3D matrix (384 x 512 x 100). > > Next, for each point i calculate the variance. the result is a matrix 2D(384 x 512 x 1). > > here my problem : > > the treatment of one folder succeed, but the computer's memory is full for > the treatment of the second folder. I have to restart scilab to free > memory. > I would like to free memory at the end of each loop of treatment. i tried > to use "clear" function, but that's not effective. > > > What kind of solution may I try ? > > Best regards, > > J?r?my BAER > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zoweil at gmail.com Mon Apr 1 13:09:55 2013 From: zoweil at gmail.com (Hossam Zoweil) Date: Mon, 1 Apr 2013 13:09:55 +0200 Subject: [Scilab-users] Parallel_run on scilab Message-ID: Dear Sir: I tried the instruction parallel_run in scilab installed on ubuntu 12.04 LTS, and it worked as a single core; no parallel execution. The processor data:Status Launched Launch Date Q4'11 DMI 2.5 GT/s Processor Number N2600 # of Cores 2 # of Threads 4 Clock Speed 1.6 GHz L2 Cache 1 MB Instruction Set 64-bit Instruction Set Extensions SSE2, SSE3, SSSE3 Embedded Options Available Yes Lithography 32 nm Max TDP 3.5 W Recommended Customer Price N/Aand it is in Acer Aspire one D270 limited edition. Am I missing something? Should I install some extra libraries on ubuntu? Thank you.. Have a nice day.. Hossam Zoweil th -------------- next part -------------- An HTML attachment was scrubbed... URL: From communication at scilab-enterprises.com Tue Apr 2 11:57:58 2013 From: communication at scilab-enterprises.com (Communication) Date: Tue, 02 Apr 2013 11:57:58 +0200 Subject: [Scilab-users] Release of Scilab 5.4.1 Message-ID: <515AABA6.9080906@scilab-enterprises.com> Dear Scilab Users, Scilab Enterprises is pleased to announce the release of Scilab 5.4.1. Download and information can be found at: http://www.scilab.org/download/5.4.1 Best Regards -- Communications and Public Relations Department Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles (France) http://www.scilab-enterprises.com From lihnyaa at gmail.com Tue Apr 2 14:43:58 2013 From: lihnyaa at gmail.com (lihnyaa) Date: Tue, 2 Apr 2013 05:43:58 -0700 (PDT) Subject: [Scilab-users] About the function ms_var in GROCER In-Reply-To: References: <1364736515498-4026408.post@n3.nabble.com> <1364782713124-4026416.post@n3.nabble.com> <1364782952509-4026417.post@n3.nabble.com> Message-ID: <1364906638214-4026435.post@n3.nabble.com> Thanks, ?ric, The ms_var function can work successfully to estimate a 5 variable msvar after I update my Scilab to Scilab 5.4.0. -- View this message in context: http://mailinglists.scilab.org/About-the-function-ms-var-in-GROCER-tp4026408p4026435.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From blajanmarius at yahoo.com Wed Apr 3 07:29:59 2013 From: blajanmarius at yahoo.com (Blajan Marius) Date: Tue, 2 Apr 2013 22:29:59 -0700 (PDT) Subject: [Scilab-users] Convolution Message-ID: <1364966999.8615.YahooMailClassic@web120004.mail.ne1.yahoo.com> Hello all, ? I was trying to convert to scilab a matlab file, but matlab uses the function "convn(A,B,shape)" which computes the N-dimensional convolution of the arrays A and B and returns a subsection of the N-dimensional convolution, as specified by the shape parameter. In scilab this function is not yet implemented, only ?conv? (computes the one-dimensional convolution) and ?conv2? (computes the two-dimensional convolution). Does anyone have some suggestion how to do it? Thank you. Scilab beginner. ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bruno.jofret at scilab-enterprises.com Wed Apr 3 08:22:14 2013 From: bruno.jofret at scilab-enterprises.com (Bruno JOFRET) Date: Wed, 03 Apr 2013 08:22:14 +0200 Subject: [Scilab-users] Trouble with 5.4.0 on MacOSX 10.8.3 In-Reply-To: <19B0CBFC-C181-46A6-97E9-F92B87FC92EF@gmail.com> References: <73FCADA9-1C4E-4954-A2ED-2907AE2B919B@knology.net> <25AF300B-AA73-4463-82E9-82A1E1FDE846@gmail.com> <5157521B.6080909@free.fr> <19B0CBFC-C181-46A6-97E9-F92B87FC92EF@gmail.com> Message-ID: <515BCA96.5090204@scilab-enterprises.com> Hi, There is definitely an error in syntax here : deletefile(SCIHOME+/'scinotesConfiguration.xml') The / (slash) must be within ' (quote) in order to use + (plus) as string contatenation. the right syntax is deletefile(SCIHOME+'/scinotesConfiguration.xml'). Regards, On 03/30/2013 10:54 PM, Gary Nelson wrote: > From SCILAB > > -->deletefile('scinotesConfiguration.xml') > ans = > > F > > > -->deletefile(SCIHOME+/'scinotesConfiguration.xml') > !--error 2 > Invalid factor. > > --> > > > -->SCIHOME > SCIHOME = > > /Users/garynelson/.Scilab/scilab-5.4.0 > > -->deletefile(SCIHOME+/'scinotesConfiguration.xml') > !--error 2 > Invalid factor. > > > ->SCIHOME > SCIHOME = > > /Users/garynelson/.Scilab/scilab-5.4.0 > > -->deletefile('/scinotesConfiguration.xml') > ans = > > F > > Is there an error in the syntax here? > > > From OS file browser, there are no files visible with any of these names. > > Thanks again for your help and patience > > > Gary Nelson > porpoiseseeker at gmail.com > > > > On Mar 30, 2013, at 1:59 PM, Samuel Gougeon wrote: > >> Le 30/03/2013 21:46, Gary Nelson a ?crit : >>> How do I find these >> in >> --> SCIHOME >> --> help SCIHOME >> >> >>> and trash them? >> with your OSfile browser, or under Scilab with >> >> --> help deletefile >> >> http://help.scilab.org/docs/5.4.0/en_US/deletefile.html >> >> Samuel >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Bruno JOFRET Software Architect Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles, France Phone: +33.1.80.77.04.70 http://www.scilab-enterprises.com From andyrock at outlook.com Wed Apr 3 11:03:03 2013 From: andyrock at outlook.com (AndyRock) Date: Wed, 3 Apr 2013 02:03:03 -0700 (PDT) Subject: [Scilab-users] Error to make Example1 In-Reply-To: <5155A28C.6060102@scilab-enterprises.com> References: <1364551304645-4026382.post@n3.nabble.com> <51556915.5010705@scilab-enterprises.com> <1364564705517-4026391.post@n3.nabble.com> <5155A28C.6060102@scilab-enterprises.com> Message-ID: <1364979783064-4026439.post@n3.nabble.com> Hi, Thanks, it runs completely! But, I see this error: is that it is normal? *At line 50 of file src/fortran/formatnumber.f Internal Error: printf is broken make: *** [all] Error 3 * Thanks a lot sylvestere! -- View this message in context: http://mailinglists.scilab.org/Error-to-make-Example1-tp4026382p4026439.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From andyrock at outlook.com Wed Apr 3 13:28:43 2013 From: andyrock at outlook.com (AndyRock) Date: Wed, 3 Apr 2013 04:28:43 -0700 (PDT) Subject: [Scilab-users] Error with Scilab.forceClose() Message-ID: <1364988523909-4026441.post@n3.nabble.com> Hi, I am using Scilab 5.4 under Eclipse and I want to plot a graphic so I called the constructor (Scilab sci = new Scilab(*true*);) with the boolean value true but it generated this error: when i specify the boolean true!! if i don't use this boolean, the graphic didn't display anyway.... *Exception Error with Scilab.forceClose(): in thread "main" java.lang.NoSuchMethodError: forceClose at org.scilab.modules.javasci.Call_ScilabJNI.Call_ScilabOpen(Native Method) at org.scilab.modules.javasci.Call_Scilab.Call_ScilabOpen(Unknown Source) at org.scilab.modules.javasci.Scilab.open(Unknown Source)* Can you help me please, -- View this message in context: http://mailinglists.scilab.org/Error-with-Scilab-forceClose-tp4026441.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jrafaelbguerra at hotmail.com Wed Apr 3 18:40:49 2013 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Wed, 3 Apr 2013 13:40:49 -0300 Subject: [Scilab-users] Search for special strings in files, from Scinotes In-Reply-To: References: <1364736515498-4026408.post@n3.nabble.com> Message-ID: Hello, After having installed Scilab 5.4.1 Win 7 64-bits, my program shows a new warning message: Warning: "2./ ..." is interpreted as "2.0/ ...". Use "2 ./ ..." for element wise operation The message is clear but I am having trouble to search for the culprit special character string "2./" in Scinotes > Edit > Search > Find word in files Any tip on how to do this search successfully (using Scinotes or something else) ? Thanks and regards Rafael -------------- next part -------------- An HTML attachment was scrubbed... URL: From porpoiseseeker at gmail.com Wed Apr 3 21:34:24 2013 From: porpoiseseeker at gmail.com (Gary Nelson) Date: Wed, 3 Apr 2013 12:34:24 -0700 Subject: [Scilab-users] Trouble with 5.4.0 on MacOSX 10.8.3 In-Reply-To: <515BCA96.5090204@scilab-enterprises.com> References: <73FCADA9-1C4E-4954-A2ED-2907AE2B919B@knology.net> <25AF300B-AA73-4463-82E9-82A1E1FDE846@gmail.com> <5157521B.6080909@free.fr> <19B0CBFC-C181-46A6-97E9-F92B87FC92EF@gmail.com> <515BCA96.5090204@scilab-enterprises.com> Message-ID: Got it. After deleting configuration files and restarting, SciNotes is available. Updated to 5.4.1 as well. Looks like a restart is under way. I thank you all for a fine job. My next step is to learn XCOS as I would like to create some signal processing block based on algorithms I have worked out in scilab. Gary Nelson porpoiseseeker at gmail.com On Apr 2, 2013, at 11:22 PM, Bruno JOFRET wrote: > Hi, > > There is definitely an error in syntax here : > > deletefile(SCIHOME+/'scinotesConfiguration.xml') > > > The / (slash) must be within ' (quote) in order to use + (plus) as string contatenation. > > the right syntax is > > deletefile(SCIHOME+'/scinotesConfiguration.xml'). > > Regards, > > > On 03/30/2013 10:54 PM, Gary Nelson wrote: >> From SCILAB >> >> -->deletefile('scinotesConfiguration.xml') >> ans = >> F >> >> -->deletefile(SCIHOME+/'scinotesConfiguration.xml') >> !--error 2 >> Invalid factor. >> --> >> >> >> -->SCIHOME >> SCIHOME = >> /Users/garynelson/.Scilab/scilab-5.4.0 >> -->deletefile(SCIHOME+/'scinotesConfiguration.xml') >> !--error 2 >> Invalid factor. >> >> ->SCIHOME >> SCIHOME = >> /Users/garynelson/.Scilab/scilab-5.4.0 >> -->deletefile('/scinotesConfiguration.xml') >> ans = >> F >> Is there an error in the syntax here? >> >> >> From OS file browser, there are no files visible with any of these names. >> >> Thanks again for your help and patience >> >> Gary Nelson >> porpoiseseeker at gmail.com >> >> >> >> On Mar 30, 2013, at 1:59 PM, Samuel Gougeon wrote: >> >>> Le 30/03/2013 21:46, Gary Nelson a ?crit : >>>> How do I find these >>> in >>> --> SCIHOME >>> --> help SCIHOME >>> >>> >>>> and trash them? >>> with your OSfile browser, or under Scilab with >>> >>> --> help deletefile >>> >>> http://help.scilab.org/docs/5.4.0/en_US/deletefile.html >>> >>> Samuel >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > > -- > Bruno JOFRET > Software Architect > > Scilab Enterprises > 143bis rue Yves Le Coz - 78000 Versailles, France > Phone: +33.1.80.77.04.70 > http://www.scilab-enterprises.com > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From wilkey at hawaii.edu Thu Apr 4 01:18:18 2013 From: wilkey at hawaii.edu (talex) Date: Wed, 3 Apr 2013 16:18:18 -0700 (PDT) Subject: [Scilab-users] Can't start Scilab in Ubuntu 10.04LTS In-Reply-To: <1308248682.6559.42.camel@losinj.inria.fr> References: <4DF8786C.9070900@upc.edu> <1308129624.23539.14.camel@korcula.inria.fr> <4DF88E32.7050501@upc.edu> <1308145098.25878.144.camel@losinj.inria.fr> <4DF9B367.7080001@upc.edu> <1308248682.6559.42.camel@losinj.inria.fr> Message-ID: <1365031098577-4026446.post@n3.nabble.com> I have the same problem (under Debian wheezy), but my symptoms are different: dpkg -l | grep openjdk: ii openjdk-6-jre-headless:amd64 6b27-1.12.4-1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) ii openjdk-6-jre-lib 6b27-1.12.4-1 all OpenJDK Java runtime (architecture independent libraries) ii openjdk-7-jre-headless:amd64 7u3-2.1.6-1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) ii openjdk-7-jre-lib 7u3-2.1.6-1 all OpenJDK Java runtime (architecture independent libraries) Running this command fixes the problem, since I have non-free Java installed: JAVA_HOME=/usr/lib/jvm/java-7-oracle/ scilab Should I just echo this path command at the start of my session? -- View this message in context: http://mailinglists.scilab.org/Can-t-start-Scilab-in-Ubuntu-10-04LTS-tp3066582p4026446.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From sylvestre.ledru at scilab-enterprises.com Thu Apr 4 08:33:20 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 04 Apr 2013 08:33:20 +0200 Subject: [Scilab-users] Can't start Scilab in Ubuntu 10.04LTS In-Reply-To: <1365031098577-4026446.post@n3.nabble.com> References: <4DF8786C.9070900@upc.edu> <1308129624.23539.14.camel@korcula.inria.fr> <4DF88E32.7050501@upc.edu> <1308145098.25878.144.camel@losinj.inria.fr> <4DF9B367.7080001@upc.edu> <1308248682.6559.42.camel@losinj.inria.fr> <1365031098577-4026446.post@n3.nabble.com> Message-ID: <515D1EB0.5060802@scilab-enterprises.com> Hello, You only have the headless packages. apt-get install openjdk-6-jre should fix your problem. Sylvestre On 04/04/2013 01:18, talex wrote: > I have the same problem (under Debian wheezy), but my symptoms are different: > > dpkg -l | grep openjdk: > ii openjdk-6-jre-headless:amd64 > 6b27-1.12.4-1 amd64 OpenJDK Java runtime, using > Hotspot JIT (headless) > ii openjdk-6-jre-lib > 6b27-1.12.4-1 all OpenJDK Java runtime > (architecture independent libraries) > ii openjdk-7-jre-headless:amd64 7u3-2.1.6-1 > amd64 OpenJDK Java runtime, using Hotspot JIT (headless) > ii openjdk-7-jre-lib 7u3-2.1.6-1 > all OpenJDK Java runtime (architecture independent libraries) > > Running this command fixes the problem, since I have non-free Java > installed: > JAVA_HOME=/usr/lib/jvm/java-7-oracle/ scilab > > Should I just echo this path command at the start of my session? > > > > -- > View this message in context: http://mailinglists.scilab.org/Can-t-start-Scilab-in-Ubuntu-10-04LTS-tp3066582p4026446.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From Christophe.Dang at sidel.com Thu Apr 4 08:53:19 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 4 Apr 2013 08:53:19 +0200 Subject: [Scilab-users] Search for special strings in files, from Scinotes In-Reply-To: References: <1364736515498-4026408.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F106F7DA66@301EX00100.sidel.com> Hello, De la part de Rafael Guerra Envoy? : mercredi 3 avril 2013 18:41 > I am having trouble to search for the culprit special character string > "2./" in Scinotes > Edit > Search > Find word in files Did you try to open the file in Scinotes and then use CTRL+F ? (probably Edit > Search > Search/Replace, but I have it in French). Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From vogt at centre-cired.fr Thu Apr 4 15:03:02 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 04 Apr 2013 15:03:02 +0200 Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs Message-ID: <515D7A06.1050105@centre-cired.fr> This is just to thank the development team. -- Adrien Vogt-Schilb (Cired) +33 (0) 6 78 54 73 77 From sdr at durietz.se Thu Apr 4 16:05:02 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Thu, 04 Apr 2013 16:05:02 +0200 Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs In-Reply-To: <515D7A06.1050105@centre-cired.fr> References: <515D7A06.1050105@centre-cired.fr> Message-ID: <515D888E.30102@durietz.se> On 2013-04-04 15:03, Adrien Vogt-Schilb wrote: -------------------- > This is just to thank the development team. > And the GUIs are correctly positioned from the beginning! From jrafaelbguerra at hotmail.com Thu Apr 4 23:03:08 2013 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Thu, 4 Apr 2013 18:03:08 -0300 Subject: [Scilab-users] Search for special strings in files, from Scinotes In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F106F7DA66@301EX00100.sidel.com> References: <1364736515498-4026408.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F106F7DA66@301EX00100.sidel.com> Message-ID: Hi Christophe, Thanks for your reply. I need to search the word in files because the program loads too many functions at start up (CTRL+F is then not practical). I did a mistake during search (used default *.sce, instead of *.sc?). With the correct input, Scinotes had no problem with the string: 2./ My appologies. Best regards Rafael G. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] On Behalf Of Dang, Christophe Sent: Thursday, April 04, 2013 3:53 AM To: International users mailing list for Scilab. Subject: Re: [Scilab-users] Search for special strings in files, from Scinotes Hello, De la part de Rafael Guerra Envoy? : mercredi 3 avril 2013 18:41 > I am having trouble to search for the culprit special character string > "2./" in Scinotes > Edit > Search > Find word in files Did you try to open the file in Scinotes and then use CTRL+F ? (probably Edit > Search > Search/Replace, but I have it in French). Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From wilkey at hawaii.edu Fri Apr 5 11:53:15 2013 From: wilkey at hawaii.edu (talex) Date: Fri, 5 Apr 2013 02:53:15 -0700 (PDT) Subject: [Scilab-users] Can't start Scilab in Ubuntu 10.04LTS In-Reply-To: <515D1EB0.5060802@scilab-enterprises.com> References: <4DF8786C.9070900@upc.edu> <1308129624.23539.14.camel@korcula.inria.fr> <4DF88E32.7050501@upc.edu> <1308145098.25878.144.camel@losinj.inria.fr> <4DF9B367.7080001@upc.edu> <1308248682.6559.42.camel@losinj.inria.fr> <1365031098577-4026446.post@n3.nabble.com> <515D1EB0.5060802@scilab-enterprises.com> Message-ID: <1365155595809-4026457.post@n3.nabble.com> Hi, thanks for the response. That fixed it. -- View this message in context: http://mailinglists.scilab.org/Can-t-start-Scilab-in-Ubuntu-10-04LTS-tp3066582p4026457.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From iremstr at yahoo.de Sun Apr 7 18:16:42 2013 From: iremstr at yahoo.de (iremstr) Date: Sun, 7 Apr 2013 09:16:42 -0700 (PDT) Subject: [Scilab-users] Scilab 5.2.2 with SIVP 0.5.3 under Mac OS X 10.6 In-Reply-To: <1338396801356-4022793.post@n3.nabble.com> References: <1280418775.27645.3192.camel@korcula.inria.fr> <1338372889614-4022223.post@n3.nabble.com> <1338396801356-4022793.post@n3.nabble.com> Message-ID: <1365351402404-4026460.post@n3.nabble.com> Hello Christian, Have you solved this problem in the mean time? Because I am getting a similar Error when I want to load SIVP 0.5.3 with Scilab 5.4.1 under MacOsX Lion. Basically, I followed the same way. I installed Opencv from MacPorts and then called build.sce which builded the SIVP 0.5.3 successfully. But when I try to load the toolbox I get the following message: SIVP - Scilab Image and Video Processing Toolbox Load macros Load gateways link(opencvlibs+arch_path+"/libopencv_calib3d.dylib"); !--error 236 link: das gemeinsame Archiv wurde nicht geladen: dlopen(/Applications/scilab-5.4.1.app/Contents/MacOS/share/scilab/contrib/SIVP_0.5.3.1/thirdparty/opencv/macos/x64/libopencv_calib3d.dylib, 10): Library not loaded: /Users/atoms_cc/test/opencv/OpenCV-2.4.2/lib/libopencv_core.2.4.dylib Referenced from: /Applications/scilab-5.4.1.app/Contents/MacOS/share/scilab/contrib/SIVP_0.5.3.1/thirdparty/opencv/macos/x64/libopencv_calib3d.dylib Reason: image not found at line 106 of exec file called by : exec(get_absolute_file_path("loader.sce")+"etc/"+"SIVP.start"); at line 10 of exec file called by : ab/contrib/SIVP_0.5.3.1//loader.sce") in execstr instruction called by : e542d1ad:-7fa2");execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %ol while executing a callback SO have you got any idea what is missing or where I am making a mistake? Thanks, Irem -- View this message in context: http://mailinglists.scilab.org/Scilab-5-2-2-with-SIVP-0-5-3-under-Mac-OS-X-10-6-tp2617683p4026460.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From michael.dunn at ubm.com Sun Apr 7 22:39:36 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 7 Apr 2013 16:39:36 -0400 Subject: [Scilab-users] Logical operators In-Reply-To: <515A81A5.1090507@shom.fr> Message-ID: There's AND (&) and OR (|) and NOT (~), but no XOR??? Surprising? Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:35682195-5201-47A2-B8E1-ADC9606032F5] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[44].png Type: image/png Size: 12428 bytes Desc: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[44].png URL: From vogt at centre-cired.fr Sun Apr 7 22:43:12 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Sun, 07 Apr 2013 22:43:12 +0200 Subject: [Scilab-users] Logical operators In-Reply-To: References: Message-ID: <5161DA60.2070309@centre-cired.fr> Well, if a and b are booleans, a~=b gives a XOR b, doesn t it? On 07/04/2013 22:39, Michael Dunn wrote: > There's AND (&) and OR (|) and NOT (~), but no XOR??? Surprising... > > > Michael Dunn | Editor-in-Chief > Scope Junction | http://www.scopejunction.com/ > UBM Electronics > (415) 947-6096 (USA) > (519) 744-9395 (Canada) > Skype: MichaelDunn_UBM > LinkedIn: http://www.linkedin.com/in/cantares > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 6 78 54 73 77 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 12428 bytes Desc: not available URL: From michael.dunn at ubm.com Sun Apr 7 22:51:44 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 7 Apr 2013 16:51:44 -0400 Subject: [Scilab-users] Logical operators In-Reply-To: <5161DA60.2070309@centre-cired.fr> Message-ID: Ahhhh, sneaky. Sorry for not thinking :-} Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:6D03F098-A636-4A0E-8434-29BBAA6290FE] From: Adrien Vogt-Schilb > Reply-To: "International users mailing list for Scilab." > Date: Sunday, April 7, 2013 4:43 PM To: "International users mailing list for Scilab." > Subject: Re: [Scilab-users] Logical operators Well, if a and b are booleans, a~=b gives a XOR b, doesn t it? On 07/04/2013 22:39, Michael Dunn wrote: There's AND (&) and OR (|) and NOT (~), but no XOR??? Surprising? Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:part3.02040700.02040103 at centre-cired.fr] _______________________________________________ users mailing list users at lists.scilab.orghttp://lists.scilab.org/mailman/listinfo/users -- Adrien Vogt-Schilb (Cired) +33 (0) 6 78 54 73 77 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[45].png Type: image/png Size: 12428 bytes Desc: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[45].png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT00001.png Type: image/png Size: 12428 bytes Desc: ATT00001.png URL: From jrafaelbguerra at hotmail.com Mon Apr 8 04:45:49 2013 From: jrafaelbguerra at hotmail.com (Rafael Guerra) Date: Sun, 7 Apr 2013 23:45:49 -0300 Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs In-Reply-To: <515D7A06.1050105@centre-cired.fr> References: <515D7A06.1050105@centre-cired.fr> Message-ID: I am thankful too for these amazing achievements. Best regards Rafael Guerra -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] On Behalf Of Adrien Vogt-Schilb Sent: Thursday, April 04, 2013 10:03 AM To: International users mailing list for Scilab. Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs This is just to thank the development team. -- Adrien Vogt-Schilb (Cired) +33 (0) 6 78 54 73 77 _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From dkajah at gmail.com Mon Apr 8 07:56:06 2013 From: dkajah at gmail.com (Daniel Penalva) Date: Mon, 8 Apr 2013 02:56:06 -0300 Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs In-Reply-To: References: <515D7A06.1050105@centre-cired.fr> Message-ID: Hi dear friends, i have a question. Recently i give up Scilab because i cant use it without my bogus NVidia Optimus GPU, that is, i wanna to use my native graphics card but i cant ! Is this fixed now ? Thank you On Sun, Apr 7, 2013 at 11:45 PM, Rafael Guerra wrote: > I am thankful too for these amazing achievements. > > Best regards > Rafael Guerra > > -----Original Message----- > From: users-bounces at lists.scilab.org [mailto: > users-bounces at lists.scilab.org] > On Behalf Of Adrien Vogt-Schilb > Sent: Thursday, April 04, 2013 10:03 AM > To: International users mailing list for Scilab. > Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs > > This is just to thank the development team. > > -- > Adrien Vogt-Schilb (Cired) > +33 (0) 6 78 54 73 77 > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Mon Apr 8 08:05:53 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Mon, 08 Apr 2013 08:05:53 +0200 Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs In-Reply-To: References: <515D7A06.1050105@centre-cired.fr> Message-ID: <51625E41.1060200@scilab-enterprises.com> Thanks for all the positive feedback. It is really appreciated. :) It is thanks to all bug reports and comments from the community that we can improve Scilab. About your Optimus problem, if you run Linux, it should work with: optirun /path/to/bin/scilab I wish we could do something on this but it is in the hand of Nvidia... Sylvestre On 08/04/2013 07:56, Daniel Penalva wrote: > Hi dear friends, i have a question. > > Recently i give up Scilab because i cant use it without my bogus NVidia > Optimus GPU, that is, i wanna to use my native graphics card but i cant > ! Is this fixed now ? > > Thank you > > > On Sun, Apr 7, 2013 at 11:45 PM, Rafael Guerra > > wrote: > > I am thankful too for these amazing achievements. > > Best regards > Rafael Guerra > > -----Original Message----- > From: users-bounces at lists.scilab.org > > [mailto:users-bounces at lists.scilab.org > ] > On Behalf Of Adrien Vogt-Schilb > Sent: Thursday, April 04, 2013 10:03 AM > To: International users mailing list for Scilab. > Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs > > This is just to thank the development team. > > -- > Adrien Vogt-Schilb (Cired) > +33 (0) 6 78 54 73 77 > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From ftesta at rochester.rr.com Sun Apr 7 02:31:07 2013 From: ftesta at rochester.rr.com (Frank Testa) Date: Sat, 6 Apr 2013 20:31:07 -0400 Subject: [Scilab-users] print Message-ID: <00cb01ce3327$3241d780$96c58680$@rochester.rr.com> Dear Scilab: I have created a window with figure() and populated it with text and edit controls using uicontrol(). I would like to print a screenshot of the window but toprint() and printfigure() both only print the bare window without any of the controls. Is there a way to do this? Thanks very much. Frank Testa Fairport, NY -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Mon Apr 8 11:25:14 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Mon, 08 Apr 2013 11:25:14 +0200 Subject: [Scilab-users] uicontrols and 5.4.1 Message-ID: <51628CFA.4060903@laas.fr> Hi everyone, Like many of you, I greatly enjoy the improved performances and stability of the graphics in 5.4.1. However, it seems that there are some random issues with the uicontrols that stop responding correctly after some random time. After a restart, the uicontrols work fine again and the same script ran under 5.4.0 does not cause any issue. I did not manage to reproduce this bug reliably, so I don't have a test to submit for a bug. (Well, I am not even sure whether the bug is in the code or sitting between the keyboard and the mouse!) Am I the only one in this situation or has any of you experienced something similar with uicontrols under 5.4.1? Cheers, Antoine From denis.crete at thalesgroup.com Mon Apr 8 13:29:02 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Mon, 8 Apr 2013 13:29:02 +0200 Subject: [Scilab-users] uicontrols and 5.4.1 In-Reply-To: <51628CFA.4060903@laas.fr> References: <51628CFA.4060903@laas.fr> Message-ID: <23671_1365420544_5162A9FF_23671_11492_1_8F1D40232A0E68409E3FC23A30C3266201678D717FBE@THSONEA01CMS04P.one.grp> Hello, I seem to have the same experience. However, as I was loading the graphics with a huge amount of data, I did not blame Scilab at this point. Regards Denis -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Antoine Monmayrant Envoy??: lundi 8 avril 2013 11:25 ??: International users mailing list for Scilab. Objet?: [Scilab-users] uicontrols and 5.4.1 Hi everyone, Like many of you, I greatly enjoy the improved performances and stability of the graphics in 5.4.1. However, it seems that there are some random issues with the uicontrols that stop responding correctly after some random time. After a restart, the uicontrols work fine again and the same script ran under 5.4.0 does not cause any issue. I did not manage to reproduce this bug reliably, so I don't have a test to submit for a bug. (Well, I am not even sure whether the bug is in the code or sitting between the keyboard and the mouse!) Am I the only one in this situation or has any of you experienced something similar with uicontrols under 5.4.1? Cheers, Antoine _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From andyrock at outlook.com Mon Apr 8 15:33:41 2013 From: andyrock at outlook.com (AndyRock) Date: Mon, 8 Apr 2013 06:33:41 -0700 (PDT) Subject: [Scilab-users] java.lang.NoClassDefFoundError: org/scilab/modules/javasci/JavasciException Message-ID: <1365428021772-4026472.post@n3.nabble.com> Hello, I am working with Scilab 5.4 under Eclipse Juno. I followed steps in this page: http://help.scilab.org/docs/5.4.0/en_US/compile_and_run_javasci_v2.html So I had my plug-in project and I defined two environnements : *SCI= /home/scilab-5.4.0/share/scilab/ LD_LIBRARY_PATH= /home/scilab-5.4.0/lib/scilab/:/home/scilab-5.4.0/lib/thirdparty/ * I added libraries *org.scilab.modules.javasc*i and *org.ecilab.modules.types* to my Build Path. When I launshed the application, I had this error: *java.lang.NoClassDefFoundError: org/scilab/modules/javasci/JavasciException at * !!! I have seen the FAQ but it didn't help me Have you another ideas please, Thanks -- View this message in context: http://mailinglists.scilab.org/java-lang-NoClassDefFoundError-org-scilab-modules-javasci-JavasciException-tp4026472.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From vogt at centre-cired.fr Mon Apr 8 18:51:23 2013 From: vogt at centre-cired.fr (A. Vogt-Schilb) Date: Mon, 08 Apr 2013 17:51:23 +0100 Subject: [Scilab-users] uicontrols and 5.4.1 Message-ID: Hi. I had a similar issue when my script was paused inside a try statement I believe. Sent from my phone CRETE Denis wrote: >Hello, >I seem to have the same experience. However, as I was loading the graphics with a huge amount of data, I did not blame Scilab at this point. >Regards >Denis > >-----Message d'origine----- >De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Antoine Monmayrant >Envoy??: lundi 8 avril 2013 11:25 >??: International users mailing list for Scilab. >Objet?: [Scilab-users] uicontrols and 5.4.1 > >Hi everyone, > >Like many of you, I greatly enjoy the improved performances and stability of the graphics in 5.4.1. >However, it seems that there are some random issues with the uicontrols that stop responding correctly after some random time. >After a restart, the uicontrols work fine again and the same script ran under 5.4.0 does not cause any issue. >I did not manage to reproduce this bug reliably, so I don't have a test to submit for a bug. >(Well, I am not even sure whether the bug is in the code or sitting between the keyboard and the mouse!) Am I the only one in this situation or has any of you experienced something similar with uicontrols under 5.4.1? > >Cheers, > >Antoine >_______________________________________________ >users mailing list >users at lists.scilab.org >http://lists.scilab.org/mailman/listinfo/users >_______________________________________________ >users mailing list >users at lists.scilab.org >http://lists.scilab.org/mailman/listinfo/users From vogt at centre-cired.fr Mon Apr 8 21:52:47 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Mon, 08 Apr 2013 21:52:47 +0200 Subject: [Scilab-users] print In-Reply-To: <00cb01ce3327$3241d780$96c58680$@rochester.rr.com> References: <00cb01ce3327$3241d780$96c58680$@rochester.rr.com> Message-ID: <5163200F.8010004@centre-cired.fr> Maybe xs2png or xs2pdf are what you are looking for? On 07/04/2013 02:31, Frank Testa wrote: > > Dear Scilab: > > I have created a window with figure() and populated it with text and > edit controls using uicontrol(). I would like to print a screenshot of > the window but toprint() and printfigure() both only print the bare > window without any of the controls. Is there a way to do this? > > Thanks very much. > > Frank Testa > > Fairport, NY > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From scilab at fairhavensedumedia.com Tue Apr 9 02:19:00 2013 From: scilab at fairhavensedumedia.com (Jeff Hamann) Date: Mon, 08 Apr 2013 19:19:00 -0500 Subject: [Scilab-users] Xcos problem on OS X 10.8.2 Message-ID: <51635E74.2090900@fairhavensedumedia.com> Hello everyone, I'm attempting to run the Xcos->Electrical Systems->RLC Circuit demonstration and getting the following on the console when I try to start it: Startup execution: loading initial environment --------------------------------------------\ Main Modelica : /private/var/folders/78/ly13mdg91rxfc53wjfbhnnmr0000gv/T/SCI_TMP_1246_xNb4wq/RLC_Modelica_im.mo Flat Modelica : /private/var/folders/78/ly13mdg91rxfc53wjfbhnnmr0000gv/T/SCI_TMP_1246_xNb4wq/RLC_Modelica_imf.mo Simulation C code :/private/var/folders/78/ly13mdg91rxfc53wjfbhnnmr0000gv/T/SCI_TMP_1246_xNb4wq/RLC_Modelica_im.c Generate a loader file Generate a Makefile ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR ilib_gen_Make: Copy RLC_Modelica_im.c to TMPDIR ilib_gen_Make: configure : Generate Makefile. Detection of C/C++/Fortran Compilers checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... no checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... no checking for cc... no checking for cl.exe... no !sorry compiling problem ! ! ! !ilib_gen_Make: An error occurred during the detection of the compiler(s! ! ). Set ilib_verbose(2) for more information. ! c_pass1: build the modelica meta-block failed xcos_simulate: Error during block parameters update. Anyone know what to do? I do have the latest version of XCode installed. Haven't found much in the wiki or list archives that helps me. I notice above that gcc is not detected even though it is installed. Same error occurs on a number of other demos. Thank you for your help. Warm regards, Jeff Hamann Fair Havens Edumedia From adelson.oliveira at gmail.com Tue Apr 9 05:13:27 2013 From: adelson.oliveira at gmail.com (Adelson Santos de Oliveira) Date: Tue, 09 Apr 2013 00:13:27 -0300 Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs In-Reply-To: <51625E41.1060200@scilab-enterprises.com> References: <515D7A06.1050105@centre-cired.fr> <51625E41.1060200@scilab-enterprises.com> Message-ID: <51638757.7050604@gmail.com> Last time I tried to use optirun with scilab in Linux I got a message of lacking some library. Then I submit the problem to one of the developers of bumblebee (the optirun provider for Linux) and he told me that optirun has its own list of libraries paths as well as scilab sets its own environment to run, and this could be the cause of incompatibilities. So there was a chance to run, optirun /path/to/scilab if one somehow overcome this problem. I'm sorry, I've never tried. Of course, it would be better if nvidia take care of it. I think that AMD has a kind of an alternative ... Em 08-04-2013 03:05, Sylvestre Ledru escreveu: > Thanks for all the positive feedback. It is really appreciated. :) > It is thanks to all bug reports and comments from the community that we > can improve Scilab. > > About your Optimus problem, if you run Linux, it should work with: > optirun /path/to/bin/scilab > I wish we could do something on this but it is in the hand of Nvidia... > > Sylvestre > > > On 08/04/2013 07:56, Daniel Penalva wrote: >> Hi dear friends, i have a question. >> >> Recently i give up Scilab because i cant use it without my bogus NVidia >> Optimus GPU, that is, i wanna to use my native graphics card but i cant >> ! Is this fixed now ? >> >> Thank you >> >> >> On Sun, Apr 7, 2013 at 11:45 PM, Rafael Guerra >> > wrote: >> >> I am thankful too for these amazing achievements. >> >> Best regards >> Rafael Guerra >> >> -----Original Message----- >> From: users-bounces at lists.scilab.org >> >> [mailto:users-bounces at lists.scilab.org >> ] >> On Behalf Of Adrien Vogt-Schilb >> Sent: Thursday, April 04, 2013 10:03 AM >> To: International users mailing list for Scilab. >> Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs >> >> This is just to thank the development team. >> >> -- >> Adrien Vogt-Schilb (Cired) >> +33 (0) 6 78 54 73 77 >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> >> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From dkajah at gmail.com Tue Apr 9 06:23:31 2013 From: dkajah at gmail.com (Daniel Penalva) Date: Tue, 9 Apr 2013 01:23:31 -0300 Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs In-Reply-To: <51638757.7050604@gmail.com> References: <515D7A06.1050105@centre-cired.fr> <51625E41.1060200@scilab-enterprises.com> <51638757.7050604@gmail.com> Message-ID: nvidia sux :-(, thanks anyway i will try something and give feedback if it work On Tue, Apr 9, 2013 at 12:13 AM, Adelson Santos de Oliveira < adelson.oliveira at gmail.com> wrote: > Last time I tried to use optirun with scilab in Linux I got a message of > lacking some library. Then I submit the problem to one of the developers of > bumblebee (the optirun provider for Linux) and he told me that optirun has > its own list of libraries paths as well as scilab sets its own environment > to run, and this could be the cause of incompatibilities. So there was a > chance to run, > > optirun /path/to/scilab > > if one somehow overcome this problem. > > I'm sorry, I've never tried. > > Of course, it would be better if nvidia take care of it. I think that AMD > has a kind of an alternative ... > > Em 08-04-2013 03:05, Sylvestre Ledru escreveu: > > Thanks for all the positive feedback. It is really appreciated. :) >> It is thanks to all bug reports and comments from the community that we >> can improve Scilab. >> >> About your Optimus problem, if you run Linux, it should work with: >> optirun /path/to/bin/scilab >> I wish we could do something on this but it is in the hand of Nvidia... >> >> Sylvestre >> >> >> On 08/04/2013 07:56, Daniel Penalva wrote: >> >>> Hi dear friends, i have a question. >>> >>> Recently i give up Scilab because i cant use it without my bogus NVidia >>> Optimus GPU, that is, i wanna to use my native graphics card but i cant >>> ! Is this fixed now ? >>> >>> Thank you >>> >>> >>> On Sun, Apr 7, 2013 at 11:45 PM, Rafael Guerra >>> >> >>> wrote: >>> >>> I am thankful too for these amazing achievements. >>> >>> Best regards >>> Rafael Guerra >>> >>> -----Original Message----- >>> From: users-bounces at lists.scilab.org >>> >>> > >>> [mailto:users-bounces at lists.**scilab.org >>> >>> >] >>> On Behalf Of Adrien Vogt-Schilb >>> Sent: Thursday, April 04, 2013 10:03 AM >>> To: International users mailing list for Scilab. >>> Subject: [Scilab-users] Scilab 5.4.1 makes really fast graphs >>> >>> This is just to thank the development team. >>> >>> -- >>> Adrien Vogt-Schilb (Cired) >>> +33 (0) 6 78 54 73 77 >> 2054%2073%2077> >>> >>> ______________________________**_________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/**mailman/listinfo/users >>> >>> ______________________________**_________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/**mailman/listinfo/users >>> >>> >>> >>> >>> ______________________________**_________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/**mailman/listinfo/users >>> >>> ______________________________**_________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/**mailman/listinfo/users >> >> > ______________________________**_________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/**mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Tue Apr 9 08:29:48 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 09 Apr 2013 08:29:48 +0200 Subject: [Scilab-users] uicontrols and 5.4.1 In-Reply-To: References: Message-ID: <5163B55C.30200@laas.fr> On 08/04/2013 18:51, A. Vogt-Schilb wrote: > Hi. I had a similar issue when my script was paused inside a try statement I believe. OK, did you observe the same issue with 5.4.0? If not it means there might be something fishy going on with uicontrols and 5.4.1. It could be cool if we could narrow the issue down to some simple test code that we submit in a bug report. Cheers, Antoine > > Sent from my phone > > CRETE Denis wrote: > >> Hello, >> I seem to have the same experience. However, as I was loading the graphics with a huge amount of data, I did not blame Scilab at this point. >> Regards >> Denis >> >> -----Message d'origine----- >> De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Antoine Monmayrant >> Envoy? : lundi 8 avril 2013 11:25 >> ? : International users mailing list for Scilab. >> Objet : [Scilab-users] uicontrols and 5.4.1 >> >> Hi everyone, >> >> Like many of you, I greatly enjoy the improved performances and stability of the graphics in 5.4.1. >> However, it seems that there are some random issues with the uicontrols that stop responding correctly after some random time. >> After a restart, the uicontrols work fine again and the same script ran under 5.4.0 does not cause any issue. >> I did not manage to reproduce this bug reliably, so I don't have a test to submit for a bug. >> (Well, I am not even sure whether the bug is in the code or sitting between the keyboard and the mouse!) Am I the only one in this situation or has any of you experienced something similar with uicontrols under 5.4.1? >> >> Cheers, >> >> Antoine >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Antoine Monmayrant LAAS - CNRS 7 avenue du Colonel Roche BP 54200 31031 TOULOUSE Cedex 4 FRANCE Tel:+33 5 61 33 64 59 email : antoine.monmayrant at laas.fr permanent email : antoine.monmayrant at polytechnique.org +++++++++++++++++++++++++++++++++++++++++++++++++++++++ From devaraj.munian at rntbci.com Tue Apr 9 08:29:47 2013 From: devaraj.munian at rntbci.com (Munian, Devaraj) Date: Tue, 9 Apr 2013 07:29:47 +0100 Subject: [Scilab-users] Data Extraction Issue in Scilab Message-ID: Dear Scilab Support, I have a small problem in Scilab. I have a big code in which I do lot of data extraction like reading data from text file , searching for value ,etc. When some conditions is met , I want to stop executing the rest of the code. I did some research in web but could not find a solution like 1) Break command in Scilab behaves little differently from Matlab. 2) Halt command does not serve the purpose. I have a part of code in Matlab where it works using break command. Matlab Code num_inject=3 % Check if num_inject=3 %if num_inject=3 then stop executing the rest of the code if num_inject==3; Message={'This script is not suitable for Triple injection'}; h = msgbox(Message,'Quit'); uiwait(h); break; end Please help in resolving this issue. Regards Devaraj | Assistant Manager | Tools and Methods | RENAULT NISSAN TECHNOLOGY & BUSINESS CENTRE INDIA PRIVATE LIMITED Ascendas IT Park, Mahindra World City SEZ | Plot # TP2/1, Natham Sub Post Office | 3rd Floor | Chengelpattu | Kancheepuram District | Tamilnadu 603002 | India | Tel # | + 9144-67416303 | eMail | devaraj.munian at rntbci.com | [cid:image001.gif at 01CE3519.BB7B0820] TOGETHER EVERYBODY ACHIEVES MORE From: Munian, Devaraj Sent: Thursday, March 14, 2013 9:46 AM To: 'users at lists.scilab.org' Subject: Data Extraction Issue in Scilab Dear Scilab Support, We here in RNTBCI are testing Scilab to compare it against Matlab. We are doing a pilot project to convert our script in Matlab to Scilab for validating purpose. If we are able to get the same result in Scilab compared with Matlab, we will be converting all our Matlab applications into Scilab applications. During our pilot project which is a most simplest project we are not able to proceed further because of issues mentioned in the ppt. I have also attached the data files and Matlab files for your reference. It will be really grateful if the issue is addressed at the earliest. Regards Devaraj | Assistant Manager | Tools and Methods | RENAULT NISSAN TECHNOLOGY & BUSINESS CENTRE INDIA PRIVATE LIMITED Ascendas IT Park, Mahindra World City SEZ | Plot # TP2/1, Natham Sub Post Office | 3rd Floor | Chengelpattu | Kancheepuram District | Tamilnadu 603002 | India | Tel # | + 9144-67416303 | eMail | devaraj.munian at rntbci.com | [cid:image001.gif at 01CE3519.BB7B0820] TOGETHER EVERYBODY ACHIEVES MORE *********************************************************************************************************** CONFIDENTIALITY NOTICE This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify us by email to email.security at rntbci.com with a copy of this message. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. RNTBCI and any of its subsidiaries each reserves the right to monitor all e-mail communications through its networks. RNTBCI is neither liable for the proper, complete transmission of the information contained in this communication nor any delay in its receipt. This email was scanned for the presence of computer viruses. In the unfortunate event of infection RNTBCI does not accept any liability. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them. *********************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2099 bytes Desc: image001.gif URL: From Christophe.Dang at sidel.com Tue Apr 9 08:59:20 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 9 Apr 2013 08:59:20 +0200 Subject: [Scilab-users] Data Extraction Issue in Scilab In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F1070563A7@301EX00100.sidel.com> Hello, De la part de Munian, Devaraj Envoy? : mardi 9 avril 2013 08:30 > When some conditions is met , I want to stop executing the rest of the > code. > [...] > if num_inject==3; > Message={'This script is not suitable for Triple injection'}; > h = msgbox(Message,'Quit'); > uiwait(h); > break; > end This looks like the handling of an erroneous input. Maybe you should look at error() http://help.scilab.org/docs/5.4.1/en_US/error.html with the appropriate errorcatch() option http://help.scilab.org/docs/5.4.1/en_US/errcatch.html Hope this helps Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From gamieri at gmail.com Tue Apr 9 14:11:55 2013 From: gamieri at gmail.com (pgameiro) Date: Tue, 9 Apr 2013 05:11:55 -0700 (PDT) Subject: [Scilab-users] Use exemple of generic_block3 in xcos Message-ID: <1365509515494-4026490.post@n3.nabble.com> Hello, I would like to call a scilab function file myfun.sci from xcos. I know that i can use scifunc_block_m with scilab script code build in but i would like prefer call a external file function. How i can use ou see an exemple to use generic_block3 with xcos. Best regard pgameiro -- View this message in context: http://mailinglists.scilab.org/Use-exemple-of-generic-block3-in-xcos-tp4026490.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From laurent.berger at univ-lemans.fr Tue Apr 9 16:25:24 2013 From: laurent.berger at univ-lemans.fr (laurent berger) Date: Tue, 9 Apr 2013 07:25:24 -0700 (PDT) Subject: [Scilab-users] Utilisation de try Message-ID: <1365517524102-4026492.post@n3.nabble.com> Bonjour, J'utilise la fonction try pour la gestion des erreurs dans ce programme : clear try f1= 200; A1=1; f2=0; A2= u;// Il y a une erreur ici u n'est pas d?finie catch [str,n,line,func]=lasterror(); disp('ERREUR',str) end Ici tout se passe bien, mais lorsque j'essaye avec : clear try f1= 200; A1=1; f2=0; A2= ;// Il y a une erreur ici pas de valeur ? droite du signe = catch [str,n,line,func]=lasterror(); disp('ERREUR',str) end La console scilab est bloqu?e. Il faut appuyer sur ctlc C puis abort pour s'en sortir. Je ne comprends pas pourquoi. Merci de votre aide -- View this message in context: http://mailinglists.scilab.org/Utilisation-de-try-tp4026492.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From laurent.berger at univ-lemans.fr Tue Apr 9 17:30:08 2013 From: laurent.berger at univ-lemans.fr (laurent berger) Date: Tue, 9 Apr 2013 08:30:08 -0700 (PDT) Subject: [Scilab-users] Using try and catch In-Reply-To: <1365517524102-4026492.post@n3.nabble.com> References: <1365517524102-4026492.post@n3.nabble.com> Message-ID: <1365521408893-4026493.post@n3.nabble.com> Hi, An example of try and catch for handling execption is clear try f1= 200; A1=1; f2=0; A2= u;//u is undefined catch [str,n,line,func]=lasterror(); disp('ERREUR',str) end Everything is ok but I try clear try f1= 200; A1=1; f2=0; A2= ;//Nothing on right side of = catch [str,n,line,func]=lasterror(); disp('ERREUR',str) end Scilab console is blocked.You have to used ctrlc C and abort. I do not understand why Thanks you for your help -- View this message in context: http://mailinglists.scilab.org/Utilisation-de-try-tp4026492p4026493.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From amonmayr at laas.fr Tue Apr 9 20:13:37 2013 From: amonmayr at laas.fr (Antoine Monmayrant) Date: Tue, 09 Apr 2013 20:13:37 +0200 Subject: [Scilab-users] Using try and catch In-Reply-To: <1365521408893-4026493.post@n3.nabble.com> Message-ID: <161e-51645a80-1-1c54bfa0@70657527> Le Mardi 9 Avril 2013 17.30 CEST, laurent berger a ?crit: > Hi, > An example of try and catch for handling execption is > clear > try > f1= 200; > A1=1; > f2=0; > A2= u;//u is undefined > catch > [str,n,line,func]=lasterror(); > disp('ERREUR',str) > end > > Everything is ok but I try > clear > try > f1= 200; > A1=1; > f2=0; > A2= ;//Nothing on right side of = > catch > [str,n,line,func]=lasterror(); > disp('ERREUR',str) > end > > Scilab console is blocked.You have to used ctrlc C and abort. I do not > understand why > Thanks you for your help Here is how I understand try-catch: it can be used to handle execution error, not syntax error. In your first example, the syntax is correct, not in the second one. Hope it helps, Antoine > > > > > -- > View this message in context: http://mailinglists.scilab.org/Utilisation-de-try-tp4026492p4026493.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sgougeon at free.fr Tue Apr 9 20:18:56 2013 From: sgougeon at free.fr (sgougeon at free.fr) Date: Tue, 9 Apr 2013 20:18:56 +0200 (CEST) Subject: [Scilab-users] Using try and catch In-Reply-To: <1365521408893-4026493.post@n3.nabble.com> Message-ID: <1862813453.41581265.1365531536169.JavaMail.root@zimbra75-e12.priv.proxad.net> ----- Mail original ----- >De: "laurent berger" >Envoy?: Mardi 9 Avril 2013 17:30:08 >.../... >Scilab console is blocked.You have to used ctrlc C and abort. I do not >understand why >Thanks you for your help This may be connected to the bug http://bugzilla.scilab.org/show_bug.cgi?id=6555, reporting what Antoine writes. Samuel From hinow at uwm.edu Tue Apr 9 21:19:25 2013 From: hinow at uwm.edu (Peter Hinow) Date: Tue, 9 Apr 2013 14:19:25 -0500 (CDT) Subject: [Scilab-users] rotation of graphics Message-ID: <417108742.52901.1365535165391.JavaMail.root@mail09.pantherlink.uwm.edu> Dear fellow users, when I try to rotate a graphic with rotate_axes(), it asks to "Right click and drag to rotate". What does this mean on a (Mac) mouse which has no buttons? If I click on it and move, nothing happens. I remember this used to work in earlier versions. Thank you and best regards, Peter -- Peter Hinow, PhD Department of Mathematical Sciences University of Wisconsin - Milwaukee P.O. Box 413 Milwaukee, WI 53201-0413 USA phone: ++1 414 229 6886 https://pantherfile.uwm.edu/hinow/www/ From amonmayr at laas.fr Tue Apr 9 23:26:11 2013 From: amonmayr at laas.fr (Antoine Monmayrant) Date: Tue, 09 Apr 2013 23:26:11 +0200 Subject: [Scilab-users] rotation of graphics In-Reply-To: <417108742.52901.1365535165391.JavaMail.root@mail09.pantherlink.uwm.edu> Message-ID: <2c8e-51648780-7-f254240@5305629> Le Mardi 9 Avril 2013 21.19 CEST, Peter Hinow a ?crit: > Dear fellow users, > > when I try to rotate a graphic with rotate_axes(), it asks to "Right click and drag to rotate". What does this mean on a (Mac) mouse which has no buttons? If I click on it and move, nothing happens. I remember this used to work in earlier versions. Did you try Ctrl+click or if you have a trackpad a "two-finger"+click? These two are equivalent to right click. (just tried the ctrl+click and it works on my macbook) Antoine > > Thank you and best regards, > Peter > > -- > Peter Hinow, PhD > Department of Mathematical Sciences > University of Wisconsin - Milwaukee > P.O. Box 413 > Milwaukee, WI 53201-0413 > USA > phone: ++1 414 229 6886 > https://pantherfile.uwm.edu/hinow/www/ > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From porpoiseseeker at gmail.com Wed Apr 10 00:59:43 2013 From: porpoiseseeker at gmail.com (Gary Nelson) Date: Tue, 9 Apr 2013 15:59:43 -0700 Subject: [Scilab-users] Possible bug in 5.4.0 In-Reply-To: <5150E126.9030901@free.fr> References: <5693B9E9-5774-414E-B8F6-923FBA04D959@gmail.com> <22EB72AF-1018-4A98-A9AD-D5DEDA7E5500@gmail.com> <514E3A50.3070608@free.fr> <45F47C56-7AC5-44EA-A3C8-EF95EF557F68@gmail.com> <5150E126.9030901@free.fr> Message-ID: <6C59FE1F-F7FC-4A86-B07D-6B9737C3F729@gmail.com> A few days ago I sought and received excellent help fixing a problem where SCINOTES was not opening or at least was not visible on my MacBookPro with 10.8.3. The fix was to issue dir SCIHOME deletefile(SCIHOME+'/scinotesConfiguration.xml') and then restart SCILAB. I now see what happens to make this problem occur. FIrst, when running a few apps simultaneously, I occasionally want to go to the FINDER and choose HideOthers which causes all open app windows to minimize EXCEPT Scilab which stays put. That is probably not what is expected. Yesterday I did this and rather automatically clicked the minimize button on the SCINOTES window. It collapsed and I could see a trajectory as it disappeared down to the lower tier of icons but was not to be found again. That is, despite the appearance that SCINOTES was minimized, I could not find it and open it back up. After that minimize (SCINOTES) operation, the only fix I could find was to repeat deletefile(SCIHOME+'/scinotesConfiguration.xml'). Which fixed the problem after a restart. So there is no amjor bug, but there is a GUI foible. What apperas to be an issue is that the GUI does not entirely conform to whatever Apple expects when that Finder/HideOthers operation is performed, and it is probably related to the non-reversibility of minimizing SCINOTES. I am most grateful for the fine support and the excellent product that you create for us all. Thanks. This note is intended to be helpful to the cause Gary Nelson porpoiseseeker at gmail.com > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From hinow at uwm.edu Tue Apr 9 23:36:07 2013 From: hinow at uwm.edu (Peter Hinow) Date: Tue, 9 Apr 2013 16:36:07 -0500 (CDT) Subject: [Scilab-users] rotation of graphics In-Reply-To: <2c8e-51648780-7-f254240@5305629> Message-ID: <40198195.56336.1365543366966.JavaMail.root@mail09.pantherlink.uwm.edu> that works like a charm! Thanks, Antoine! ----- Original Message ----- From: "Antoine Monmayrant" To: "International users mailing list for Scilab." Sent: Tuesday, April 9, 2013 4:26:11 PM Subject: Re: [Scilab-users] rotation of graphics Le Mardi 9 Avril 2013 21.19 CEST, Peter Hinow a ?crit: > Dear fellow users, > > when I try to rotate a graphic with rotate_axes(), it asks to "Right click and drag to rotate". What does this mean on a (Mac) mouse which has no buttons? If I click on it and move, nothing happens. I remember this used to work in earlier versions. Did you try Ctrl+click or if you have a trackpad a "two-finger"+click? These two are equivalent to right click. (just tried the ctrl+click and it works on my macbook) Antoine > > Thank you and best regards, > Peter > > -- > Peter Hinow, PhD > Department of Mathematical Sciences > University of Wisconsin - Milwaukee > P.O. Box 413 > Milwaukee, WI 53201-0413 > USA > phone: ++1 414 229 6886 > https://pantherfile.uwm.edu/hinow/www/ > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- Peter Hinow, PhD Department of Mathematical Sciences University of Wisconsin - Milwaukee P.O. Box 413 Milwaukee, WI 53201-0413 USA phone: ++1 414 229 6886 https://pantherfile.uwm.edu/hinow/www/ From autor52 at hotmail.com Wed Apr 10 12:19:57 2013 From: autor52 at hotmail.com (Mike) Date: Wed, 10 Apr 2013 03:19:57 -0700 (PDT) Subject: [Scilab-users] Interpretation of Banerji test result Message-ID: <1365589196470-4026503.post@n3.nabble.com> Dear All I am not an expert in Scilab or statistics, however I got into a situation where I need to work with it. I used the Banerji test to figure out if my test series is leading the reference series and I got this result: ------------------------------------------------------------------- rba = banerji(turning_reference('P'),turning_reference('T'),turning_test('P'),turning_test('T')) Banerji test of leading profile H0 : no k-periods leading of competing series # of extra-cycle in the reference series detected: 0 H0 sum rejection prob. k<1 21 99.804688 k<2 12 98.4375 k<3 3 70.3125 k<4 -6 3.90625 * * * rba = Banerji test estimation results ------------------------------------------------------------------- Am I right when I interpret this output as a fact that my test series is leading for k<1 and k<2? Thank you for your help. Mike -- View this message in context: http://mailinglists.scilab.org/Interpretation-of-Banerji-test-result-tp4026503.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From scilab at fairhavensedumedia.com Wed Apr 10 13:00:40 2013 From: scilab at fairhavensedumedia.com (Jeff Hamann) Date: Wed, 10 Apr 2013 06:00:40 -0500 Subject: [Scilab-users] Xcos problem on OS X 10.8.2 - more information Message-ID: <51654658.6040705@fairhavensedumedia.com> Hello everyone, More information on the "c_pass1: build the modelica meta-block failed" error trying the RLC circuit demo in Scilab: 1. I neglected to mention that this occurs in both Scilab 5.4.0 and 5.4.1. 2. Also seems identical to NEW bug 11393 reported last July. 3. I tried pretty much all of the demos yesterday and looks like this problem is limited to the demos: Xcos -> Electrical Systems Xcos -> Modelica demos 4. This is probably more accurately classified as a Modelica issue rather than Xcos. 5. I have not yet tried Scilab 5.3.3. Will try to do that soon and report back. Warm regards, Jeff Hamann Fair Havens Edumedia From grocer.toolbox at gmail.com Wed Apr 10 21:05:30 2013 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Wed, 10 Apr 2013 21:05:30 +0200 Subject: [Scilab-users] Interpretation of Banerji test result In-Reply-To: <1365589196470-4026503.post@n3.nabble.com> References: <1365589196470-4026503.post@n3.nabble.com> Message-ID: Hello Mike. This is right. More precisely, at a standard 5% level, you accept the hypothesis that the turning_test series has a lead of 3 periods over the turning_reference series and you reject the hypothesis of a 4 periods lead (but you should accept at a 1% level). ?ric. 2013/4/10 Mike > Dear All > > I am not an expert in Scilab or statistics, however I got into a situation > where I need to work with it. > > I used the Banerji test to figure out if my test series is leading the > reference series and I got this result: > > ------------------------------------------------------------------- > > rba = > > banerji(turning_reference('P'),turning_reference('T'),turning_test('P'),turning_test('T')) > > Banerji test of leading profile > H0 : no k-periods leading of competing series > > # of extra-cycle in the reference series detected: 0 > > H0 sum rejection prob. > k<1 21 99.804688 > k<2 12 98.4375 > k<3 3 70.3125 > k<4 -6 3.90625 > > * > * * > > rba = > > > Banerji test estimation results > > ------------------------------------------------------------------- > > Am I right when I interpret this output as a fact that my test series is > leading for k<1 and k<2? > > Thank you for your help. > > Mike > > > > -- > View this message in context: > http://mailinglists.scilab.org/Interpretation-of-Banerji-test-result-tp4026503.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Thu Apr 11 11:15:40 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 11 Apr 2013 11:15:40 +0200 Subject: [Scilab-users] non access to sci files Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> Dear All, I know it's not possible to encrypt a Scilab .sci file so far ; I want to deny reading but I want to allow execution ... Does somebody has a trick ? (creating a binary file, include it in a C file, etc. ...I've don't know) Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Thu Apr 11 13:03:29 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 11 Apr 2013 13:03:29 +0200 Subject: [Scilab-users] Equivalentof Dynare for Scilab Message-ID: <51669881.5010306@centre-cired.fr> Hi guys Do you know it htere is an equivalent of Dynare working for Scilab? -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 From klaus.moller at uct.ac.za Thu Apr 11 14:03:59 2013 From: klaus.moller at uct.ac.za (klaus moller) Date: Thu, 11 Apr 2013 14:03:59 +0200 Subject: [Scilab-users] CVODE Message-ID: <5166A6AF.7070000@uct.ac.za> An HTML attachment was scrubbed... URL: From paul.carrico at esterline.com Thu Apr 11 14:20:43 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 11 Apr 2013 14:20:43 +0200 Subject: [Scilab-users] scinlopt module install troubles Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779D7@exchsrv.auxitrol.ad> All, I tried to install the "scinlopt" atoms module ; I've the error message hereafter on the latest Scilab release (under Windows): ########################################################### -->atomsSetConfig("offLine","True"); -->atomsInstall("D:\my_directory\scinlopt-1.1-1-src.tar.gz") !--error 4 Undefined variable: extract_cmd at line 76 of function atomsExtract called by : at line 153 of function atomsInstall called by : atomsInstall("D:\my_directory\scinlopt-1.1-1-src.tar.gz"); ########################################################### How to proceed ? Thanks Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From clement.david at scilab-enterprises.com Thu Apr 11 15:12:34 2013 From: clement.david at scilab-enterprises.com (=?ISO-8859-1?Q?Cl=E9ment?= David) Date: Thu, 11 Apr 2013 15:12:34 +0200 Subject: [Scilab-users] CVODE In-Reply-To: <5166A6AF.7070000@uct.ac.za> References: <5166A6AF.7070000@uct.ac.za> Message-ID: <1365685954.3622.21.camel@paros> Hello Klaus, Some work on the ODE Solvers topic is already available on the nightly builds (ddaskr added). Some of the listed solvers are also provided within Scilab, "help ode" for more information on the algorithms. However at this time, we need more "real user" inputs to easily compare the solvers (including the internal algorithms performance). Do not hesitate to provide such inputs to improve Scilab and especially the documentation on this topic. -- Cl?ment Le jeudi 11 avril 2013 ? 14:03 +0200, klaus moller a ?crit : > It would be nice to have access to the ODE codes in XCOS from within > SCILAB in future versions > > > Xcos now includes new solvers for simulation: > > * LSodar: Automatically switches methods to efficiently solve > both stiff and nonstiff problems. It includes a rootfinding > feature. > * Dormand-Prince 4(5) and Runge-Kutta 4(5): Fixed-size step > solvers added to the CVode package, they also benefit from the > rootfinding feature. > * Implicit Runge-Kutta 4(5): Fixed-size step solver added to the > CVode package to benefit from the CVode rootfinding feature. > > > regards > klaus > > > > > > > > -- > Klaus M?ller > Process Modelling and Optimisation Group & Center for Catalysis Research > Department of Chemical Engineering > University of Cape Town > Private bag, Rondebosch, 7700 > South Africa > TEL : 27 21 650 2520 > FAX : 27 21 650 5501 > EMAIL : klaus.moller at uct.ac.za > alternate : klaus.p.moller at gmail.com > > ______________________________________________________________________ > UNIVERSITY OF CAPE TOWN > > This e-mail is subject to the UCT ICT policies and e-mail disclaimer > published on our website at > http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable > from +27 21 650 9111. This e-mail is intended only for the person(s) > to whom it is addressed. If the e-mail has reached you in error, > please notify the author. If you are not the intended recipient of the > e-mail you may not use, disclose, copy, redirect or print the content. > If this e-mail is not related to the business of UCT it is sent by the > sender in the sender's individual capacity. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From Christophe.Dang at sidel.com Thu Apr 11 15:57:36 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 11 Apr 2013 15:57:36 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F1070D78FE@301EX00100.sidel.com> Hello, De la part de Carrico, Paul Envoy? : jeudi 11 avril 2013 11:16 > I know it's not possible to encrypt a Scilab .sci file so far ; > I want to deny reading but I want to allow execution ... I guess this is the kind of things you should ask your system administrator. I think I've read such things on Unix systems (incl. MacOS X, Linux and BSD). I think it hsould work on Windows but ?.. You can set execute rights and not read nor write: --X. And AFAIK, you can create a user account for Scilab, and give it RWX rights on the script file, whereas the logged user does not have any rights on it. However, I guess you should only give the rights to a non-console Scilab, otherwise there would be escape solutions, such as loading the script with the Scilab console/editor to display it. Then : I don't know if there is a non-console Scilab, and if there is, if it does not switch to console mode when an error occurs or when you press CTRL+C. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From vogt at centre-cired.fr Thu Apr 11 16:23:53 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Thu, 11 Apr 2013 16:23:53 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> Message-ID: <5166C779.6040903@centre-cired.fr> On 11/04/2013 11:15, Carrico, Paul wrote: > Dear All, > I know it's not possible to encrypt a Scilab .sci file so far ; I want > to deny reading but I want to allow execution ... > Does somebody has a trick ? > (creating a binary file, include it in a C file, etc. ...I've don't know) > Paul Dear Paul, No trick will be never possible. The user can always use fun2string to display the source code of any function that Scilab can execute after reading it from a .sci file. You cannot prevent Scilab for doing so. Scilab can be executed in a mode where it displays each line of code before executing it. The user can also modify Scilab source code to get Scilab display whatever Scilab is allow to read. If Scilab can execute it, Scilab can display it. This is completely unavoidable. -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Thu Apr 11 16:45:03 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Thu, 11 Apr 2013 16:45:03 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <5166C779.6040903@centre-cired.fr> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> <5166C779.6040903@centre-cired.fr> Message-ID: <5166CC6F.2060601@laas.fr> On 11/04/2013 16:23, Adrien Vogt-Schilb wrote: > On 11/04/2013 11:15, Carrico, Paul wrote: >> Dear All, >> I know it's not possible to encrypt a Scilab .sci file so far ; I >> want to deny reading but I want to allow execution ... >> Does somebody has a trick ? >> (creating a binary file, include it in a C file, etc. ...I've don't know) >> Paul > Dear Paul, > > No trick will be never possible. The user can always use fun2string to > display the source code of any function that Scilab can execute after > reading it from a .sci file. You cannot prevent Scilab for doing so. > Scilab can be executed in a mode where it displays each line of code > before executing it. > The user can also modify Scilab source code to get Scilab display > whatever Scilab is allow to read. If Scilab can execute it, Scilab can > display it. This is completely unavoidable. > Well, it's not completely true: what you say applies to macros, not to C (or Fortran) native functions (that is, compiled and linked). You can translate all your code to C and write the proper wrapper to use it like a native scilab function and compile it and then remove the sources. I think this should work but I don't know if it worths the effort. Antoine (and if you distribute it, are you still in agreement with scilab open licence your binary blob with no source?) > -- > Adrien Vogt-Schilb (Cired) > +33 (0) 1 43 94 73 83 > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Thu Apr 11 16:53:03 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 11 Apr 2013 16:53:03 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <5166CC6F.2060601@laas.fr> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> <5166C779.6040903@centre-cired.fr> <5166CC6F.2060601@laas.fr> Message-ID: <5166CE4F.9080908@scilab-enterprises.com> On 11/04/2013 16:45, Antoine Monmayrant wrote: > On 11/04/2013 16:23, Adrien Vogt-Schilb wrote: >> On 11/04/2013 11:15, Carrico, Paul wrote: >>> Dear All, >>> > (and if you distribute it, are you still in agreement with scilab open > licence your binary blob with no source?) The CeCILL license (the license under which Scilab is published) does not prevent you to do anything like this. You are free to do whatever you want with your code running on Scilab (as long as you are not distributing Scilab with it). Sylvestre From paul.carrico at esterline.com Thu Apr 11 16:52:35 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Thu, 11 Apr 2013 16:52:35 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <5166CC6F.2060601@laas.fr> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad><5166C779.6040903@centre-cired.fr> <5166CC6F.2060601@laas.fr> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> To answer to some posts (thanks for them), the goal is quite basic : - I've a single external scilab function (.sci) that is called in scilab routine - this file has been placed in a specific directory, but under windows, I cannot allow execution and deny reading I do not really want to encrypt the file, just to deny the reading and to transform it into "black" box ... it's not a commercial issue ... I just want to protect my work from some years Paul ________________________________ De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Antoine Monmayrant Envoy? : jeudi 11 avril 2013 16:45 ? : International users mailing list for Scilab. Objet : Re: [Scilab-users] non access to sci files On 11/04/2013 16:23, Adrien Vogt-Schilb wrote: On 11/04/2013 11:15, Carrico, Paul wrote: Dear All, I know it's not possible to encrypt a Scilab .sci file so far ; I want to deny reading but I want to allow execution ... Does somebody has a trick ? (creating a binary file, include it in a C file, etc. ...I've don't know) Paul Dear Paul, No trick will be never possible. The user can always use fun2string to display the source code of any function that Scilab can execute after reading it from a .sci file. You cannot prevent Scilab for doing so. Scilab can be executed in a mode where it displays each line of code before executing it. The user can also modify Scilab source code to get Scilab display whatever Scilab is allow to read. If Scilab can execute it, Scilab can display it. This is completely unavoidable. Well, it's not completely true: what you say applies to macros, not to C (or Fortran) native functions (that is, compiled and linked). You can translate all your code to C and write the proper wrapper to use it like a native scilab function and compile it and then remove the sources. I think this should work but I don't know if it worths the effort. Antoine (and if you distribute it, are you still in agreement with scilab open licence your binary blob with no source?) -- Adrien Vogt-Schilb (Cired) +33 (0) 1 43 94 73 83 _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Thu Apr 11 17:31:43 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 11 Apr 2013 17:31:43 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad><5166C779.6040903@centre-cired.fr> <5166CC6F.2060601@laas.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com> > it's not a commercial issue ... > I just want to protect my work from some years Well, depends on what you call "protect". Publishing it is a way to protect your "paternity". You can also write it with Matlab (and the appropriate licence), compile it (with the appropriate Compiler licence) and distribute the binary exe file along with the Matlab Runtime Compiler (for free). http://www.mathworks.com/products/compiler/index.html A bit more expensive. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From paul.carrico at free.fr Thu Apr 11 18:36:24 2013 From: paul.carrico at free.fr (Paul Carrico) Date: Thu, 11 Apr 2013 18:36:24 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad><5166C779.6040903@centre-cired.fr> <5166CC6F.2060601@laas.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> <3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com> Message-ID: <000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr> > Well, depends on what you call "protect". I mean no access to some data and information's .... -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Dang, Christophe Envoy??: jeudi 11 avril 2013 17:32 ??: International users mailing list for Scilab. Objet?: Re: [Scilab-users] non access to sci files > it's not a commercial issue ... > I just want to protect my work from some years Well, depends on what you call "protect". Publishing it is a way to protect your "paternity". You can also write it with Matlab (and the appropriate licence), compile it (with the appropriate Compiler licence) and distribute the binary exe file along with the Matlab Runtime Compiler (for free). http://www.mathworks.com/products/compiler/index.html A bit more expensive. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From amonmayr at laas.fr Thu Apr 11 22:09:29 2013 From: amonmayr at laas.fr (Antoine Monmayrant) Date: Thu, 11 Apr 2013 22:09:29 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr> Message-ID: <2314-51671880-1f-3d1dc240@6988783> Le Jeudi 11 Avril 2013 18.36 CEST, "Paul Carrico" a ?crit: > > Well, depends on what you call "protect". > > I mean no access to some data and information's .... OK, in that case you have two options: - easy but far from perfect: you go for code obfuscation so that it will be extremely difficult for someone to understand what your code is doing. It's not difficult and easy. - more difficult but also more efficient: scilab->C+compilation. Ugly, difficult but efficient. Antoine > > > > > > -----Message d'origine----- > De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] > De la part de Dang, Christophe > Envoy??: jeudi 11 avril 2013 17:32 > ??: International users mailing list for Scilab. > Objet?: Re: [Scilab-users] non access to sci files > > > it's not a commercial issue ... > > I just want to protect my work from some years > > Well, depends on what you call "protect". > > Publishing it is a way to protect your "paternity". > > You can also write it with Matlab (and the appropriate licence), compile it > (with the appropriate Compiler licence) and distribute the binary exe file > along with the Matlab Runtime Compiler (for free). > > http://www.mathworks.com/products/compiler/index.html > > A bit more expensive. > > -- > Christophe Dang Ngoc Chan > Mechanical calculation engineer > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error), > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From paul.carrico at esterline.com Fri Apr 12 09:14:51 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 12 Apr 2013 09:14:51 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <2314-51671880-1f-3d1dc240@6988783> References: <000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr> <2314-51671880-1f-3d1dc240@6988783> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E2@exchsrv.auxitrol.ad> Hi Antoine, > more difficult but also more efficient: scilab->C+compilation. Ugly, difficult but efficient If you have a look to my first post, that's what I've been thinking, but I've no idea on how to proceed i.e. how to compile a scilab file under C (or another) environment .... Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Antoine Monmayrant Envoy? : jeudi 11 avril 2013 22:09 ? : International users mailing list for Scilab. Objet : Re: [Scilab-users] non access to sci files Le Jeudi 11 Avril 2013 18.36 CEST, "Paul Carrico" a ?crit: > > Well, depends on what you call "protect". > > I mean no access to some data and information's .... OK, in that case you have two options: - easy but far from perfect: you go for code obfuscation so that it will be extremely difficult for someone to understand what your code is doing. It's not difficult and easy. - more difficult but also more efficient: scilab->C+compilation. Ugly, difficult but efficient. Antoine > > > > > > -----Message d'origine----- > De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] > De la part de Dang, Christophe > Envoy??: jeudi 11 avril 2013 17:32 > ??: International users mailing list for Scilab. > Objet?: Re: [Scilab-users] non access to sci files > > > it's not a commercial issue ... > > I just want to protect my work from some years > > Well, depends on what you call "protect". > > Publishing it is a way to protect your "paternity". > > You can also write it with Matlab (and the appropriate licence), compile it > (with the appropriate Compiler licence) and distribute the binary exe file > along with the Matlab Runtime Compiler (for free). > > http://www.mathworks.com/products/compiler/index.html > > A bit more expensive. > > -- > Christophe Dang Ngoc Chan > Mechanical calculation engineer > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error), > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From david.cheze at cea.fr Fri Apr 12 09:34:25 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Fri, 12 Apr 2013 00:34:25 -0700 (PDT) Subject: [Scilab-users] non access to sci files In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E2@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad> <5166C779.6040903@centre-cired.fr> <5166CC6F.2060601@laas.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> <3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com> <000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr> <2314-51671880-1f-3d1dc240@6988783> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E2@exchsrv.auxitrol.ad> Message-ID: <1365752065654-4026525.post@n3.nabble.com> Hi Paul, did you already have a look at: http://atoms.scilab.org/toolboxes/scilab2c I've never used this module and i assume there are some limitations but it's worth giving a try... David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp4026508p4026525.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From paul.carrico at esterline.com Fri Apr 12 10:52:33 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 12 Apr 2013 10:52:33 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <1365752065654-4026525.post@n3.nabble.com> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779CE@exchsrv.auxitrol.ad><5166C779.6040903@centre-cired.fr> <5166CC6F.2060601@laas.fr><55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad><3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com><000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr><2314-51671880-1f-3d1dc240@6988783><55A12CBC06A8C9459DCE0BBEF8122FDC08B779E2@exchsrv.auxitrol.ad> <1365752065654-4026525.post@n3.nabble.com> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> Hi It's look promissing ... I installed it but i'm spending a lot of time in finding some docs / help file and so on ... Where are they ? Cheers Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de David Ch?ze Envoy? : vendredi 12 avril 2013 09:34 ? : users at lists.scilab.org Objet : Re: [Scilab-users] non access to sci files Hi Paul, did you already have a look at: http://atoms.scilab.org/toolboxes/scilab2c I've never used this module and i assume there are some limitations but it's worth giving a try... David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp4026508p4026525.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From Mike at Page-One.Waitrose.com Fri Apr 12 11:16:01 2013 From: Mike at Page-One.Waitrose.com (Mike Page) Date: Fri, 12 Apr 2013 10:16:01 +0100 Subject: [Scilab-users] non access to sci files In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> Message-ID: Hi, I tried Sci2C once (a while ago now), but I found it had too many limitations. For me the lack of support for hypermatrices was enough to make it not usable. There is (I think) an example of Sci2C that shows how it works, but I don't remember where - sorry. One other way to solve your problem is to use SendScilabJob. This enables you to send Scilab commands from C code to the Scilab engine. I use this quite a lot. Then your Scilab code would only exist as a set of string constants inside C and could be compiled and hidden. I posted an example of using SendScilabJob a while back - you can search the user group for "sendscilabjob" and you will find all the threads. HTH, Mike. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]On Behalf Of Carrico, Paul Sent: 12 April 2013 09:53 To: International users mailing list for Scilab. Subject: Re: [Scilab-users] non access to sci files Hi It's look promissing ... I installed it but i'm spending a lot of time in finding some docs / help file and so on ... Where are they ? Cheers Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de David Ch?ze Envoy? : vendredi 12 avril 2013 09:34 ? : users at lists.scilab.org Objet : Re: [Scilab-users] non access to sci files Hi Paul, did you already have a look at: http://atoms.scilab.org/toolboxes/scilab2c I've never used this module and i assume there are some limitations but it's worth giving a try... David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp402650 8p4026525.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ---------------------------------------------------------------------------- ---- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3272 / Virus Database: 3162/6239 - Release Date: 04/11/13 From urban.simoncic at gmail.com Fri Apr 12 13:33:25 2013 From: urban.simoncic at gmail.com (Urban Simoncic) Date: Fri, 12 Apr 2013 13:33:25 +0200 Subject: [Scilab-users] Licensing question Message-ID: <5167F105.7070507@gmail.com> Dear Scilab Community, I have a question about Scilab licensing. I would like to develop an application based on Scilab (modified Scilab, GUI as a Scilab function and application functionality as a Scilab library and/or external module in C) and distribute everything (modified Scilab and my code) together as an application. What of that (modified Scilab, GUI as a Scilab function, my Scilab library and my external module in C) I have to distribute with sources? I am sure that I would have to open sources for modified Scilab and I don't care for that. I don't know for GUI and Scilab libraries (if necessary, I could open them). But I would expect that at least external modules can be distributed in binary form only (section 5.3.3. in license). However, I am not sure if they can be distributed together with the rest of the application that is under CeCILL, or I would have to distribute separately my external modules under my license and modified Scilab under CeCILL and expect that user will stack all that together? Is it possible to get "official explantion" for such case, so that I can claim it, if I am sued later for violating the license? Best Regards, Urban From denis.crete at thalesgroup.com Fri Apr 12 14:29:21 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Fri, 12 Apr 2013 14:29:21 +0200 Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> Message-ID: <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> Hello, I am trying to transfer graphical images (produced using "plot2d", with Scilab 5.4.1 under Windows XP) to LibreOffice. When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to ScratchPad" and the Ctrl+C shortcut. Additionally, - Exporting the file to a vectorial format such as EPS allows to obtain the result in Word 2007, but not in LibreOffice. - Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer does not display text (font compatibility?). - Trying to export an EMF format, I get an error message requesting to install Ghostscript first. So I did, although I tried to visit the URL indicated in the error message: the page www.ghostscript.com/awki does not exist !-( On www.ghostscript.com the Welcome page begins with "Welcome to Ghostscript, an interpreter for the PostScript language and for PDF." = I still don't see the relation with EMF generation... but even installation of GS, the error message of Scilab is always asking for installation of GS... - EPS is recognized by Word 2007; but my first attempt with LibreOffice failed. I hope my report is correct. Thank you in advance for any help, Denis -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Mike Page Envoy??: vendredi 12 avril 2013 11:16 ??: International users mailing list for Scilab. Objet?: Re: [Scilab-users] non access to sci files Hi, I tried Sci2C once (a while ago now), but I found it had too many limitations. For me the lack of support for hypermatrices was enough to make it not usable. There is (I think) an example of Sci2C that shows how it works, but I don't remember where - sorry. One other way to solve your problem is to use SendScilabJob. This enables you to send Scilab commands from C code to the Scilab engine. I use this quite a lot. Then your Scilab code would only exist as a set of string constants inside C and could be compiled and hidden. I posted an example of using SendScilabJob a while back - you can search the user group for "sendscilabjob" and you will find all the threads. HTH, Mike. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]On Behalf Of Carrico, Paul Sent: 12 April 2013 09:53 To: International users mailing list for Scilab. Subject: Re: [Scilab-users] non access to sci files Hi It's look promissing ... I installed it but i'm spending a lot of time in finding some docs / help file and so on ... Where are they ? Cheers Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de David Ch?ze Envoy? : vendredi 12 avril 2013 09:34 ? : users at lists.scilab.org Objet : Re: [Scilab-users] non access to sci files Hi Paul, did you already have a look at: http://atoms.scilab.org/toolboxes/scilab2c I've never used this module and i assume there are some limitations but it's worth giving a try... David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp402650 8p4026525.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ---------------------------------------------------------------------------- ---- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3272 / Virus Database: 3162/6239 - Release Date: 04/11/13 _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From paul.carrico at esterline.com Fri Apr 12 14:23:55 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Fri, 12 Apr 2013 14:23:55 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E7@exchsrv.auxitrol.ad> Unfortunately after some trials, it definitively too complicated for me; I will have to open the sources to my internship student ... :-((( Thanks all for the help/advices. Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Mike Page Envoy? : vendredi 12 avril 2013 11:16 ? : International users mailing list for Scilab. Objet : Re: [Scilab-users] non access to sci files Hi, I tried Sci2C once (a while ago now), but I found it had too many limitations. For me the lack of support for hypermatrices was enough to make it not usable. There is (I think) an example of Sci2C that shows how it works, but I don't remember where - sorry. One other way to solve your problem is to use SendScilabJob. This enables you to send Scilab commands from C code to the Scilab engine. I use this quite a lot. Then your Scilab code would only exist as a set of string constants inside C and could be compiled and hidden. I posted an example of using SendScilabJob a while back - you can search the user group for "sendscilabjob" and you will find all the threads. HTH, Mike. -----Original Message----- From: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org]On Behalf Of Carrico, Paul Sent: 12 April 2013 09:53 To: International users mailing list for Scilab. Subject: Re: [Scilab-users] non access to sci files Hi It's look promissing ... I installed it but i'm spending a lot of time in finding some docs / help file and so on ... Where are they ? Cheers Paul -----Message d'origine----- De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de David Ch?ze Envoy? : vendredi 12 avril 2013 09:34 ? : users at lists.scilab.org Objet : Re: [Scilab-users] non access to sci files Hi Paul, did you already have a look at: http://atoms.scilab.org/toolboxes/scilab2c I've never used this module and i assume there are some limitations but it's worth giving a try... David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp402650 8p4026525.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ---------------------------------------------------------------------------- ---- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.3272 / Virus Database: 3162/6239 - Release Date: 04/11/13 _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. From vogt at centre-cired.fr Fri Apr 12 14:52:56 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 12 Apr 2013 14:52:56 +0200 Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> References: <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> Message-ID: <516803A8.1060400@centre-cired.fr> Hi The "copy to clipboard" function is now known to be broken in sci 5.4: http://bugzilla.scilab.org/show_bug.cgi?id=11648 For the other problem, do you know if the path to ghosscript is included in your environment variable PATH ? if you have no idea what this means, try the following two lines in Scilab: unix_g("path") strindex(unix_g("path"),"gs") and report here the answer regards -------- Original Message -------- Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 Date: Fri, 12 Apr 2013 14:29:21 +0200 From: CRETE Denis Reply-To: International users mailing list for Scilab. To: International users mailing list for Scilab. Hello, I am trying to transfer graphical images (produced using "plot2d", with Scilab 5.4.1 under Windows XP) to LibreOffice. When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to ScratchPad" and the Ctrl+C shortcut. Additionally, - Exporting the file to a vectorial format such as EPS allows to obtain the result in Word 2007, but not in LibreOffice. - Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer does not display text (font compatibility?). - Trying to export an EMF format, I get an error message requesting to install Ghostscript first. So I did, although I tried to visit the URL indicated in the error message: the page www.ghostscript.com/awki does not exist !-( On www.ghostscript.com the Welcome page begins with "Welcome to Ghostscript, an interpreter for the PostScript language and for PDF." = I still don't see the relation with EMF generation... but even installation of GS, the error message of Scilab is always asking for installation of GS... - EPS is recognized by Word 2007; but my first attempt with LibreOffice failed. I hope my report is correct. Thank you in advance for any help, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.cheze at cea.fr Fri Apr 12 14:54:13 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Fri, 12 Apr 2013 05:54:13 -0700 (PDT) Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> References: <5166CC6F.2060601@laas.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> <3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com> <000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr> <2314-51671880-1f-3d1dc240@6988783> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E2@exchsrv.auxitrol.ad> <1365752065654-4026525.post@n3.nabble.com> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> Message-ID: <1365771253391-4026532.post@n3.nabble.com> Hi Denis, personnaly (WIN7-32bits scilab5.4.1final) I ever use png export feature for graphic, I can set the resolution and then i don't really need any scalable property when writing report (I rather use the insert picture from file than copy/paste) or similar document. I tested also pdf export and svg export which performs quite well too : import in inkscape for modification eventually but in the end I put a picture only in report. David -- View this message in context: http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp4026508p4026532.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From urban.simoncic at gmail.com Fri Apr 12 15:26:54 2013 From: urban.simoncic at gmail.com (Urban Simoncic) Date: Fri, 12 Apr 2013 15:26:54 +0200 Subject: [Scilab-users] non access to sci files In-Reply-To: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E7@exchsrv.auxitrol.ad> References: <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E7@exchsrv.auxitrol.ad> Message-ID: <51680B9E.9030801@gmail.com> Isn't the easiest way to hide the code of the function by generating the binary library using the genlib command? Urban On 12.4.2013 14:23, Carrico, Paul wrote: > Unfortunately after some trials, it definitively too complicated for me; I will have to open the sources to my internship student ... :-((( > > Thanks all for the help/advices. > > Paul > > -----Message d'origine----- > De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Mike Page > Envoy? : vendredi 12 avril 2013 11:16 > ? : International users mailing list for Scilab. > Objet : Re: [Scilab-users] non access to sci files > > Hi, > > I tried Sci2C once (a while ago now), but I found it had too many > limitations. For me the lack of support for hypermatrices was enough to > make it not usable. There is (I think) an example of Sci2C that shows how > it works, but I don't remember where - sorry. > > One other way to solve your problem is to use SendScilabJob. This enables > you to send Scilab commands from C code to the Scilab engine. I use this > quite a lot. Then your Scilab code would only exist as a set of string > constants inside C and could be compiled and hidden. > > I posted an example of using SendScilabJob a while back - you can search the > user group for "sendscilabjob" and you will find all the threads. > > HTH, > Mike. > > > -----Original Message----- > From: users-bounces at lists.scilab.org > [mailto:users-bounces at lists.scilab.org]On Behalf Of Carrico, Paul > Sent: 12 April 2013 09:53 > To: International users mailing list for Scilab. > Subject: Re: [Scilab-users] non access to sci files > > > Hi > > It's look promissing ... I installed it but i'm spending a lot of time in > finding some docs / help file and so on ... > > Where are they ? > > Cheers > > Paul > > -----Message d'origine----- > De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] > De la part de David Ch?ze > Envoy? : vendredi 12 avril 2013 09:34 > ? : users at lists.scilab.org > Objet : Re: [Scilab-users] non access to sci files > > Hi Paul, > > did you already have a look at: > http://atoms.scilab.org/toolboxes/scilab2c > > I've never used this module and i assume there are some limitations but it's > worth giving a try... > > David > > > > > -- > View this message in context: > http://mailinglists.scilab.org/Scilab-users-non-access-to-sci-files-tp402650 > 8p4026525.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ---------------------------------------------------------------------------- > ---- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la > personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail > par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le > message de votre syst?me. Toute divulgation, copie ou distribution de cet > e-mail est strictement interdite. > > This email and any files transmitted with it are confidential and intended > solely for the use of the individual or entity to whom they are addressed. > If you have received this email in error, please contact the sender and > delete the email from your system. If you are not the named addressee you > should not disseminate, distribute or copy this email. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2013.0.3272 / Virus Database: 3162/6239 - Release Date: 04/11/13 > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------------------------------------------------------------------------- > > > Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. > > This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From denis.crete at thalesgroup.com Fri Apr 12 16:44:38 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Fri, 12 Apr 2013 16:44:38 +0200 Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: <516803A8.1060400@centre-cired.fr> References: <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> <516803A8.1060400@centre-cired.fr> Message-ID: <25686_1365777880_51681DD8_25686_2780_1_8F1D40232A0E68409E3FC23A30C3266201678D8824E6@THSONEA01CMS04P.one.grp> Thank you for your help ! However, I included in AUTOEXEC.BAT the DOS command SET PATH=%PATH%; Then I restarted my computer, and checked with the DOS command ECHO %PATH% and the additional path is appended. But the error message for EMF export is the same: it asks again to install Ghostscript. Best regards Denis De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Adrien Vogt-Schilb Envoy? : vendredi 12 avril 2013 14:53 ? : International users mailing list for Scilab. Objet : [Scilab-users] Export vector graphics produced by Scilab 5.4.1 Hi The "copy to clipboard" function is now known to be broken in sci 5.4: http://bugzilla.scilab.org/show_bug.cgi?id=11648 For the other problem, do you know if the path to ghosscript is included in your environment variable PATH ? if you have no idea what this means, try the following two lines in Scilab: unix_g("path") strindex(unix_g("path"),"gs") and report here the answer regards -------- Original Message -------- Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 Date: Fri, 12 Apr 2013 14:29:21 +0200 From: CRETE Denis Reply-To: International users mailing list for Scilab. To: International users mailing list for Scilab. Hello, I am trying to transfer graphical images (produced using "plot2d", with Scilab 5.4.1 under Windows XP) to LibreOffice. When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to ScratchPad" and the Ctrl+C shortcut. Additionally, - Exporting the file to a vectorial format such as EPS allows to obtain the result in Word 2007, but not in LibreOffice. - Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer does not display text (font compatibility?). - Trying to export an EMF format, I get an error message requesting to install Ghostscript first. So I did, although I tried to visit the URL indicated in the error message: the page www.ghostscript.com/awki does not exist !-( On www.ghostscript.com the Welcome page begins with "Welcome to Ghostscript, an interpreter for the PostScript language and for PDF." = I still don't see the relation with EMF generation... but even installation of GS, the error message of Scilab is always asking for installation of GS... - EPS is recognized by Word 2007; but my first attempt with LibreOffice failed. I hope my report is correct. Thank you in advance for any help, Denis -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Fri Apr 12 17:40:50 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Fri, 12 Apr 2013 17:40:50 +0200 Subject: [Scilab-users] Licensing question In-Reply-To: <5167F105.7070507@gmail.com> References: <5167F105.7070507@gmail.com> Message-ID: <51682B02.6060406@scilab-enterprises.com> Le 12/04/2013 13:33, Urban Simoncic a ?crit : > Dear Scilab Community, > > I have a question about Scilab licensing. I would like to develop an > application based on Scilab (modified Scilab, GUI as a Scilab function > and application functionality as a Scilab library and/or external > module in C) and distribute everything (modified Scilab and my code) > together as an application. What of that (modified Scilab, GUI as a > Scilab function, my Scilab library and my external module in C) I have > to distribute with sources? I am sure that I would have to open > sources for modified Scilab and I don't care for that. I don't know > for GUI and Scilab libraries (if necessary, I could open them). But I > would expect that at least external modules can be distributed in > binary form only (section 5.3.3. in license). However, I am not sure > if they can be distributed together with the rest of the application > that is under CeCILL, or I would have to distribute separately my > external modules under my license and modified Scilab under CeCILL and > expect that user will stack all that together? > > Is it possible to get "official explantion" for such case, so that I > can claim it, if I am sued later for violating the license? I am not a lawyer. So, do not consider that as official. If you ship Scilab (modified or not) with your code, yes, everything would have to be published under the CeCILL or GPL license. However, if you provide an extension and say "you need to have Scilab to run it", you can use the license you want. If you need to provide a customized version of Scilab because the current version of Scilab does not provide the tool that you need, you can get it touch with us (the Scilab developers) to see your changes integrated and distributed into Scilab. Of course, this has to be discussed; we try to keep Scilab distribution as generic as possible but we welcome new contributions. Hope this is clear! Sylvestre From vogt at centre-cired.fr Fri Apr 12 18:29:50 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 12 Apr 2013 18:29:50 +0200 Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: <25686_1365777880_51681DD8_25686_2780_1_8F1D40232A0E68409E3FC23A30C3266201678D8824E6@THSONEA01CMS04P.one.grp> References: <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> <516803A8.1060400@centre-cired.fr> <25686_1365777880_51681DD8_25686_2780_1_8F1D40232A0E68409E3FC23A30C3266201678D8824E6@THSONEA01CMS04P.one.grp> Message-ID: <5168367E.9000402@centre-cired.fr> Hi sorry it didn't work (i have to admit i was not certain that would work) According to http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 you also need to install pstoedit I would install pstoedit, also add it to the PATH. If from there it still does not work, I would follow the advice provided by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 and copy paste the appropriate dlls from gs and pstoedit in the scilab folder If you may, report here whether adding gs and pstoedit bin directory to the PATH was sufficient, or if you had to copy/paste the binaries as suggested by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 On 12/04/2013 16:44, CRETE Denis wrote: > > Thank you for your help ! > > However, I included in AUTOEXEC.BAT the DOS command SET PATH=%PATH%; > > > Then I restarted my computer, and checked with the DOS command ECHO > %PATH% and the additional path is appended. > > But the error message for EMF export is the same: it asks again to > install Ghostscript. > > Best regards > > Denis > > *De :*users-bounces at lists.scilab.org > [mailto:users-bounces at lists.scilab.org] *De la part de* Adrien Vogt-Schilb > *Envoy? :* vendredi 12 avril 2013 14:53 > *? :* International users mailing list for Scilab. > *Objet :* [Scilab-users] Export vector graphics produced by Scilab 5.4.1 > > Hi > > The "copy to clipboard" function is now known to be broken in sci 5.4: > http://bugzilla.scilab.org/show_bug.cgi?id=11648 > > For the other problem, do you know if the path to ghosscript is > included in your environment variable PATH ? > if you have no idea what this means, try the following two lines in > Scilab: > > unix_g("path") > strindex(unix_g("path"),"gs") > > and report here the answer > > regards > > > > -------- Original Message -------- > > *Subject: * > > > > [Scilab-users] Export vector graphics produced by Scilab 5.4.1 > > *Date: * > > > > Fri, 12 Apr 2013 14:29:21 +0200 > > *From: * > > > > CRETE Denis > > > *Reply-To: * > > > > International users mailing list for Scilab. > > > *To: * > > > > International users mailing list for Scilab. > > > Hello, > I am trying to transfer graphical images (produced using "plot2d", with Scilab 5.4.1 under Windows XP) to LibreOffice. > When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to ScratchPad" and the Ctrl+C shortcut. > Additionally, > - Exporting the file to a vectorial format such as EPS allows to obtain the result in Word 2007, but not in LibreOffice. > - Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer does not display text (font compatibility?). > - Trying to export an EMF format, I get an error message requesting to install Ghostscript first. So I did, although I tried to visit the URL indicated in the error message: the pagewww.ghostscript.com/awki does not exist !-( Onwww.ghostscript.com the Welcome page begins with "Welcome to Ghostscript, an interpreter for the PostScript language and for PDF." = I still don't see the relation with EMF generation... but even installation of GS, the error message of Scilab is always asking for installation of GS... > - EPS is recognized by Word 2007; but my first attempt with LibreOffice failed. > I hope my report is correct. > Thank you in advance for any help, > Denis > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From vogt at centre-cired.fr Fri Apr 12 18:30:07 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Fri, 12 Apr 2013 18:30:07 +0200 Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: <25686_1365777880_51681DD8_25686_2780_1_8F1D40232A0E68409E3FC23A30C3266201678D8824E6@THSONEA01CMS04P.one.grp> References: <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> <516803A8.1060400@centre-cired.fr> <25686_1365777880_51681DD8_25686_2780_1_8F1D40232A0E68409E3FC23A30C3266201678D8824E6@THSONEA01CMS04P.one.grp> Message-ID: <5168368F.4010505@centre-cired.fr> Hi sorry it didn't work (i have to admit i was not certain that would work) According to http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 you also need to install pstoedit I would install pstoedit, also add it to the PATH. If from there it still does not work, I would follow the advice provided by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 and copy paste the appropriate dlls from gs and pstoedit in the scilab folder If you may, report here whether adding gs and pstoedit bin directory to the PATH was sufficient, or if you had to copy/paste the binaries as suggested by http://bugzilla.scilab.org/show_bug.cgi?id=11853#c3 Best regards Adrien On 12/04/2013 16:44, CRETE Denis wrote: > > Thank you for your help ! > > However, I included in AUTOEXEC.BAT the DOS command SET PATH=%PATH%; > > > Then I restarted my computer, and checked with the DOS command ECHO > %PATH% and the additional path is appended. > > But the error message for EMF export is the same: it asks again to > install Ghostscript. > > Best regards > > Denis > > *De :*users-bounces at lists.scilab.org > [mailto:users-bounces at lists.scilab.org] *De la part de* Adrien Vogt-Schilb > *Envoy? :* vendredi 12 avril 2013 14:53 > *? :* International users mailing list for Scilab. > *Objet :* [Scilab-users] Export vector graphics produced by Scilab 5.4.1 > > Hi > > The "copy to clipboard" function is now known to be broken in sci 5.4: > http://bugzilla.scilab.org/show_bug.cgi?id=11648 > > For the other problem, do you know if the path to ghosscript is > included in your environment variable PATH ? > if you have no idea what this means, try the following two lines in > Scilab: > > unix_g("path") > strindex(unix_g("path"),"gs") > > and report here the answer > > regards > > > > -------- Original Message -------- > > *Subject: * > > > > [Scilab-users] Export vector graphics produced by Scilab 5.4.1 > > *Date: * > > > > Fri, 12 Apr 2013 14:29:21 +0200 > > *From: * > > > > CRETE Denis > > > *Reply-To: * > > > > International users mailing list for Scilab. > > > *To: * > > > > International users mailing list for Scilab. > > > Hello, > I am trying to transfer graphical images (produced using "plot2d", with Scilab 5.4.1 under Windows XP) to LibreOffice. > When I use the "scratchpad", nothing appears in LO Writer, neither in LO Impress, neither "as well" in Word 2007: there seem to be a problem both for the Scilab command "Copy to ScratchPad" and the Ctrl+C shortcut. > Additionally, > - Exporting the file to a vectorial format such as EPS allows to obtain the result in Word 2007, but not in LibreOffice. > - Exporting an SVG file is almost correct for FireFox, but LibreOffice Writer does not display text (font compatibility?). > - Trying to export an EMF format, I get an error message requesting to install Ghostscript first. So I did, although I tried to visit the URL indicated in the error message: the pagewww.ghostscript.com/awki does not exist !-( Onwww.ghostscript.com the Welcome page begins with "Welcome to Ghostscript, an interpreter for the PostScript language and for PDF." = I still don't see the relation with EMF generation... but even installation of GS, the error message of Scilab is always asking for installation of GS... > - EPS is recognized by Word 2007; but my first attempt with LibreOffice failed. > I hope my report is correct. > Thank you in advance for any help, > Denis > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.dunn at ubm.com Sat Apr 13 02:49:36 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Fri, 12 Apr 2013 20:49:36 -0400 Subject: [Scilab-users] Newbie filter basics In-Reply-To: Message-ID: Hi. Are there any resources or tutorials or references out there that would be helpful to a newbie to SciLab filtering functions? I just want to filter some data ? at this point, I don't even care what kind of filter ? just want to learn how! At first, I thought I'd try an IIR, but I couldn't figure out how to generate the coefficients. //y = filter(num,den,x) Then, I stumbled onto ffilt, which seems to generate FIR coefs, but where's the actual FIR filter function? Is it "convol"? I tried this: plot(fft(convol(ffilt("hp",40,100),r))) It does something, but I'm not sure what. Am I getting close? Thanks, Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:8A04FFD0-9090-47E3-9BBB-E1B283AE344C] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[140].png Type: image/png Size: 12428 bytes Desc: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[140].png URL: From vogt at centre-cired.fr Sat Apr 13 13:12:31 2013 From: vogt at centre-cired.fr (Adrien Vogt-Schilb) Date: Sat, 13 Apr 2013 13:12:31 +0200 Subject: [Scilab-users] Newbie filter basics In-Reply-To: References: Message-ID: <51693D9F.1070902@centre-cired.fr> On 13/04/2013 02:49, Michael Dunn wrote: > Hi. Are there any resources or tutorials or references out there that > would be helpful to a newbie to SciLab filtering functions? I just > want to filter some data -- at this point, I don't even care what kind > of filter -- just want to learn how! > > At first, I thought I'd try an IIR, but I couldn't figure out how to > generate the coefficients. > //y = filter(num,den,x) > > Then, I stumbled onto ffilt, which seems to generate FIR coefs, but where's the actual FIR filter function? Is it "convol"? I tried this: > > plot(fft(convol(ffilt("hp",40,100),r))) > It does/something,/but I'm not sure what. Am I getting close? > Hi I am not used ot filters, but I know there is a how to here: http://help.scilab.org/docs/5.4.1/en_US/DesignEllipticFilter.html (this is available in french also) from there, i suggest you navigate throught the "see also sections" you can also have a look here: http://help.scilab.org/docs/5.4.1/en_US/section_dbbac6be408104de3049eddefaf6b9c9.html the content of this webpage is also available in your computer, type "help" in the console and navigate. I hope the "how to" (1st link) will help you -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.dunn at ubm.com Sat Apr 13 18:59:07 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sat, 13 Apr 2013 12:59:07 -0400 Subject: [Scilab-users] Newbie filter basics In-Reply-To: <51693D9F.1070902@centre-cired.fr> Message-ID: Thanks. The HowTo might help a bit. Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:FBC244D3-1696-40C9-A3D2-D532A0D2C0B4] From: Adrien Vogt-Schilb > Organization: Cired Reply-To: "International users mailing list for Scilab." > Date: Saturday, April 13, 2013 7:12 AM To: "International users mailing list for Scilab." > Subject: Re: [Scilab-users] Newbie filter basics On 13/04/2013 02:49, Michael Dunn wrote: Hi. Are there any resources or tutorials or references out there that would be helpful to a newbie to SciLab filtering functions? I just want to filter some data ? at this point, I don't even care what kind of filter ? just want to learn how! At first, I thought I'd try an IIR, but I couldn't figure out how to generate the coefficients. //y = filter(num,den,x) Then, I stumbled onto ffilt, which seems to generate FIR coefs, but where's the actual FIR filter function? Is it "convol"? I tried this: plot(fft(convol(ffilt("hp",40,100),r))) It does something, but I'm not sure what. Am I getting close? Hi I am not used ot filters, but I know there is a how to here: http://help.scilab.org/docs/5.4.1/en_US/DesignEllipticFilter.html (this is available in french also) from there, i suggest you navigate throught the "see also sections" you can also have a look here: http://help.scilab.org/docs/5.4.1/en_US/section_dbbac6be408104de3049eddefaf6b9c9.html the content of this webpage is also available in your computer, type "help" in the console and navigate. I hope the "how to" (1st link) will help you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[147].png Type: image/png Size: 12428 bytes Desc: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[147].png URL: From michael.dunn at ubm.com Sun Apr 14 01:45:27 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sat, 13 Apr 2013 19:45:27 -0400 Subject: [Scilab-users] OS X Nightly build In-Reply-To: <51693D9F.1070902@centre-cired.fr> Message-ID: I just DL'd the latest OS X nightly build, dated April 5: scilab-master-1365151558.app When I try to start it, the dock icon bounces once, then, nothing. I also tried running from the .dmg. Nothing. I was hoping it contained the fix for my CSV read problem? Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:F8D83BCE-3B6D-4BDF-9951-BB4D2BA883C7] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[153].png Type: image/png Size: 12428 bytes Desc: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[153].png URL: From sylvestre.ledru at scilab-enterprises.com Sun Apr 14 09:42:28 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Sun, 14 Apr 2013 09:42:28 +0200 Subject: [Scilab-users] OS X Nightly build In-Reply-To: References: Message-ID: <516A5DE4.7050201@scilab-enterprises.com> On 14/04/2013 01:45, Michael Dunn wrote: > I just DL'd the latest OS X nightly build, dated April 5: > > scilab-master-1365151558.app > > > When I try to start it, the dock icon bounces once, then, nothing. I > also tried running from the .dmg. Nothing. I was hoping it contained the > fix for my CSV read problem? Yes, we started a new development cycle (Scilab 5.5), we took the liberty to change some elements in the packaging of the application, causing the compilation chain to fail. It is why the nightly builds have not been published recently. They should be back soon (maybe next week). Sylvestre From porpoiseseeker at gmail.com Mon Apr 15 00:22:49 2013 From: porpoiseseeker at gmail.com (Gary Nelson) Date: Sun, 14 Apr 2013 15:22:49 -0700 Subject: [Scilab-users] Newbie filter basics In-Reply-To: <51693D9F.1070902@centre-cired.fr> References: <51693D9F.1070902@centre-cired.fr> Message-ID: Filtering and Fourier analysis are called DUALS. [If you want to actually "understand" the topic, you will want to learn about complex numbers and calculus, then fourier analysis, sampling and stuff like that. You can get a qualitative grip by playing with the open source audio eidtor called Audacity -- no better tool to learn with. Suggest you download it and try some filtering and signal creation there for starters] Multiplication on one domain is paired with convolution in the other. Filtering a signal can be viewed as multiplying its fourier transform by the fourier transform of the filter ('s impulse response to be more complete). Or, one can filter a time signal by convolving it with a window of samples. Stock analysts do this all the time and call it a moving average -- take N consecutive data samples, add them up and divide by N and call that one number a sample in the filtered result. Move the window over to the right one sample and do it again to get a second filtered sample. Slide that N size window along the data and watch the output have fewer wiggles. Make N larger and get less wiggles. You can do this on Yahoo with some stock valuation. A moving average is a convolution of your stock data with a filter window the is N samples long and each sample has value 1/N. If you imagine a moving average as a simple filter, then computing the moving average is convolution of the data with the impulse response of the filter which happens to be the N samples of 1/N value. So line up the filter with the data and multiply all the sample-filter pairs and add to get one result sample, and move to the right and do it again until you run out of data. That's filtering by convolution in the time domain. A moving average is one implementation of what we call a LOW-PASS Filter. Conversely,, multiplying two time domain signals is paired with convolution of their respective fourier transforms. This is important when you encounter a choice of windows on a spectrogram, but that is for another lesson If you use Audacity as a learning tool, you can create a signal composed of a tone (e.g., 44o Hz) plus some noise. Now use that little pull down at the left of the track and select Spectrogram and see a frequency vs time vs amplitude out of the screen via color. Go to preferences/spectrograms and choose length as say 16 samples. Now look at the screen and see 8 rather distance bands for the 8 frequency bins enabled by choosing observation windows of 16 samples. Now go back to Preferences/Spectrograms and choose size of 32 or 64 and try to count up the frequency bins. The number of frequency bins is always 1/2 the number of time domain samples for real signals which is waht we mostly deal with. You can go to Effects/Equalization and choose to draw filters on a frequency vs amplitude chart. Try to draw a filter that is flat between say 1000 and 2000 Hz and pull the curves down as low as possible to left and right and say go. This a BAND-PASS filter. When you look at the resulting spectrum, you will see that the signal is mostly gone above and below the 1000-2000 frequency window, If you filter out the lows and leave the highs, you will have a HIGH-PASS filter. Once you get the hang of filtering with Audacity, you can come back to SciLab and try using the FFT and convolution functions. Moving averages are a great way to get the feel of low pass filters. Then move up to doing an exponentially weighted moving average which is available for test on yahoo finance. That just says older samples have less influence than recent data, Wikipedia has a couple good pieces on this topic as well; see convolution and fourier analysis for starters. Gary Nelson porpoiseseeker at gmail.com On Apr 13, 2013, at 4:12 AM, Adrien Vogt-Schilb wrote: > On 13/04/2013 02:49, Michael Dunn wrote: >> Hi. Are there any resources or tutorials or references out there that would be helpful to a newbie to SciLab filtering functions? I just want to filter some data ? at this point, I don't even care what kind of filter ? just want to learn how! >> >> At first, I thought I'd try an IIR, but I couldn't figure out how to generate the coefficients. >> //y = filter(num,den,x) >> >> Then, I stumbled onto ffilt, which seems to generate FIR coefs, but where's the actual FIR filter function? Is it "convol"? I tried this: >> >> plot(fft(convol(ffilt("hp",40,100),r))) >> It does something, but I'm not sure what. Am I getting close? >> > Hi > > I am not used ot filters, but I know there is a how to here: http://help.scilab.org/docs/5.4.1/en_US/DesignEllipticFilter.html (this is available in french also) > from there, i suggest you navigate throught the "see also sections" > > you can also have a look here: http://help.scilab.org/docs/5.4.1/en_US/section_dbbac6be408104de3049eddefaf6b9c9.html > > the content of this webpage is also available in your computer, type "help" in the console and navigate. > > I hope the "how to" (1st link) will help you > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.dunn at ubm.com Mon Apr 15 03:58:56 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 14 Apr 2013 21:58:56 -0400 Subject: [Scilab-users] Newbie filter basics In-Reply-To: Message-ID: Thanks very much for your detailed reply Gary. I hope I wasn't unclear though in that I am trying to get a better understanding of SciLab filtering in particular. I understand filter basics in general, and some not-so-basics too, having been designing analog filters, working with FFTs (& general DSP to a lesser extent), and doing audio engineering for over 30 years. I just am finding SciLab a bit overwhelming & confusing. "DUALS"? I don't understand. I've put filtering aside for the moment ? spent most of the day messing with FFTs. Trying to get a Bode plotter working using DUT input & output signals from a scope. Made decent progress, but my phase plots need some work :-} Ah, eureka, just got it :-) Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:04FAC02A-05AC-416E-A0E2-1AD8F4C94C72] From: Gary Nelson > Reply-To: "International users mailing list for Scilab." > Date: Sunday, April 14, 2013 6:22 PM To: "International users mailing list for Scilab." > Subject: Re: [Scilab-users] Newbie filter basics Filtering and Fourier analysis are called DUALS. [If you want to actually "understand" the topic, you will want to learn about complex numbers and calculus, then fourier analysis, sampling and stuff like that. You can get a qualitative grip by playing with the open source audio eidtor called Audacity -- no better tool to learn with. Suggest you download it and try some filtering and signal creation there for starters] Multiplication on one domain is paired with convolution in the other. Filtering a signal can be viewed as multiplying its fourier transform by the fourier transform of the filter ('s impulse response to be more complete). Or, one can filter a time signal by convolving it with a window of samples. Stock analysts do this all the time and call it a moving average -- take N consecutive data samples, add them up and divide by N and call that one number a sample in the filtered result. Move the window over to the right one sample and do it again to get a second filtered sample. Slide that N size window along the data and watch the output have fewer wiggles. Make N larger and get less wiggles. You can do this on Yahoo with some stock valuation. A moving average is a convolution of your stock data with a filter window the is N samples long and each sample has value 1/N. If you imagine a moving average as a simple filter, then computing the moving average is convolution of the data with the impulse response of the filter which happens to be the N samples of 1/N value. So line up the filter with the data and multiply all the sample-filter pairs and add to get one result sample, and move to the right and do it again until you run out of data. That's filtering by convolution in the time domain. A moving average is one implementation of what we call a LOW-PASS Filter. Conversely,, multiplying two time domain signals is paired with convolution of their respective fourier transforms. This is important when you encounter a choice of windows on a spectrogram, but that is for another lesson If you use Audacity as a learning tool, you can create a signal composed of a tone (e.g., 44o Hz) plus some noise. Now use that little pull down at the left of the track and select Spectrogram and see a frequency vs time vs amplitude out of the screen via color. Go to preferences/spectrograms and choose length as say 16 samples. Now look at the screen and see 8 rather distance bands for the 8 frequency bins enabled by choosing observation windows of 16 samples. Now go back to Preferences/Spectrograms and choose size of 32 or 64 and try to count up the frequency bins. The number of frequency bins is always 1/2 the number of time domain samples for real signals which is waht we mostly deal with. You can go to Effects/Equalization and choose to draw filters on a frequency vs amplitude chart. Try to draw a filter that is flat between say 1000 and 2000 Hz and pull the curves down as low as possible to left and right and say go. This a BAND-PASS filter. When you look at the resulting spectrum, you will see that the signal is mostly gone above and below the 1000-2000 frequency window, If you filter out the lows and leave the highs, you will have a HIGH-PASS filter. Once you get the hang of filtering with Audacity, you can come back to SciLab and try using the FFT and convolution functions. Moving averages are a great way to get the feel of low pass filters. Then move up to doing an exponentially weighted moving average which is available for test on yahoo finance. That just says older samples have less influence than recent data, Wikipedia has a couple good pieces on this topic as well; see convolution and fourier analysis for starters. Gary Nelson porpoiseseeker at gmail.com On Apr 13, 2013, at 4:12 AM, Adrien Vogt-Schilb > wrote: On 13/04/2013 02:49, Michael Dunn wrote: Hi. Are there any resources or tutorials or references out there that would be helpful to a newbie to SciLab filtering functions? I just want to filter some data ? at this point, I don't even care what kind of filter ? just want to learn how! At first, I thought I'd try an IIR, but I couldn't figure out how to generate the coefficients. //y = filter(num,den,x) Then, I stumbled onto ffilt, which seems to generate FIR coefs, but where's the actual FIR filter function? Is it "convol"? I tried this: plot(fft(convol(ffilt("hp",40,100),r))) It does something, but I'm not sure what. Am I getting close? Hi I am not used ot filters, but I know there is a how to here: http://help.scilab.org/docs/5.4.1/en_US/DesignEllipticFilter.html (this is available in french also) from there, i suggest you navigate throught the "see also sections" you can also have a look here: http://help.scilab.org/docs/5.4.1/en_US/section_dbbac6be408104de3049eddefaf6b9c9.html the content of this webpage is also available in your computer, type "help" in the console and navigate. I hope the "how to" (1st link) will help you _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[160].png Type: image/png Size: 12428 bytes Desc: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[160].png URL: From michael.dunn at ubm.com Mon Apr 15 04:03:54 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 14 Apr 2013 22:03:54 -0400 Subject: [Scilab-users] Anyone controlled a scope or similar instrument? In-Reply-To: Message-ID: I see there's an ATOMS category for instrument control, though it all looks like low-level stuff. Has anyone actually talked to a scope or similar device? I'd love to automate capture transfer. Python has PyVISA, so that might be the simplest route. Maybe even as an intermediary between SciLab & the instrument??? Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ UBM Electronics (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:D105C30B-9A43-4A95-BCD3-F3F4C50F20E6] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[162].png Type: image/png Size: 12428 bytes Desc: 0037D790-7BC6-4B2E-8F0E-A3D972B2935B[162].png URL: From porpoiseseeker at gmail.com Mon Apr 15 08:10:06 2013 From: porpoiseseeker at gmail.com (Gary Nelson) Date: Sun, 14 Apr 2013 23:10:06 -0700 Subject: [Scilab-users] Scilab Lessons In-Reply-To: <1365978663.66227.YahooMailNeo@web160302.mail.bf1.yahoo.com> References: <1365978663.66227.YahooMailNeo@web160302.mail.bf1.yahoo.com> Message-ID: <2C9DDB73-0A0E-472D-821D-79BF1434E4DA@gmail.com> I too am a beginner. I regret that what you ask is a pretty big undertaking and my project demands most of my time. I can tell you how I learned. I bought a book called "Modeling and Simulation in Scilab/Scicos" and followed the examples in much of the book. I found a couple good tutorials by [ google (scilab tutorial) ]. Then, the scilab list is invaluable. Figure out how to get Scinotes activated, as that is the builtin editor in which you write all the code. There are many good examples in the tutorials to get you started like make a sine wave and plot it. Change the frequency and plot that, etc. Then make the making of a sine wave into a function and call the function and plot what returns. The language syntax takes a while to understand and that book is essential. Scilab is fundamentally about linear algebra, vectors, matrices and so it is essential to understand row and column vectors, as multiplication of two variables requires that one be a row, the other a column -- row times column = number; column time row => matrix. It took me quite a while to learn what error 10 improper multiply meant. If you try to multiply two vectors element by element and not as a vector operation, you write a .*b and not a*b. Element multiply is encoded .* If a and b are both row vectors, then this is legal a*b' which says b' is the transpose of b and thus is a column. Post your questions to the list as they are just great with help. Good luck and I'll respond as I am able on the list Gary Nelson porpoiseseeker at gmail.com On Apr 14, 2013, at 3:31 PM, Debola Abduljeleel wrote: > Hi Mr Gary Nelson, > > I am a Scilab beginner, from your response to questions posed on Scilab Icould see that you are quite proficient in its use. Could you take me through Modeling, Simulation &Optimizatio with Scilab? > > Thank you as I anticipate your kind response. > > ABDULJELEEL A. OSUNKUNLE > SCIENTIFIC OFFICER > PROJECTS DEVELOPMENT INSTITUTE, P.M.B. 01609, EMENE INDUSTRIAL LAYOUT, ENUGU, NIGERIA. > +2347058408440. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Mon Apr 15 13:08:42 2013 From: sgougeon at free.fr (sgougeon at free.fr) Date: Mon, 15 Apr 2013 13:08:42 +0200 (CEST) Subject: [Scilab-users] Anyone controlled a scope or similar instrument? In-Reply-To: Message-ID: <1956562177.57524044.1366024122480.JavaMail.root@zimbra75-e12.priv.proxad.net> ----- Mail original ----- >De: "Michael Dunn" >Envoy?: Lundi 15 Avril 2013 04:03:54 >Objet: [Scilab-users] Anyone controlled a scope or similar instrument? > >I see there's an ATOMS category for instrument control, though it all looks like low-level stuff. >Has anyone actually talked to a scope or similar device? I'd love to automate capture transfer. > >Python has PyVISA, so that might be the simplest route. Maybe even as an intermediary between >SciLab & the instrument??? Here is an example for an oscilloscope: http://fileexchange.scilab.org/toolboxes/234000 Other examples (function generators, etc): http://fileexchange.scilab.org/categories/instruments_control Anyway, you will have to write a Scilab driver for each instrument, since the manufacturer will unlikely provide it, except the protocol. Then, please just post your driver on FileExchange, in order to increase the public database :-) Regards Samuel From porpoiseseeker at gmail.com Mon Apr 15 19:25:31 2013 From: porpoiseseeker at gmail.com (Gary Nelson) Date: Mon, 15 Apr 2013 10:25:31 -0700 Subject: [Scilab-users] Newbie filter basics In-Reply-To: References: Message-ID: <892A3D43-24D4-45C3-8646-371D49FBD75B@gmail.com> On Apr 14, 2013, at 6:58 PM, Michael Dunn wrote: > Thanks very much for your detailed reply Gary. I hope I wasn't unclear though in that I am trying to get a better understanding of SciLab filtering in particular. I understand filter basics in general, and some not-so-basics too, having been designing analog filters, working with FFTs (& general DSP to a lesser extent), and doing audio engineering for over 30 years. I just am finding SciLab a bit overwhelming & confusing. > My apologies. For sure I misunderstood your question > "DUALS"? I don't understand. The FT is a complex function that can be expressed in polar coordinates of Amplitude and Phase In the time domain, there can be a complex analytic signal with real part x(t) and imaginary part y(t) where y(t) = H[y(t)] where H[] is the Hilbert transform which is a 90deg phase shifter. We usually just deal with real signals so we don't pay attention to these properties but most modems us complex signal representation as I and Q, QAM and such. The analytic signal in time is dual to the complex FT in freq domain In freq domain, atan (imag(f)/real(f)) is phase(f) and d/df(phase) = group delay. The envelope or magnetude is what we typically call the spectrum; phase is usually ignored, but group delay often is a useful feature. In time, the same math applies and the sort(x^2 + y^2) is the time envelope and instantaneous phase is atan(y/x), but d/dt(phase) is instantaneous freq which is dual of group delay. Analytic signal view is not too helpful if signal BW>octave. I bought Modeling and Simulation in Scilab/Scicos and got a few good tips from it. It sounds like you're making good progress actually. There are a couple good tutorials as well as the book > > I've put filtering aside for the moment ? spent most of the day messing with FFTs. Trying to get a Bode plotter working using DUT input & output signals from a scope. Made decent progress, but my phase plots need some work :-} > > Ah, eureka, just got it :-) > > > Michael Dunn | Editor-in-Chief > Scope Junction | http://www.scopejunction.com/ > UBM Electronics > (415) 947-6096 (USA) > (519) 744-9395 (Canada) > Skype: MichaelDunn_UBM > LinkedIn: http://www.linkedin.com/in/cantares > <0037D790-7BC6-4B2E-8F0E-A3D972B2935B[160].png> > > > > From: Gary Nelson > Reply-To: "International users mailing list for Scilab." > Date: Sunday, April 14, 2013 6:22 PM > To: "International users mailing list for Scilab." > Subject: Re: [Scilab-users] Newbie filter basics > >> Filtering and Fourier analysis are called DUALS. [If you want to actually "understand" the topic, you will want to learn about complex numbers and calculus, then fourier analysis, sampling and stuff like that. You can get a qualitative grip by playing with the open source audio eidtor called Audacity -- no better tool to learn with. Suggest you download it and try some filtering and signal creation there for starters] >> >> Multiplication on one domain is paired with convolution in the other. Filtering a signal can be viewed as multiplying its fourier transform by the fourier transform of the filter ('s impulse response to be more complete). >> Or, one can filter a time signal by convolving it with a window of samples. Stock analysts do this all the time and call it a moving average -- take N consecutive data samples, add them up and divide by N and call that one number a sample in the filtered result. Move the window over to the right one sample and do it again to get a second filtered sample. Slide that N size window along the data and watch the output have fewer wiggles. Make N larger and get less wiggles. You can do this on Yahoo with some stock valuation. A moving average is a convolution of your stock data with a filter window the is N samples long and each sample has value 1/N. If you imagine a moving average as a simple filter, then computing the moving average is convolution of the data with the impulse response of the filter which happens to be the N samples of 1/N value. So line up the filter with the data and multiply all the sample-filter pairs and add to get one result sample, and move to the right and do it again until you run out of data. That's filtering by convolution in the time domain. A moving average is one implementation of what we call a LOW-PASS Filter. >> >> Conversely,, multiplying two time domain signals is paired with convolution of their respective fourier transforms. This is important when you encounter a choice of windows on a spectrogram, but that is for another lesson >> >> If you use Audacity as a learning tool, you can create a signal composed of a tone (e.g., 44o Hz) plus some noise. Now use that little pull down at the left of the track and select Spectrogram and see a frequency vs time vs amplitude out of the screen via color. Go to preferences/spectrograms and choose length as say 16 samples. Now look at the screen and see 8 rather distance bands for the 8 frequency bins enabled by choosing observation windows of 16 samples. Now go back to Preferences/Spectrograms and choose size of 32 or 64 and try to count up the frequency bins. The number of frequency bins is always 1/2 the number of time domain samples for real signals which is waht we mostly deal with. >> >> You can go to Effects/Equalization and choose to draw filters on a frequency vs amplitude chart. Try to draw a filter that is flat between say 1000 and 2000 Hz and pull the curves down as low as possible to left and right and say go. >> >> This a BAND-PASS filter. >> >> When you look at the resulting spectrum, you will see that the signal is mostly gone above and below the 1000-2000 frequency window, >> >> If you filter out the lows and leave the highs, you will have a HIGH-PASS filter. >> >> Once you get the hang of filtering with Audacity, you can come back to SciLab and try using the FFT and convolution functions. Moving averages are a great way to get the feel of low pass filters. Then move up to doing an exponentially weighted moving average which is available for test on yahoo finance. That just says older samples have less influence than recent data, Wikipedia has a couple good pieces on this topic as well; see convolution and fourier analysis for starters. >> >> >> Gary Nelson >> porpoiseseeker at gmail.com >> >> >> >> On Apr 13, 2013, at 4:12 AM, Adrien Vogt-Schilb wrote: >> >>> On 13/04/2013 02:49, Michael Dunn wrote: >>>> Hi. Are there any resources or tutorials or references out there that would be helpful to a newbie to SciLab filtering functions? I just want to filter some data ? at this point, I don't even care what kind of filter ? just want to learn how! >>>> >>>> At first, I thought I'd try an IIR, but I couldn't figure out how to generate the coefficients. >>>> //y = filter(num,den,x) >>>> Then, I stumbled onto ffilt, which seems to generate FIR coefs, but where's the actual FIR filter function? Is it "convol"? I tried this: >>>> >>>> plot(fft(convol(ffilt("hp",40,100),r))) >>>> It does something, but I'm not sure what. Am I getting close? >>>> >>> Hi >>> >>> I am not used ot filters, but I know there is a how to here: http://help.scilab.org/docs/5.4.1/en_US/DesignEllipticFilter.html (this is available in french also) >>> from there, i suggest you navigate throught the "see also sections" >>> >>> you can also have a look here: http://help.scilab.org/docs/5.4.1/en_US/section_dbbac6be408104de3049eddefaf6b9c9.html >>> >>> the content of this webpage is also available in your computer, type "help" in the console and navigate. >>> >>> I hope the "how to" (1st link) will help you >>> >>> >>> >>> >>> >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >> > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From porpoiseseeker at gmail.com Mon Apr 15 19:29:42 2013 From: porpoiseseeker at gmail.com (Gary Nelson) Date: Mon, 15 Apr 2013 10:29:42 -0700 Subject: [Scilab-users] Anyone controlled a scope or similar instrument? In-Reply-To: <1956562177.57524044.1366024122480.JavaMail.root@zimbra75-e12.priv.proxad.net> References: <1956562177.57524044.1366024122480.JavaMail.root@zimbra75-e12.priv.proxad.net> Message-ID: This is a great question and one I also share. I am shopping for an ADC module and find the USB versions offer a Matlab driver. Do we have the means to talk to a matlab driver for a piece of lab equipment? Gary Nelson porpoiseseeker at gmail.com On Apr 15, 2013, at 4:08 AM, sgougeon at free.fr wrote: > ----- Mail original ----- >> De: "Michael Dunn" >> Envoy?: Lundi 15 Avril 2013 04:03:54 >> Objet: [Scilab-users] Anyone controlled a scope or similar instrument? >> >> I see there's an ATOMS category for instrument control, though it all looks like low-level stuff. >> Has anyone actually talked to a scope or similar device? I'd love to automate capture transfer. >> >> Python has PyVISA, so that might be the simplest route. Maybe even as an intermediary between >> SciLab & the instrument??? > > Here is an example for an oscilloscope: > http://fileexchange.scilab.org/toolboxes/234000 > > Other examples (function generators, etc): > http://fileexchange.scilab.org/categories/instruments_control > > Anyway, you will have to write a Scilab driver for each instrument, > since the manufacturer will unlikely provide it, except the protocol. > > Then, please just post your driver on FileExchange, in order to increase > the public database :-) > > Regards > Samuel > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sgougeon at free.fr Mon Apr 15 20:44:22 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Mon, 15 Apr 2013 20:44:22 +0200 Subject: [Scilab-users] Anyone controlled a scope or similar instrument? In-Reply-To: References: <1956562177.57524044.1366024122480.JavaMail.root@zimbra75-e12.priv.proxad.net> Message-ID: <516C4A86.6040501@free.fr> Le 15/04/2013 19:29, Gary Nelson a ?crit : > This is a great question and one I also share. > > I am shopping for an ADC module and find the USB versions offer a Matlab driver. > > Do we have the means to talk to a matlab driver for a piece of lab equipment? If after bying an DC module you still have some money to buy a Matlab licence, yes ;) Otherwise, i am afraid that you will have to spend... some time either to convert the Matlab driver to a Scilab one, or to write a Scilab driver from scratch. Samuel From urban.simoncic at gmail.com Mon Apr 15 23:49:45 2013 From: urban.simoncic at gmail.com (Urban Simoncic) Date: Mon, 15 Apr 2013 23:49:45 +0200 Subject: [Scilab-users] Disable figure name Message-ID: <516C75F9.3030803@gmail.com> Hi, Can the figure name (the blue strip at the top of the figure) be removed form the figure, when it is used for GUI? I don't think it makes the GUI pretty... Cheers, Urban From antoine.monmayrant at laas.fr Tue Apr 16 10:08:12 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 16 Apr 2013 10:08:12 +0200 Subject: [Scilab-users] What is a valid function name in Scilab? Message-ID: <516D06EC.3060203@laas.fr> Hi everyone, I just lost a couple of hours trying to figure out what was wrong with a function I just wrote that seemed perfectly fine but could not be interpreted by scilab. I finally understood that you cannot define a function with a name that starts with a number. The problem is that the error reported is not helpful at all ("Incorrect function at line 1.") and that neither 'help function' nor 'help functions' clearly indicates this limitation. I think I'll report a bug for that, but before doing so I would like to know if any of you knows exactly what are the limitations for the name of user define functions in Scilab and where this information can be found in the documentation. Thanks in advance, Antoine From rnyk1991 at gmail.com Tue Apr 16 10:12:58 2013 From: rnyk1991 at gmail.com (Rakshith Nayak) Date: Tue, 16 Apr 2013 13:42:58 +0530 Subject: [Scilab-users] What is a valid function name in Scilab? In-Reply-To: <516D06EC.3060203@laas.fr> References: <516D06EC.3060203@laas.fr> Message-ID: In general, rules applicable to variable names are applicable to function names as well. For example: *Avoid builtin function name *No characters other than an underscore are allowed. *keep the names short and crisp *provide documentation when you write functions, so that neither others or you, won't be having a problem using it, after a a while. On Apr 16, 2013 1:38 PM, "Antoine Monmayrant" wrote: > Hi everyone, > > I just lost a couple of hours trying to figure out what was wrong with a > function I just wrote that seemed perfectly fine but could not be > interpreted by scilab. > I finally understood that you cannot define a function with a name that > starts with a number. > The problem is that the error reported is not helpful at all ("Incorrect > function at line 1.") and that neither 'help function' nor 'help functions' > clearly indicates this limitation. > I think I'll report a bug for that, but before doing so I would like to > know if any of you knows exactly what are the limitations for the name of > user define functions in Scilab and where this information can be found in > the documentation. > > Thanks in advance, > > Antoine > ______________________________**_________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/**mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.monmayrant at laas.fr Tue Apr 16 10:19:51 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Tue, 16 Apr 2013 10:19:51 +0200 Subject: [Scilab-users] What is a valid function name in Scilab? In-Reply-To: References: <516D06EC.3060203@laas.fr> Message-ID: <516D09A7.5090701@laas.fr> Thanks for your quick answer. I think I was not really clear in my post: I am not looking for general good practices in naming your functions or variables, but for the actual, hard-coded limitations in Scilab for function names. But your answer was useful as the info I was looking for is available at 'help names'. Thanks again, Antoine On 16/04/2013 10:12, Rakshith Nayak wrote: > > In general, rules applicable to variable names are applicable to > function names as well. > For example: > *Avoid builtin function name > *No characters other than an underscore are allowed. > *keep the names short and crisp > *provide documentation when you write functions, so that neither > others or you, won't be having a problem using it, after a a while. > > On Apr 16, 2013 1:38 PM, "Antoine Monmayrant" > > wrote: > > Hi everyone, > > I just lost a couple of hours trying to figure out what was wrong > with a function I just wrote that seemed perfectly fine but could > not be interpreted by scilab. > I finally understood that you cannot define a function with a name > that starts with a number. > The problem is that the error reported is not helpful at all > ("Incorrect function at line 1.") and that neither 'help function' > nor 'help functions' clearly indicates this limitation. > I think I'll report a bug for that, but before doing so I would > like to know if any of you knows exactly what are the limitations > for the name of user define functions in Scilab and where this > information can be found in the documentation. > > Thanks in advance, > > Antoine > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Christophe.Dang at sidel.com Tue Apr 16 10:52:31 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 16 Apr 2013 10:52:31 +0200 Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: <1365771253391-4026532.post@n3.nabble.com> References: <5166CC6F.2060601@laas.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> <3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com> <000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr> <2314-51671880-1f-3d1dc240@6988783> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E2@exchsrv.auxitrol.ad> <1365752065654-4026525.post@n3.nabble.com> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> <1365771253391-4026532.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F1071A67EC@301EX00100.sidel.com> Hello, personally, I export as SVG, then modify it with Inkscape (free and open, see http://www.inkscape.org/ ) This allows me to focus on the data rather than on the final layout. With Inkscape, you can export PDF, PNG, EPS, EMF (although some problems with surface colours in EMF), ... Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From denis.crete at thalesgroup.com Tue Apr 16 14:03:24 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Tue, 16 Apr 2013 14:03:24 +0200 Subject: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F1071A67EC@301EX00100.sidel.com> References: <5166CC6F.2060601@laas.fr> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779DD@exchsrv.auxitrol.ad> <3B5FFC67498DFF49AE7271A584867D16F10710D795@301EX00100.sidel.com> <000101ce36d2$b57f3d50$207db7f0$@carrico@free.fr> <2314-51671880-1f-3d1dc240@6988783> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E2@exchsrv.auxitrol.ad> <1365752065654-4026525.post@n3.nabble.com> <55A12CBC06A8C9459DCE0BBEF8122FDC08B779E4@exchsrv.auxitrol.ad> <25686_1365769760_5167FE20_25686_330_1_8F1D40232A0E68409E3FC23A30C3266201678D882036@THSONEA01CMS04P.one.grp> <1365771253391-4026532.post@n3.nabble.com> <3B5FFC67498DFF49AE7271A584867D16F1071A67EC@301EX00100.sidel.com> Message-ID: <13443_1366113804_516D3E0C_13443_2364_1_8F1D40232A0E68409E3FC23A30C3266201678D94174D@THSONEA01CMS04P.one.grp> Thank you for the hint! However, it looks strange that formats other than SVG are not exported correctly... I can survive using InkScape to convert SVG in whatever LibreOffice is accepting, but it's much less friendly than just copy/paste. It may even be possible to use LibreOffice Draw as a converter. Best regards Denis -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Dang, Christophe Envoy??: mardi 16 avril 2013 10:53 ??: International users mailing list for Scilab. Objet?: Re: [Scilab-users] Export vector graphics produced by Scilab 5.4.1 Hello, personally, I export as SVG, then modify it with Inkscape (free and open, see http://www.inkscape.org/ ) This allows me to focus on the data rather than on the final layout. With Inkscape, you can export PDF, PNG, EPS, EMF (although some problems with surface colours in EMF), ... Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From paul.carrico at esterline.com Tue Apr 16 14:45:33 2013 From: paul.carrico at esterline.com (Carrico, Paul) Date: Tue, 16 Apr 2013 14:45:33 +0200 Subject: [Scilab-users] Scilab and Dakota Message-ID: <55A12CBC06A8C9459DCE0BBEF8122FDC08B77A03@exchsrv.auxitrol.ad> Dear All, For optimization issue (and more precisely for fitting parameters purpose), I'm thinking in using Dakota libraries (Sandia National Laboratory) in conjunction with Scilab and an external Finite Elements solver ; an interface has ever been developed by Yann Colette but I'll be interesting to share some feedback with the community : any advice on that issue (installation / use / and so on) ? Regards Paul -------------------------------------------------------------------------------- Le pr?sent mail et ses pi?ces jointes sont confidentiels et destin?s ? la personne ou aux personnes vis?e(s) ci-dessus. Si vous avez re?u cet e-mail par erreur, veuillez contacter imm?diatement l'exp?diteur et effacer le message de votre syst?me. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sgougeon at free.fr Tue Apr 16 21:16:41 2013 From: sgougeon at free.fr (sgougeon at free.fr) Date: Tue, 16 Apr 2013 21:16:41 +0200 (CEST) Subject: [Scilab-users] What is a valid function name in Scilab? In-Reply-To: <516D09A7.5090701@laas.fr> Message-ID: <16251443.61754888.1366139801746.JavaMail.root@zimbra75-e12.priv.proxad.net> Hi Antoine, As Rakshith Nayak wrote, in Scilab, functions are a type of variables, so are some variables. Therefore, naming rules for functions are the same as for other variables. These rules are described at -->help names http://help.scilab.org/docs/5.4.1/en_US/names.html Indeed, i agree that some links to this page could be added in the See also section of the function's and functions ones : http://help.scilab.org/docs/5.4.1/en_US/functions.html http://help.scilab.org/docs/5.4.1/en_US/function.html It is possible for any user sharing this feeling to post updated xml help related files onto bugzilla. Regards Samuel ----- Mail original ----- De: "Antoine Monmayrant" Cc: "International users mailing list for Scilab." Envoy?: Mardi 16 Avril 2013 10:19:51 Objet: Re: [Scilab-users] What is a valid function name in Scilab? Thanks for your quick answer. I think I was not really clear in my post: I am not looking for general good practices in naming your functions or variables, but for the actual, hard-coded limitations in Scilab for function names. But your answer was useful as the info I was looking for is available at 'help names'. Thanks again, Antoine From v.grbac at post.cz Wed Apr 17 15:51:57 2013 From: v.grbac at post.cz (larryonov) Date: Wed, 17 Apr 2013 06:51:57 -0700 (PDT) Subject: [Scilab-users] Still running script Message-ID: <1366206717696-4026562.post@n3.nabble.com> Hi, first of all I have to say that Scilab is great alternative to Matlab etc :-) And now to my problem. I want to use Scilab for plotting graph which takes values from a file (and file is modified during my device is measuring). I have tried never ending while-end loop but in every step it takes longer and longer time measured with tic() and toc() until it will freeze permantently. It is not because of the file is rising, I'm trying it when the device is off and file is still the same. I also tried run the script from another using exec() and then clear, but without result. When I abort execution and then run script again it continues from 'bad' execution time to worse. The only thing working is that I run Scilab again. Like something is in the memory (not variables, with clear() it isnt better). Do you have any better idea than me how to realize the 'still running' script or any other suggestion. Thank you. -- View this message in context: http://mailinglists.scilab.org/Still-running-script-tp4026562.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From antoine.monmayrant at laas.fr Wed Apr 17 16:20:59 2013 From: antoine.monmayrant at laas.fr (Antoine Monmayrant) Date: Wed, 17 Apr 2013 16:20:59 +0200 Subject: [Scilab-users] Still running script In-Reply-To: <1366206717696-4026562.post@n3.nabble.com> References: <1366206717696-4026562.post@n3.nabble.com> Message-ID: <516EAFCB.4000507@laas.fr> On 17/04/2013 15:51, larryonov wrote: > Hi, first of all I have to say that Scilab is great alternative to Matlab etc > :-) > > And now to my problem. I want to use Scilab for plotting graph which takes > values from a file (and file is modified during my device is measuring). > > I have tried never ending while-end loop but in every step it takes longer > and longer time measured with tic() and toc() until it will freeze > permantently. It is not because of the file is rising, I'm trying it when > the device is off and file is still the same. > > I also tried run the script from another using exec() and then clear, but > without result. > > When I abort execution and then run script again it continues from 'bad' > execution time to worse. The only thing working is that I run Scilab again. > Like something is in the memory (not variables, with clear() it isnt > better). > > Do you have any better idea than me how to realize the 'still running' > script or any other suggestion. Thank you. > > > > -- > View this message in context: http://mailinglists.scilab.org/Still-running-script-tp4026562.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Hi, Could you provide us with a test script and test data file to get a better idea of what is going? Cheers, Antoine From denis.crete at thalesgroup.com Wed Apr 17 16:23:02 2013 From: denis.crete at thalesgroup.com (CRETE Denis) Date: Wed, 17 Apr 2013 16:23:02 +0200 Subject: [Scilab-users] Still running script In-Reply-To: <1366206717696-4026562.post@n3.nabble.com> References: <1366206717696-4026562.post@n3.nabble.com> Message-ID: <18963_1366208583_516EB047_18963_8310_1_8F1D40232A0E68409E3FC23A30C3266201678D9B0182@THSONEA01CMS04P.one.grp> Hello, It probably comes from an accumulation of data in the graph: try to avoid re-plotting the whole vector of data. If you don't mind about line joining points, reduce plotting to the last data point plot2d(x($),y($), style=-1) // you must use a negative style to see something... If you need the line joining points, just plot the last pair of data points plot2d(x($-1:$),y($-1:$)) HTH Denis -----Message d'origine----- De?: users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de larryonov Envoy??: mercredi 17 avril 2013 15:52 ??: users at lists.scilab.org Objet?: [Scilab-users] Still running script Hi, first of all I have to say that Scilab is great alternative to Matlab etc :-) And now to my problem. I want to use Scilab for plotting graph which takes values from a file (and file is modified during my device is measuring). I have tried never ending while-end loop but in every step it takes longer and longer time measured with tic() and toc() until it will freeze permantently. It is not because of the file is rising, I'm trying it when the device is off and file is still the same. I also tried run the script from another using exec() and then clear, but without result. When I abort execution and then run script again it continues from 'bad' execution time to worse. The only thing working is that I run Scilab again. Like something is in the memory (not variables, with clear() it isnt better). Do you have any better idea than me how to realize the 'still running' script or any other suggestion. Thank you. -- View this message in context: http://mailinglists.scilab.org/Still-running-script-tp4026562.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From Serge.Steer at inria.fr Wed Apr 17 18:10:12 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Wed, 17 Apr 2013 18:10:12 +0200 Subject: [Scilab-users] Still running script In-Reply-To: <18963_1366208583_516EB047_18963_8310_1_8F1D40232A0E68409E3FC23A30C3266201678D9B0182@THSONEA01CMS04P.one.grp> References: <1366206717696-4026562.post@n3.nabble.com> <18963_1366208583_516EB047_18963_8310_1_8F1D40232A0E68409E3FC23A30C3266201678D9B0182@THSONEA01CMS04P.one.grp> Message-ID: <516EC964.4070003@inria.fr> Le 17/04/2013 16:23, CRETE Denis a ?crit : > Hello, > It probably comes from an accumulation of data in the graph: try to avoid re-plotting the whole vector of data. > If you don't mind about line joining points, reduce plotting to the last data point > plot2d(x($),y($), style=-1) // you must use a negative style to see something... > > If you need the line joining points, just plot the last pair of data points > plot2d(x($-1:$),y($-1:$)) If you want to add point to a curve, it is more efficient to add them to the polyline data example clf; a=gca(); a.data_bounds=[0 -1;10 1]; a.axes_visible="on"; xpoly([],[]);p=gce(); for x=0:0.1:10 p.data=[p.data;x, sin(x)]; end If you want a moving curve you can proceed similarily: clf;a=gca(); a.data_bounds=[0 -1;10 1]; a.axes_visible="on"; t=(0:0.01:10)'; w=1:0.1:10; xpoly([],[]);p=gce(); realtimeinit(0.01) for k=1:length(w) realtime(k)//to slow down p.data=[t, sin(w(k)*t)]; end Serge > HTH > Denis > -----Message d'origine----- > De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de larryonov > Envoy? : mercredi 17 avril 2013 15:52 > ? : users at lists.scilab.org > Objet : [Scilab-users] Still running script > > Hi, first of all I have to say that Scilab is great alternative to Matlab etc > :-) > > And now to my problem. I want to use Scilab for plotting graph which takes values from a file (and file is modified during my device is measuring). > > I have tried never ending while-end loop but in every step it takes longer and longer time measured with tic() and toc() until it will freeze permantently. It is not because of the file is rising, I'm trying it when the device is off and file is still the same. > > I also tried run the script from another using exec() and then clear, but without result. > > When I abort execution and then run script again it continues from 'bad' > execution time to worse. The only thing working is that I run Scilab again. > Like something is in the memory (not variables, with clear() it isnt better). > > Do you have any better idea than me how to realize the 'still running' > script or any other suggestion. Thank you. > > > > -- > View this message in context: http://mailinglists.scilab.org/Still-running-script-tp4026562.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From sdr at durietz.se Fri Apr 19 14:22:16 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 19 Apr 2013 14:22:16 +0200 Subject: [Scilab-users] Disable figure name In-Reply-To: <516C75F9.3030803@gmail.com> References: <516C75F9.3030803@gmail.com> Message-ID: <517136F8.5050209@durietz.se> Hi, you mean the "Title bar", which unfortunately is repeated under the menu bar ;-( I would like to remove the lower repeated title bar and also, sometimes, the menu bar. Is that possible? I would also like to hide (with drawlater?) the creation of a figure until it is ready. Now I have to watch several different figures until the correct one is displayed. Is that possible? Regards Stefan On 2013-04-15 23:49, Urban Simoncic wrote: -------------------- > Hi, > > Can the figure name (the blue strip at the top of the figure) be > removed form the figure, when it is used for GUI? I don't think it > makes the GUI pretty... > > Cheers, > Urban > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From Serge.Steer at inria.fr Fri Apr 19 18:51:39 2013 From: Serge.Steer at inria.fr (Serge Steer) Date: Fri, 19 Apr 2013 18:51:39 +0200 Subject: [Scilab-users] Disable figure name In-Reply-To: <517136F8.5050209@durietz.se> References: <516C75F9.3030803@gmail.com> <517136F8.5050209@durietz.se> Message-ID: <5171761B.1090406@inria.fr> Le 19/04/2013 14:22, Stefan Du Rietz a ?crit : > Hi, > you mean the "Title bar", which unfortunately is repeated under the > menu bar ;-( > > I would like to remove the lower repeated title bar and also, > sometimes, the menu bar. Is that possible? > To remove the menu bar you have to remove the menu it contains: if n is the window number you can do: delmenu(n,_("&?"));delmenu(n,_("&Edit"));delmenu(n,_("&Tools"));delmenu(n,_("&File")); Serge Steer > I would also like to hide (with drawlater?) the creation of a figure > until it is ready. Now I have to watch several different figures until > the correct one is displayed. Is that possible? > > Regards > Stefan > > > On 2013-04-15 23:49, Urban Simoncic wrote: > -------------------- >> Hi, >> >> Can the figure name (the blue strip at the top of the figure) be >> removed form the figure, when it is used for GUI? I don't think it >> makes the GUI pretty... >> >> Cheers, >> Urban >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From michael.dunn at ubm.com Sun Apr 21 21:49:28 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 21 Apr 2013 15:49:28 -0400 Subject: [Scilab-users] Conditional assignments Message-ID: Say I want to do an array (vector) assignment, but the formula requires a conditional. Is there a better way to do it than: b = ((a^2).*(a<5)) + ((a^0.5).*(a>=5)) which returns a^2 for a<5, and sqrt(a) for a>=5. And ? just curious ? if this is the only way, is the interpreter smart enough to not waste its time computing the false expression? Thanks, Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:F5B559D4-7097-437C-B95F-49FE1D296AA9] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0290B74A-5E6F-4D23-9C8D-ABE56804E06E[66].png Type: image/png Size: 6781 bytes Desc: 0290B74A-5E6F-4D23-9C8D-ABE56804E06E[66].png URL: From sdr at durietz.se Sun Apr 21 22:28:30 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Sun, 21 Apr 2013 22:28:30 +0200 Subject: [Scilab-users] Conditional assignments In-Reply-To: References: Message-ID: <51744BEE.9090904@durietz.se> If the interpreter is not smart enough and the vector is large, maybe this is faster -- only one computation/element: index = a<5; b = zeros(a); b(index) = a(index)^2; b(~index) = a(~index)^0.5; /Stefan On 2013-04-21 21:49, Michael Dunn wrote: -------------------- > Say I want to do an array (vector) assignment, but the formula > requires a conditional. Is there a better way to do it than: > > b = ((a^2).*(a<5)) + ((a^0.5).*(a>=5)) > > which returns a^2 for a<5, and sqrt(a) for a>=5. > > And ? just curious ? if this is the only way, is the interpreter smart > enough to not waste its time computing the false expression? > > > Thanks, > > > Michael Dunn | Editor-in-Chief > Scope Junction | http://www.scopejunction.com/ > (415) 947-6096 (USA) > (519) 744-9395 (Canada) > Skype: MichaelDunn_UBM > LinkedIn: http://www.linkedin.com/in/cantares > > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From michael.dunn at ubm.com Sun Apr 21 22:42:19 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Sun, 21 Apr 2013 16:42:19 -0400 Subject: [Scilab-users] Conditional assignments In-Reply-To: <51744BEE.9090904@durietz.se> Message-ID: Very cool. What other tricks can one do with %t & %f? Thanks! Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares -----Original Message----- From: Stefan Du Rietz Reply-To: "International users mailing list for Scilab." Date: Sunday, April 21, 2013 4:28 PM To: "International users mailing list for Scilab." Subject: Re: [Scilab-users] Conditional assignments >If the interpreter is not smart enough and the vector is large, maybe >this is faster -- only one computation/element: > >index = a<5; >b = zeros(a); >b(index) = a(index)^2; >b(~index) = a(~index)^0.5; > >/Stefan > > >On 2013-04-21 21:49, Michael Dunn wrote: >-------------------- >> Say I want to do an array (vector) assignment, but the formula >> requires a conditional. Is there a better way to do it than: >> >> b = ((a^2).*(a<5)) + ((a^0.5).*(a>=5)) >> >> which returns a^2 for a<5, and sqrt(a) for a>=5. >> >> And ? just curious ? if this is the only way, is the interpreter smart >> enough to not waste its time computing the false expression? >> >> >> Thanks, >> >> >> Michael Dunn | Editor-in-Chief >> Scope Junction | http://www.scopejunction.com/ >> (415) 947-6096 (USA) >> (519) 744-9395 (Canada) >> Skype: MichaelDunn_UBM >> LinkedIn: http://www.linkedin.com/in/cantares >> >> >> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > >_______________________________________________ >users mailing list >users at lists.scilab.org >http://lists.scilab.org/mailman/listinfo/users From sdr at durietz.se Sun Apr 21 23:34:31 2013 From: sdr at durietz.se (Stefan Du Rietz) Date: Sun, 21 Apr 2013 23:34:31 +0200 Subject: [Scilab-users] Conditional assignments In-Reply-To: References: Message-ID: <51745B67.5080504@durietz.se> You can combine several index vectors with & and/or(!) | You can also shift one e.g. to get the preceding elements: [index(2:$) %f] Use your imagination ;-) Regards Stefan On 2013-04-21 22:42, Michael Dunn wrote: > Very cool. What other tricks can one do with %t & %f? > > Thanks! > > > Michael Dunn | Editor-in-Chief > Scope Junction | http://www.scopejunction.com/ > (415) 947-6096 (USA) > (519) 744-9395 (Canada) > Skype: MichaelDunn_UBM > LinkedIn: http://www.linkedin.com/in/cantares > > > > > > > > -----Original Message----- > From: Stefan Du Rietz > Reply-To: "International users mailing list for Scilab." > > Date: Sunday, April 21, 2013 4:28 PM > To: "International users mailing list for Scilab." > Subject: Re: [Scilab-users] Conditional assignments > >> If the interpreter is not smart enough and the vector is large, maybe >> this is faster -- only one computation/element: >> >> index = a<5; >> b = zeros(a); >> b(index) = a(index)^2; >> b(~index) = a(~index)^0.5; >> >> /Stefan >> >> >> On 2013-04-21 21:49, Michael Dunn wrote: >> -------------------- >>> Say I want to do an array (vector) assignment, but the formula >>> requires a conditional. Is there a better way to do it than: >>> >>> b = ((a^2).*(a<5)) + ((a^0.5).*(a>=5)) >>> >>> which returns a^2 for a<5, and sqrt(a) for a>=5. >>> >>> And ? just curious ? if this is the only way, is the interpreter smart >>> enough to not waste its time computing the false expression? >>> >>> >>> Thanks, >>> >>> >>> Michael Dunn | Editor-in-Chief >>> Scope Junction | http://www.scopejunction.com/ >>> (415) 947-6096 (USA) >>> (519) 744-9395 (Canada) >>> Skype: MichaelDunn_UBM >>> LinkedIn: http://www.linkedin.com/in/cantares >>> >>> >>> >>> >>> >>> _______________________________________________ >>> users mailing list >>> users at lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >>> >> >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > From michael.dunn at ubm.com Mon Apr 22 22:48:05 2013 From: michael.dunn at ubm.com (Michael Dunn) Date: Mon, 22 Apr 2013 16:48:05 -0400 Subject: [Scilab-users] Example programs: GUI Message-ID: I'd like to try creating a GUI app very similar to the 2nd example, but I can't figure out where to find the source code. I fortunately found a GUI tutorial from www.openeering.com. Don't think I could figure it out otherwise! But the example code would be great too. Thanks, Michael Dunn | Editor-in-Chief Scope Junction | http://www.scopejunction.com/ (415) 947-6096 (USA) (519) 744-9395 (Canada) Skype: MichaelDunn_UBM LinkedIn: http://www.linkedin.com/in/cantares [cid:DB6610DC-F904-4AD4-AE8A-D9FCE44D7B82] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0290B74A-5E6F-4D23-9C8D-ABE56804E06E[2].png Type: image/png Size: 6781 bytes Desc: 0290B74A-5E6F-4D23-9C8D-ABE56804E06E[2].png URL: From ausberto.castro at gmail.com Mon Apr 22 23:11:58 2013 From: ausberto.castro at gmail.com (Ausberto Castro) Date: Mon, 22 Apr 2013 18:11:58 -0300 Subject: [Scilab-users] Example programs: GUI In-Reply-To: References: Message-ID: In attach, an example used in classroom. Ausberto *Prof. Dr. Ausberto S. Castro Vera* Ci?ncia da Computa??o UENF - Universidade Estadual do Norte Fluminense Darcy Ribeyro CCT - Centro de Ci?ncia e Tecnologia LCMAT - Laborat?rio de Ciencias Matem?ticas Campos, RJ, Brazil ausberto.castro at gmail.com ascv at uenf.br ascv at computer.org On Mon, Apr 22, 2013 at 5:48 PM, Michael Dunn wrote: > I'd like to try creating a GUI app very similar to the 2nd example, but I > can't figure out where to find the source code. > > I fortunately found a GUI tutorial from *www.openeering.com*. Don't > think I could figure it out otherwise! But the example code would be great > too. > > Thanks, > > Michael Dunn | Editor-in-Chief > Scope Junction | http://www.scopejunction.com/ > (415) 947-6096 (USA) > (519) 744-9395 (Canada) > Skype: MichaelDunn_UBM > LinkedIn: http://www.linkedin.com/in/cantares > > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 0290B74A-5E6F-4D23-9C8D-ABE56804E06E[2].png Type: image/png Size: 6781 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 30-GUI.sce Type: application/octet-stream Size: 10575 bytes Desc: not available URL: From Christophe.Dang at sidel.com Tue Apr 23 11:10:12 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 23 Apr 2013 11:10:12 +0200 Subject: [Scilab-users] problem with GUI pushbutton callback Message-ID: <3B5FFC67498DFF49AE7271A584867D16F10730FB61@301EX00100.sidel.com> Hello, I had a small example that used to work, and does not anylonger. // Example // ******************** f = scf(0); e = uicontrol(f, "style", "edit", ... "position", [0 0 100 20]); t = uicontrol(f, 'style', 'text',... "position", [200 0 100 20], ... "string", "..."); b = uicontrol(f, "string", "$x^2$",... "position", [100 0 100 20], ... "callback", "x = eval(e.string);... y = x^2;... t.string = string(y);... plot2d(x, y, style = -1);"); // ******************** when I try to use it, I get a %_h = !--error 2 Facteur invalide. at line 2 of function %eval called by : at line 19 of function eval called by : :13e35c75130:-7b0f");x = eval(e.string); y = x^2; t.string = stri while executing a callback. Has anything changed in the GUI that makes my code obsolete? Regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From sylvestre.ledru at scilab-enterprises.com Tue Apr 23 11:14:38 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Tue, 23 Apr 2013 11:14:38 +0200 Subject: [Scilab-users] problem with GUI pushbutton callback In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F10730FB61@301EX00100.sidel.com> References: <3B5FFC67498DFF49AE7271A584867D16F10730FB61@301EX00100.sidel.com> Message-ID: <517650FE.50404@scilab-enterprises.com> On 23/04/2013 11:10, Dang, Christophe wrote: > Hello, > > I had a small example that used to work, > and does not anylonger. > [...] > when I try to use it, I get a > > %_h = > !--error 2 > Facteur invalide. > at line 2 of function %eval called by : > at line 19 of function eval called by : > :13e35c75130:-7b0f");x = eval(e.string); y = x^2; t.string = stri > while executing a callback. > > Has anything changed in the GUI that makes my code obsolete? Look like. Could you report a bug ? (with the exact version you are using) http://bugzilla.scilab.org/ Thanks S From Christophe.Dang at sidel.com Tue Apr 23 12:58:06 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Tue, 23 Apr 2013 12:58:06 +0200 Subject: [Scilab-users] problem with GUI pushbutton callback In-Reply-To: <517650FE.50404@scilab-enterprises.com> References: <3B5FFC67498DFF49AE7271A584867D16F10730FB61@301EX00100.sidel.com> <517650FE.50404@scilab-enterprises.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F10730FD87@301EX00100.sidel.com> De : users-bounces at lists.scilab.org [mailto:users-bounces at lists.scilab.org] De la part de Sylvestre Ledru > Could you report a bug ? (with the exact version you are using) Done, Bug # 12570. Best regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From david.cheze at cea.fr Tue Apr 23 17:37:21 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Tue, 23 Apr 2013 08:37:21 -0700 (PDT) Subject: [Scilab-users] text file reading with fixed width field separated by space character Message-ID: <1366731441680-4026583.post@n3.nabble.com> Hi I'm trying to read a text files generated by another ("old") program which i can't modify or configure: fields are separated by 2 dots and one of the dot can be replaced by a negative sign mark - thus keeping the filed's width constant. There's an issue when importing data into scilab thanks to the function powerful csvRead function : it interprets the 2 consecutive dots as 2 variables thus it expects that this is the case along the whole file: and it is not the case as soon you have a negative value (see attached file). issue-readCsv.txt I know that the text file format is not very reliable but it is what i have : do you have any workaround using csvRead function as it is? Thanks, David -- View this message in context: http://mailinglists.scilab.org/text-file-reading-with-fixed-width-field-separated-by-space-character-tp4026583.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From david.cheze at cea.fr Tue Apr 23 17:56:58 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Tue, 23 Apr 2013 08:56:58 -0700 (PDT) Subject: [Scilab-users] text file reading with fixed width field separated by space character In-Reply-To: <1366731441680-4026583.post@n3.nabble.com> References: <1366731441680-4026583.post@n3.nabble.com> Message-ID: <1366732618573-4026584.post@n3.nabble.com> Hi, I was confusing dot and space in my previous post... the issue is with space character as separator. I'm trying to read a text files generated by another ("old") program which i can't modify or configure: fields are separated by 2 spaces and one of the space can be replaced by a negative sign mark - thus keeping the filed's width constant. There's an issue when importing data into scilab thanks to the function powerful csvRead function : it interprets the 2 consecutive spaces as 2 different fields thus it expects that this is the case along the whole file: and it is not the case as soon you have a negative value (see attached file).issue-readCsv.txt I know that the text file format is not very reliable but it is what i have : do you have any workaround using csvRead function as it is? Thanks, David -- View this message in context: http://mailinglists.scilab.org/text-file-reading-with-fixed-width-field-separated-by-space-character-tp4026583p4026584.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From amonmayr at laas.fr Tue Apr 23 18:39:49 2013 From: amonmayr at laas.fr (Antoine Monmayrant) Date: Tue, 23 Apr 2013 18:39:49 +0200 Subject: [Scilab-users] text file reading with fixed width field separated by space character In-Reply-To: <1366732618573-4026584.post@n3.nabble.com> Message-ID: <472a-5176b980-8f-225a5b80@177579358> Hi, I don't have a 100% scilab solution but I have a workaround for you: why don't you "clean" your file format before opening it with readcsv? If you are under linux, you can use 'sed' or 'tr' to replace every occurrence of ' ' by ' ' (ie 2 whites spaces by only 1). That is usually what I do to interface the output of my other softs with scilab. Antoine Le Mardi 23 Avril 2013 17.56 CEST, David Ch?ze a ?crit: > Hi, I was confusing dot and space in my previous post... the issue is with > space character as separator. > > I'm trying to read a text files generated by another ("old") program which i > can't modify or configure: fields are separated by 2 spaces and one of the > space can be replaced by a negative sign mark - thus keeping the filed's > width constant. > There's an issue when importing data into scilab thanks to the function > powerful csvRead function : it interprets the 2 consecutive spaces as 2 > different fields thus it expects that this is the case along the whole file: > and it is not the case as soon you have a negative value (see attached > file).issue-readCsv.txt > > I know that the text file format is not very reliable but it is what i have > : do you have any workaround using csvRead function as it is? > > > Thanks, > > David > > > > -- > View this message in context: http://mailinglists.scilab.org/text-file-reading-with-fixed-width-field-separated-by-space-character-tp4026583p4026584.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From sgougeon at free.fr Tue Apr 23 19:11:49 2013 From: sgougeon at free.fr (Samuel Gougeon) Date: Tue, 23 Apr 2013 19:11:49 +0200 Subject: [Scilab-users] text file reading with fixed width field separated by space character In-Reply-To: <1366732618573-4026584.post@n3.nabble.com> References: <1366731441680-4026583.post@n3.nabble.com> <1366732618573-4026584.post@n3.nabble.com> Message-ID: <5176C0D5.1000809@free.fr> Hello David, Le 23/04/2013 17:56, David Ch?ze a ?crit : > I know that the text file format is not very reliable but it is what i have > : do you have any workaround using csvRead function as it is? Why not using fscanfMat()? It reads it perfectly: format("e") M = fscanfMat("issue-readCsv.txt") M = column 1 to 6 1.300D+02 7.113D-02 0.000D+00 4.488D+00 5.157D+00 8.756D-02 1.310D+02 1.993D-01 - 1.563D-02 4.210D+00 5.019D+00 0.000D+00 column 7 to 11 1.000D-04 1.000D-04 1.000D-04 1.000D-04 1.000D-04 1.000D-04 1.000D-04 1.000D-04 1.000D-04 1.000D-04 Samuel From autor52 at hotmail.com Tue Apr 23 21:06:39 2013 From: autor52 at hotmail.com (Mike) Date: Tue, 23 Apr 2013 12:06:39 -0700 (PDT) Subject: [Scilab-users] Interpretation of Banerji test result In-Reply-To: References: <1365589196470-4026503.post@n3.nabble.com> Message-ID: <1366743999434-4026587.post@n3.nabble.com> Thank you for your answer! However, I don't understand why there is a lead of 3 periods at a standard 5% level. Isn't it 100% - 5% = 95%? That means in return that i accept the hypothesis as long as the rejection prob. higher than 95% is? -- View this message in context: http://mailinglists.scilab.org/Interpretation-of-Banerji-test-result-tp4026503p4026587.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From david.cheze at cea.fr Wed Apr 24 08:49:35 2013 From: david.cheze at cea.fr (=?UTF-8?Q?David_Ch=C3=A8ze?=) Date: Tue, 23 Apr 2013 23:49:35 -0700 (PDT) Subject: [Scilab-users] text file reading with fixed width field separated by space character In-Reply-To: <5176C0D5.1000809@free.fr> References: <1366731441680-4026583.post@n3.nabble.com> <1366732618573-4026584.post@n3.nabble.com> <5176C0D5.1000809@free.fr> Message-ID: <1366786175773-4026589.post@n3.nabble.com> Hi Samuel, thanks for this solution that performs really well : I had concerns using this function fscanfmat because i thought it was more or less the same core code as csvRead with less optional features but it seems to be different code for each. In the end for the time being fscanfmat is the function for reading matrix from text file with space/tab as separator, and it also handle the case with header lines in the begining of a file which is my current case. Thanks again. David -- View this message in context: http://mailinglists.scilab.org/text-file-reading-with-fixed-width-field-separated-by-space-character-tp4026583p4026589.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. From jfepperson at gmail.com Wed Apr 24 13:57:44 2013 From: jfepperson at gmail.com (James Epperson) Date: Wed, 24 Apr 2013 07:57:44 -0400 Subject: [Scilab-users] flops equivalent Message-ID: I am just learning my way around Scilab. What is the equivalent command to MATLAB's "flops" command? JFE -------------- next part -------------- An HTML attachment was scrubbed... URL: From renzozini at gmail.com Wed Apr 24 15:58:08 2013 From: renzozini at gmail.com (Renzo Zini) Date: Wed, 24 Apr 2013 15:58:08 +0200 Subject: [Scilab-users] (no subject) Message-ID: Yesterday I have seen a strange behaviour of a simple algorithm I wrote. After some investigation over that, I write this operation on scilab console (after this format was changed with this instruction ->format(25) ) ->155568095557812224/17 ans = 9151064444577190. and I know this is wrong because 17 does not divide that number with the Windows calculator the result is 9151064444577189,6470588235294118 This thing seem so incredible to me, that I ask: Why scilab have made this error? It's my fault? Or it is a bug how I can fix it? Renzo Zini -- Renzo the Keyboard Master -------------- next part -------------- An HTML attachment was scrubbed... URL: From mccannscience at comcast.net Wed Apr 24 17:07:50 2013 From: mccannscience at comcast.net (Michael J. McCann) Date: Wed, 24 Apr 2013 15:07:50 +0000 Subject: [Scilab-users] Docking Console SciLab5.4 newuser Message-ID: <5177F546.6060004@comcast.net> My new Scilab5.4.1 opened up beautifully with the console docked between other panels. Accidentally I undocked the console by clicking on the little arrow (top right). Now I can't get it or any of the other panels back together. Do I have to reinstall the whole thing? From krotersv at gmail.com Thu Apr 25 01:15:42 2013 From: krotersv at gmail.com (=?UTF-8?B?0KHRgtCw0L3QuNGB0LvQsNCy?=) Date: Thu, 25 Apr 2013 05:15:42 +0600 Subject: [Scilab-users] Docking Console SciLab5.4 newuser In-Reply-To: <5177F546.6060004@comcast.net> References: <5177F546.6060004@comcast.net> Message-ID: <5178679E.1050307@gmail.com> 24.04.2013 21:07, Michael J. McCann ?????: > My new Scilab5.4.1 opened up beautifully with the console docked > between other panels. > Accidentally I undocked the console by clicking on the little arrow > (top right). > Now I can't get it or any of the other panels back together. > Do I have to reinstall the whole thing? > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users Hi. See here http://www.equalis.com/forums/posts.asp?topic=560519& Stanislav From mccannscience at comcast.net Thu Apr 25 01:47:36 2013 From: mccannscience at comcast.net (Michael J. McCann) Date: Wed, 24 Apr 2013 23:47:36 +0000 Subject: [Scilab-users] Docking Console SciLab5.4 newuser In-Reply-To: <5178679E.1050307@gmail.com> References: <5177F546.6060004@comcast.net> <5178679E.1050307@gmail.com> Message-ID: <51786F18.5020808@comcast.net> Stanislaw, Thank you. That works well. I would add that until the cursor doing the dragging gets over the target window there is no sign of movement. That might make some people think the move wasn't working. Thanks again, Mike. On 24/04/2013 23:15, ????????? wrote: > 24.04.2013 21:07, Michael J. McCann ?????: >> My new Scilab5.4.1 opened up beautifully with the console docked >> between other panels. >> Accidentally I undocked the console by clicking on the little arrow >> (top right). >> Now I can't get it or any of the other panels back together. >> Do I have to reinstall the whole thing? > Hi. > See here http://www.equalis.com/forums/posts.asp?topic=560519& > > Stanislav > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users From nomiya at galaxy.dti.ne.jp Thu Apr 25 04:37:36 2013 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Thu, 25 Apr 2013 11:37:36 +0900 Subject: [Scilab-users] Can't compile the HEAD Message-ID: <87fvyfmj2n.wl%nomiya@galaxy.dti.ne.jp> Hello, I got the very latest git of scilab, then tried to compile. But, I got errors; [...] -sci_closeXcosFromScilab.Tpo -c sci_gateway/cpp/sci_closeXcosFromScilab.cpp -fPIC -DPIC -o .libs/libscixcos_la-sci_closeXcosFromScilab.o sci_gateway/cpp/sci_Xcos.cpp:28:17: error: b sci_gateway/cpp/sci_Xcos.cpp:28:40: error: expected namespace-name before b sci_gateway/cpp/sci_Xcos.cpp: In function b sci_gateway/cpp/sci_Xcos.cpp:220:9: error: b sci_gateway/cpp/sci_warnBlockByUID.cpp:27:17: error: b sci_gateway/cpp/sci_warnBlockByUID.cpp:27:40: error: expected namespace-name before b sci_gateway/cpp/sci_warnBlockByUID.cpp: In function b sci_gateway/cpp/sci_warnBlockByUID.cpp:59:5: error: b sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:17: error: b sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:40: error: expected namespace-name before b sci_gateway/cpp/sci_closeXcosFromScilab.cpp: In function b sci_gateway/cpp/sci_closeXcosFromScilab.cpp:43:13: error: b make[3]: *** [libscixcos_la-sci_closeXcosFromScilab.lo] c$B(c(B$B)c(B< 1 Thanks, --- $B(.(,(,(/WD(B Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp $B(-!@!?WD(B $B(1(,(,(0(B "Bill! You married with Computers. Not with Me!" "No..., with money." From rfabbri at gmail.com Thu Apr 25 05:32:45 2013 From: rfabbri at gmail.com (Ricardo Fabbri) Date: Thu, 25 Apr 2013 00:32:45 -0300 Subject: [Scilab-users] OS X Nightly build In-Reply-To: <516A5DE4.7050201@scilab-enterprises.com> References: <516A5DE4.7050201@scilab-enterprises.com> Message-ID: Same thing happens with the official 5.4.1 dmg Running OSX 10.8.3, jdk 6 best, -- Dr Ricardo Fabbri Professor of Computer Engineering GNU/Linux registered user #175401 www.lems.brown.edu/~rfabbri pt.wikipedia.org/wiki/IPRJ labmacambira.sf.net On Sun, Apr 14, 2013 at 4:42 AM, Sylvestre Ledru < sylvestre.ledru at scilab-enterprises.com> wrote: > On 14/04/2013 01:45, Michael Dunn wrote: > > I just DL'd the latest OS X nightly build, dated April 5: > > > > scilab-master-1365151558.app > > > > > > When I try to start it, the dock icon bounces once, then, nothing. I > > also tried running from the .dmg. Nothing. I was hoping it contained the > > fix for my CSV read problem? > Yes, we started a new development cycle (Scilab 5.5), we took the > liberty to change some elements in the packaging of the application, > causing the compilation chain to fail. It is why the nightly builds have > not been published recently. > > They should be back soon (maybe next week). > > Sylvestre > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sylvestre.ledru at scilab-enterprises.com Thu Apr 25 08:13:37 2013 From: sylvestre.ledru at scilab-enterprises.com (Sylvestre Ledru) Date: Thu, 25 Apr 2013 08:13:37 +0200 Subject: [Scilab-users] Can't compile the HEAD In-Reply-To: <87fvyfmj2n.wl%nomiya@galaxy.dti.ne.jp> References: <87fvyfmj2n.wl%nomiya@galaxy.dti.ne.jp> Message-ID: <5178C991.8090202@scilab-enterprises.com> On 25/04/2013 04:37, Masaru Nomiya wrote: > Hello, > > I got the very latest git of scilab, then tried to compile. > But, I got errors; > > [...] > -sci_closeXcosFromScilab.Tpo -c sci_gateway/cpp/sci_closeXcosFromScilab.cpp -fPIC -DPIC -o .libs/libscixcos_la-sci_closeXcosFromScilab.o > sci_gateway/cpp/sci_Xcos.cpp:28:17: error: b > sci_gateway/cpp/sci_Xcos.cpp:28:40: error: expected namespace-name before b > sci_gateway/cpp/sci_Xcos.cpp: In function b > sci_gateway/cpp/sci_Xcos.cpp:220:9: error: b > sci_gateway/cpp/sci_warnBlockByUID.cpp:27:17: error: b > sci_gateway/cpp/sci_warnBlockByUID.cpp:27:40: error: expected namespace-name before b > sci_gateway/cpp/sci_warnBlockByUID.cpp: In function b > sci_gateway/cpp/sci_warnBlockByUID.cpp:59:5: error: b > sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:17: error: b > sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:40: error: expected namespace-name before b > sci_gateway/cpp/sci_closeXcosFromScilab.cpp: In function b > sci_gateway/cpp/sci_closeXcosFromScilab.cpp:43:13: error: b > make[3]: *** [libscixcos_la-sci_closeXcosFromScilab.lo] c??< 1 That is really surprising. Could you copy and paste the full command line of the compiler ? (I cannot see the compiler). Are you sure you have a C++ compiler ? By the way, this discussion would be more appropriate on dev at lists.scilab.org ;) Sylvestre From nomiya at galaxy.dti.ne.jp Thu Apr 25 08:33:27 2013 From: nomiya at galaxy.dti.ne.jp (Masaru Nomiya) Date: Thu, 25 Apr 2013 15:33:27 +0900 Subject: [Scilab-users] Can't compile the HEAD In-Reply-To: <5178C991.8090202@scilab-enterprises.com> References: <87fvyfmj2n.wl%nomiya@galaxy.dti.ne.jp> <5178C991.8090202@scilab-enterprises.com> Message-ID: <877gjrjf0o.wl%nomiya@galaxy.dti.ne.jp> Hello, In the Message; Subject : Re: [Scilab-users] Can't compile the HEAD Message-ID : <5178C991.8090202 at scilab-enterprises.com> Date & Time: Thu, 25 Apr 2013 08:13:37 +0200 Sylvestre Ledru has written: >> On 25/04/2013 04:37, Masaru Nomiya wrote: >> Hello, >> >> I got the very latest git of scilab, then tried to compile. >> But, I got errors; [...] > That is really surprising. > Could you copy and paste the full command line of the compiler ? > (I cannot see the compiler). Here we are. [...] libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_Xcos.lo -MD -MP -MF .deps/libscixcos_la-sci_Xcos.Tpo -c sci_gateway/cpp/sci_Xcos.cpp -fPIC -DPIC -o .libs/libscixcos_la-sci_Xcos.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_closeXcosFromScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_closeXcosFromScilab.Tpo -c sci_gateway/cpp/sci_closeXcosFromScilab.cpp -fPIC -DPIC -o .libs/libscixcos_la-sci_closeXcosFromScilab.o mv -f .deps/libscixcos_algo_la-Xcos.Tpo .deps/libscixcos_algo_la-Xcos.Plo /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_xcosDiagramToScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_xcosDiagramToScilab.Tpo -c -o libscixcos_la-sci_xcosDiagramToScilab.lo `test -f 'sci_gateway/cpp/sci_xcosDiagramToScilab.cpp' || echo './'`sci_gateway/cpp/sci_xcosDiagramToScilab.cpp sci_gateway/cpp/sci_warnBlockByUID.cpp:27:17: error: ?org_scilab_modules_xcos? is not a namespace-name sci_gateway/cpp/sci_warnBlockByUID.cpp:27:40: error: expected namespace-name before ?;? token sci_gateway/cpp/sci_warnBlockByUID.cpp: In function ?int sci_warnBlockByUID(char*, long unsigned int)?: sci_gateway/cpp/sci_warnBlockByUID.cpp:59:5: error: ?Xcos? has not been declared make[3]: *** [libscixcos_la-sci_warnBlockByUID.lo] ??? 1 make[3]: *** ??????????????.... mv -f .deps/libscixcos_algo_la-Modelica.Tpo .deps/libscixcos_algo_la-Modelica.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_xcosDiagramToScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_xcosDiagramToScilab.Tpo -c sci_gateway/cpp/sci_xcosDiagramToScilab.cpp -fPIC -DPIC -o .libs/libscixcos_la-sci_xcosDiagramToScilab.o mv -f .deps/libscixcos_algo_la-Palette.Tpo .deps/libscixcos_algo_la-Palette.Plo sci_gateway/cpp/sci_Xcos.cpp:28:17: error: ?org_scilab_modules_xcos? is not a namespace-name sci_gateway/cpp/sci_Xcos.cpp:28:40: error: expected namespace-name before ?;? token sci_gateway/cpp/sci_Xcos.cpp: In function ?int callXcos(char*, char*, char*)?: sci_gateway/cpp/sci_Xcos.cpp:220:9: error: ?Xcos? has not been declared sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:17: error: ?org_scilab_modules_xcos? is not a namespace-name sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:40: error: expected namespace-name before ?;? token sci_gateway/cpp/sci_closeXcosFromScilab.cpp: In function ?int sci_closeXcosFromScilab(char*, long unsigned int)?: sci_gateway/cpp/sci_closeXcosFromScilab.cpp:43:13: error: ?Xcos? has not been declared make[3]: *** [libscixcos_la-sci_Xcos.lo] ??? 1 make[3]: *** [libscixcos_la-sci_closeXcosFromScilab.lo] ??? 1 sci_gateway/cpp/sci_xcosDiagramToScilab.cpp:28:17: error: ?org_scilab_modules_xcos? is not a namespace-name sci_gateway/cpp/sci_xcosDiagramToScilab.cpp:28:40: error: expected namespace-name before ?;? token sci_gateway/cpp/sci_xcosDiagramToScilab.cpp: In function ?int sci_xcosDiagramToScilab(char*, long unsigned int)?: sci_gateway/cpp/sci_xcosDiagramToScilab.cpp:93:16: error: ?Xcos? has not been declared make[3]: *** [libscixcos_la-sci_xcosDiagramToScilab.lo] ??? 1 make[3]: ?????? `/tmp/source/scilab/scilab/modules/xcos' ????? make[2]: *** [all] ??? 2 make[2]: ?????? `/tmp/source/scilab/scilab/modules/xcos' ????? make[1]: *** [all-recursive] ??? 1 make[1]: ?????? `/tmp/source/scilab/scilab/modules' ????? make: *** [all-recursive] ??? 1 > Are you sure you have a C++ compiler ? Yes, there exists. > By the way, this discussion would be more appropriate on > dev at lists.scilab.org ;) Sorry, but I'll subscript. Regards, --- ????? Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ???? ???? "Bill! You married with Computers. Not with Me!" "No..., with money." From Christophe.Dang at sidel.com Thu Apr 25 09:02:44 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 25 Apr 2013 09:02:44 +0200 Subject: [Scilab-users] Underflow [was: (no subject)] In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F1073928A6@301EX00100.sidel.com> Hello, De la part de Renzo Zini Envoy? : mercredi 24 avril 2013 15:58 > ->format(25) ) > > ->155568095557812224/17 > ans = > > 9151064444577190. > > and I know this is wrong because 17 does not divide that number It seems you have an underflow. The result has 16 digits, and the mantissa with double precision floating points has an epsilon of 2^-52 which is about 10^-16 (see %eps). You can read Micha?l Baudin, Scilab is not naive (2010) http://www.scilab.org/content/download/249/1710/file/scilabisnotnaive.pdf -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From communication at scilab-enterprises.com Thu Apr 25 09:03:58 2013 From: communication at scilab-enterprises.com (Communication) Date: Thu, 25 Apr 2013 09:03:58 +0200 Subject: [Scilab-users] Invitation to ScilabTEC 2013, June 26th Message-ID: <5178D55E.9020905@scilab-enterprises.com> ScilabTEC 2013 Every year Scilab Enterprises provides Scilab users with the opportunity to share their experience with Scilab open source software. Industrial and institutional actors will present their feedbacks, the evolution of their tools and practices with Scilab. Discover how Scilab and Xcos are used in the innovative fields of aerospace, defense, energy... with the presentations of DGA, ArcelorMittal, Openeering, EDF, SDI, Cnes, CAPS Entreprise, CETE and Sanofi. Complete program online: http://www.scilab.org/en/community/scilabtec/2013 *ScilabTEC 2013 takes place at the ?cole Polytechnique in Palaiseau during Teratec Forum on Wednesday, June 26** **Limited seating, register now for free (**http://www.teratec.eu/gb/forum/inscription.php**)* -- SE 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: 34642 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 8210 bytes Desc: not available URL: From Christophe.Dang at sidel.com Thu Apr 25 09:49:30 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 25 Apr 2013 09:49:30 +0200 Subject: [Scilab-users] (no subject) In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F10739299B@301EX00100.sidel.com> Hello again De la part de Renzo Zini Envoy? : mercredi 24 avril 2013 15:58 > with the Windows calculator the result is > > 9151064444577189,6470588235294118 another point is: does the Windows calculator compute the right value? You can have a greater precision by performing two divisions: (a + b)/c = a/c + b/c each having no underflow. then : 55568095557812224 = 55568095557812200 + 24 -->155568095557812200/17 ans = 9151064444577188. -->24/17 ans = 1.4117647058823530326066 so we can guess that 55568095557812224/17 = 9151064444577189.4117647... so the Windows calculator gives a result, but it is false at the first decimal... Now: do you really need to have a precision of more than 16 digits? This might be the case, especially if the error propagates. In my field, I'm usually happy with 4 digits ;-) -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From Christophe.Dang at sidel.com Thu Apr 25 10:44:59 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Thu, 25 Apr 2013 10:44:59 +0200 Subject: [Scilab-users] Underflow [was: (no subject)] In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F107392AD8@301EX00100.sidel.com> Sorry, I was wrong > with the Windows calculator the result is > > 9151064444577189,6470588235294118 I checked with http://www.wolframalpha.com/ (suggested by Scilab is not naive) and it gets 0.91510644445771896470588235294177 x 10^16 with the repeating period 647058823594117 the length of the period is itself close to the limitations of the double floating point representation, which make the method I proposed inefficient. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From liuzeyu271828 at gmail.com Thu Apr 25 14:36:40 2013 From: liuzeyu271828 at gmail.com (Zeyu Liu) Date: Thu, 25 Apr 2013 20:36:40 +0800 Subject: [Scilab-users] (no subject) In-Reply-To: <3B5FFC67498DFF49AE7271A584867D16F10739299B@301EX00100.sidel.com> References: <3B5FFC67498DFF49AE7271A584867D16F10739299B@301EX00100.sidel.com> Message-ID: actually, with bc program in Linux, I get 9151064444577189 * 17 = 155568095557812213 and obvious this precise. and with scilab, I get -->format (25); -->11 / 17 ans = 0.6470588235294117973595 so the windows calculator is correct. On Thu, Apr 25, 2013 at 3:49 PM, Dang, Christophe wrote: > Hello again > > De la part de Renzo Zini > Envoy? : mercredi 24 avril 2013 15:58 > > > with the Windows calculator the result is > > > > 9151064444577189,6470588235294118 > > another point is: does the Windows calculator compute the right value? > > You can have a greater precision by performing two divisions: > > (a + b)/c = a/c + b/c > > each having no underflow. > > then : > 55568095557812224 = 55568095557812200 + 24 > > -->155568095557812200/17 > ans = > > 9151064444577188. > > -->24/17 > ans = > > 1.4117647058823530326066 > > so we can guess that > 55568095557812224/17 = 9151064444577189.4117647... > > so the Windows calculator gives a result, but it is false at the first > decimal... > > Now: do you really need to have a precision of more than 16 digits? > > This might be the case, especially if the error propagates. > > In my field, I'm usually happy with 4 digits ;-) > > -- > Christophe Dang Ngoc Chan > Mechanical calculation engineer > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error), > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grocer.toolbox at gmail.com Thu Apr 25 18:59:52 2013 From: grocer.toolbox at gmail.com (Eric Dubois) Date: Thu, 25 Apr 2013 18:59:52 +0200 Subject: [Scilab-users] Interpretation of Banerji test result In-Reply-To: <1366743999434-4026587.post@n3.nabble.com> References: <1365589196470-4026503.post@n3.nabble.com> <1366743999434-4026587.post@n3.nabble.com> Message-ID: Hello Mike Here is Emmnauel's answer (he is the author of the programm): Let "sum" be the sum of actual difference in timing at turns of series S1 against S2. The test is the following H0: sum = 0 H1: sum > 0 The idea of the test is to built all the possible outcomes (ie all the different "sum") by randomization and then to test what is the probability of the observed (or more extreme) outcome. So what we get is P( >= sum under H0). The rejection probability is built as 1-P( >= sum under H0) and gives the confidence level at which the null can be rejected. It can be seen as the risk of acception H0 while H0 is false Let's look at your results (see below). The first line is the following test H0 : S1 leads S2 by k=0 which we wrote as H0 : k<1. Under H0 the probability to observe a sum at least greated 21 is 0.2%, such that we can reject H0 with a confidence level of 99.8%. The test can be performed in a sequential way, starting for the maximum lead to be tested. In your case for 4 leads, H0 : S1 leads S2 by k=0, we have P( >= sum under H0) = 96.1%. Meaning that risk of accepting H0 while H0 is true is below 5%.... ?ric. 2013/4/23 Mike > Thank you for your answer! > > However, I don't understand why there is a lead of 3 periods at a standard > 5% level. > > Isn't it 100% - 5% = 95%? > > That means in return that i accept the hypothesis as long as the rejection > prob. higher than 95% is? > > > > > -- > View this message in context: > http://mailinglists.scilab.org/Interpretation-of-Banerji-test-result-tp4026503p4026587.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive > at Nabble.com. > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1416 bytes Desc: not available URL: From Christophe.Dang at sidel.com Fri Apr 26 10:05:24 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Fri, 26 Apr 2013 10:05:24 +0200 Subject: [Scilab-users] Interpretation of Banerji test result In-Reply-To: References: <1365589196470-4026503.post@n3.nabble.com> <1366743999434-4026587.post@n3.nabble.com> Message-ID: <3B5FFC67498DFF49AE7271A584867D16F10739359B@301EX00100.sidel.com> If need be, the Banerji article is available at: http://ecri-prod.s3.amazonaws.com/reports/samples/2/lead_profiles.pdf Best regards -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From communication at scilab-enterprises.com Fri Apr 26 14:49:22 2013 From: communication at scilab-enterprises.com (Communication) Date: Fri, 26 Apr 2013 14:49:22 +0200 Subject: [Scilab-users] Invitation to Solution Linux Fair - 28/29 May 2013 Message-ID: <517A77D2.2040003@scilab-enterprises.com> Scilab Enterprises invites you on May 28th and 29th, 2013 at Solutions Linux Fair - CNIT Paris-La D?fense. Do not hesitate to join us on booth #E34, we will present the possibilities offered by Scilab / Xcos, and the professional services offered to help companies making the right decision in computation and simulation tools adoption. Request your free access badge now on: http://www.solutionslinux.fr/preinscription_154_204_p.html?lg=en -- SE 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: 8210 bytes Desc: not available URL: From mjmccann at iee.org Fri Apr 26 16:00:09 2013 From: mjmccann at iee.org (Michael J. McCann) Date: Fri, 26 Apr 2013 14:00:09 +0000 Subject: [Scilab-users] Compiler needed in V5.4.1 Message-ID: <517A8869.9060005@iee.org> New to Scilab 5.4.1 on Windows XP SP3 (also have 64bit version on Windows8) Trying to get Modelica (Electrical) components working in Xcos Scilab complains that a compiler is needed, Windows "Add Remove Programs" lists Visual C++ 2005, Visual C++2008 as being on system. findmsvccompiler() says 'unknown' haveacompiler() says 'F' So what am I doing wrong or what should I do? Mike. From woeisoon at gmail.com Mon Apr 29 03:51:21 2013 From: woeisoon at gmail.com (WoeiSoon Owi) Date: Mon, 29 Apr 2013 09:51:21 +0800 Subject: [Scilab-users] Scilab Program Message-ID: Dear Sir/Madam, Scilab software is a very great software. Recently, I am using Scilab software to write an algorithm. However, it cant run in Scilab. I had tried almost 1 month and I still cant solve the problem. Hereby, I attached the algorithm and the Scilab program that wrote by me. Hopefully u can give me an opinion and guidance on how to solve this. Thanks a lot. Best Regards, Owi Woei Soon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Algorithm.doc Type: application/msword Size: 152064 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OptGR.doc Type: application/msword Size: 14336 bytes Desc: not available URL: From Christophe.Dang at sidel.com Mon Apr 29 11:42:16 2013 From: Christophe.Dang at sidel.com (Dang, Christophe) Date: Mon, 29 Apr 2013 11:42:16 +0200 Subject: [Scilab-users] Scilab Program In-Reply-To: References: Message-ID: <3B5FFC67498DFF49AE7271A584867D16F1073D39DD@301EX00100.sidel.com> Hello, De la part de WoeiSoon Owi Envoy? : lundi 29 avril 2013 03:51 > Hereby, I attached the algorithm and the Scilab program A quick overview: ***** I found three obvious errors: You use the function cdfnormal(), do you mean cdfnor() or is it a homemade function? The endfunction is missing (but might be a copy-paste error?). And there seems to be an exceeding "else" in the script. ***** Now, there are a few simple things you could do to make your code clearer, which means easier to debug and maintain: You feed the function with Muo and sigma, but you don't use them. there are useless lines that should be removed to make the code clearer: n1 = n1 ; k1 = k1 ; L1 = L1 The calculation of ATSo and ATS1 could be in separate functions, as the same formula is used twice. The overall structure is weird: you define a while loop that is intented to never execute (the "normal" behaviour is break), If the default values are k1, L1, n1, m1, then you'd better write something like while m1 >= n1 .... end k = k1; L = L1; n = n1; ATS = m1; So, I attached a script that is -- to me -- somewhat clearer. It will probably not work as such, as I don't know what you are computing and I could not test it. But you could use it as a basis to write clearer code that be easier for you or anyone else to debug and maintain. Hope this helps. -- Christophe Dang Ngoc Chan Mechanical calculation engineer This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. -------------- next part -------------- A non-text attachment was scrubbed... Name: foo.sci Type: application/octet-stream Size: 1233 bytes Desc: foo.sci URL: