Re: [Scilab-users] repmat() slow compared to .* and .*. <= Re: More rapid calculation

2018-02-15 Thread Stéphane Mottelet
Hello Samuel, It is a good initiative. Looking at your proposed code, I see that you use "execstr" on strings which are forged on the fly. Although the obtained expression will be faster (this was the goal), AFAIK such constructs are not "compilable" the same way as the straight expression.

[Scilab-users] repmat() slow compared to .* and .*. <= Re: More rapid calculation

2018-02-15 Thread Samuel Gougeon
Le 15/02/2018 à 11:45, Stéphane Mottelet a écrit : Le 15/02/2018 à 00:02, fujimoto2005 a écrit : .../... Hello, In your code, most of the cpu time is spent between lines 40-54 (random generation of big matrices), then between lines 54-60, where one of the bottlenecks is the use of repmat

Re: [Scilab-users] More rapid calculation

2018-02-15 Thread fujimoto2005
Dear Mottelet Thank you for your useful advice. 1, By changing repmat(timePoints_V,2*sample,1) to timePoints_M=ones(2*sample,1)*timePoints_V and using it, calculation time is improved by 25 seconds. 2, "cumsum" is not a bottleneck because it takes only 2 seconds to finish. Also, if I change

Re: [Scilab-users] More rapid calculation

2018-02-15 Thread stephane . mottelet
Here is an example where 100% CPU is used (4 cores) with pure linear algebra. S. Quoting stephane.motte...@utc.fr: If your program does not take advantage of the MKL Intel library, it means that its CPU usage is not dominated by linear algebra stuff. If you don't tell us more we won't be

[Scilab-users] Scilab-Crash while building FMI-Wrapper

2018-02-15 Thread Thiele, Gregor
Hello everyone, i have a critical problem with scilab. I described the issue here: https://stackoverflow.com/questions/47836339/scilab-crash-while-building-fmi-wrapper I would be very grateful for any help. Regards, Gregor ___ users mailing list

[Scilab-users] How to change/update XCOS block

2018-02-15 Thread Witczenko
Hi everyone, I have few XCOS schemes with a custom block inside. Then I changed block definition by changing some properties. Is there any way to replace that block in scheme without manual interference by using some kind of existing tool? e.g 'magicFunctionToUpdateBlocks('sample.zcos');'

Re: [Scilab-users] Scilab-6.0.0 stopped working

2018-02-15 Thread Pablo Fonovich
Hi, The 6.0.1 release that was just announced solved all the problems! Thanks a lot to everyone. El jue, 15 de feb 2018 a las 12:03 PM, Pablo Fonovich escribió: Sorry, this is the error i'm having with atoms: No ATOMS module is available. Please, check your

[Scilab-users] Release of Scilab 6.0.1

2018-02-15 Thread Clément David
Dear Scilab users, We are pleased to announce the release of Scilab 6.0.1! Scilab 6.0.1 is the first revision of the 6.0 development branch. It fixes bugs and implements missing features from the 5.5.2 version especially : * fix crashes on corner cases (syntax, graphics, functions, etc..) *

Re: [Scilab-users] Scilab-6.0.0 stopped working

2018-02-15 Thread Pablo Fonovich
Sorry, this is the error i'm having with atoms: No ATOMS module is available. Please, check your Internet connection or make sure that your OS is compatible with ATOMS. If i do atomsSystemUpdate() i get: Scanning repository http://atoms.scilab.org/6.0 ... Done at line 265 of function

Re: [Scilab-users] Scilab-6.0.0 stopped working

2018-02-15 Thread Pablo Fonovich
Hi, I'm still having trouble to use scilab 6.0.0 in Ubuntu 17.10. As i stated in previous mail, i managed ton install ubuntu 18.04 version, but it has the well known input function bug. I can live without input, despite i use scilab for teaching numerical methods and input is very useful. But

Re: [Scilab-users] More rapid calculation

2018-02-15 Thread Stéphane Mottelet
Le 15/02/2018 à 00:02, fujimoto2005 a écrit : Sorry, my code contains line "exec user file " I attached revised version which contains the line as a user function. Please see it. Best regards corSmplebaseZ1andZ2_with_UserFunc.sce