Re: [Scilab-users] C compiler

2013-02-01 Thread Antoine ELIAS
to be > able to compile? > > > Thanks > Pete > > > > > > -- > View this message in context: > http://mailinglists.scilab.org/C-compiler-tp4025856.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com.

Re: [Scilab-users] C compiler

2013-02-01 Thread Antoine ELIAS
\amd64\cl.exe') then vcPath64 = programFilesx86Path + '\Microsoft Visual Studio 10.0'; end end endfunction MSVCBIN64PATH = dlwGet64BitPath() + filesep() + 'VC\bin\amd64' Antoine Le 01/02/2013 10:09, Antoine ELIAS a écrit : > Hello Pete, > &

Re: [Scilab-users] C compiler

2013-02-01 Thread Antoine ELIAS
n context: > http://mailinglists.scilab.org/C-compiler-tp4025856p4025860.html > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > _______ > users mailing list > users@lists.scilab.org > http://

Re: [Scilab-users] Help in use of string execution

2013-02-18 Thread Antoine ELIAS
ot;L"] ) " ); > error: invalid factor > > i really apreciate your help ! > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Antoine ELIAS Software developer ---

Re: [Scilab-users] Converting a matrix of string into real

2013-03-05 Thread Antoine ELIAS
t; should not disseminate, distribute or copy this email. >> >> >> >> >> ___ >> users mailing list >> users@lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> >> > > >

Re: [Scilab-users] Scilab-5.5.0-beta-1 crashes at startup

2013-10-04 Thread Antoine ELIAS
5.0-beta > > Running the 32 bits version is OK > > Best regards > -- Antoine ELIAS Software developer --- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles Phone: 01.80.77.04.70 http://www.scilab-enterprises.com

Re: [Scilab-users] Help write simple GUI

2014-06-01 Thread Antoine ELIAS
script to crash if > something is not right). Then execute my code. > > Best regards, > Claus > > --- > This email is free from viruses and malware because avast! Antivirus > protection is active. > http://www.avast.com > >

Re: [Scilab-users] Saving all variables

2015-07-17 Thread Antoine ELIAS
ing list archive at > Nabble.com. > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- Antoine ELIAS Software developer --- Scilab En

Re: [Scilab-users] nightly builds of scilab 6 ?

2015-09-16 Thread Antoine ELIAS
le ? Some important bugs > have been fixed since the alpha version so it would be nice to benefit from > these fixes. > > S. > -- Antoine ELIAS Software developer --- Scilab Enterprises 143bis rue Yves Le Coz - 78000 Versailles Phone: 01.80.77.04.70 http://ww

Re: [Scilab-users] Cannot understand scilex behavior when piping

2015-10-01 Thread Antoine ELIAS
and get the correct >>>>> handlers to the figure. >>>>> >>>>> What's more strange, is that the behaviour is correct when I start >>>>> scilex from within an interactive console (cmd)... >>>>> >>>>> Steps to rep

Re: [Scilab-users] How to replicate what "load" does (aka creating variable in the current workspace from inside a function)

2016-02-23 Thread antoine . elias
Hi users, Just to explain, why "who" change. Previous implementation of "who" was stack dependant, so when you ask local variables names, Scilab 5 reads the stack from bottom to top ( or the opposite ), and returns list of variables it found. Now in Scilab 6, we have remove this stack ( i'm s

Re: [Scilab-users] Invalid index?

2016-03-31 Thread antoine . elias
Hello, Confirmed, failed on Scilab 5.5.2 but works in Scilab 6 beta 1 You can do that to by pass the problem : god.vars = []; for i=1:11 disp(i); god.vars = [god.vars, uicontrol(god.frame1, 'style', 'text', 'string', god.labels(i), 'position', [i*60 - 8 + fudge, 30, 10, 20 ])]; end o

Re: [Scilab-users] Scilab 6.0 Beta 2 - Load/save bug

2016-11-04 Thread antoine . elias
Hi guys, Scilab 6 can load data from Scilab 5 if data were saved as SOD files In Scilab 5 : a = 1; save(home + "/myfile.sod", "a"); // use "" on variable to save in SOD format instead of old format. In Scilab 6 : load(home + "/myfile.sod"); a == 1 Antoine Le 2016-11-04 11:53, BBoillot a écr

Re: [Scilab-users] Visual Studio 2015

2017-01-16 Thread antoine . elias
Hello James, You can use VS 2015 to build your toolbox but to distribute it you need to provide runtime libraries or install VS 2015 runtime on target computer. (https://www.microsoft.com/en-us/download/details.aspx?id=48145) Scilab 6 beta 2 provides only VS 2013 runtime libraries At Scilab s

Re: [Scilab-users] Interfacing to third party DLLs

2017-01-19 Thread antoine . elias
Hello James, inputs arguments of your interface must be pointers, Scilab manage data as matrix ( arrays in C ) So a scalar variable `A` become a `double A[1];` prototype must be like this : void Add(double* a, double* b, double* c); I made some changes is yours files, take a look, I hope tha

Re: [Scilab-users] How to get a C compiler for Scilab 6.0.0

2017-02-17 Thread antoine . elias
Hello Vic, For compilation of Scilab, we provide Visual Studio 2013 solution. For compilation of toolbox/code, you can use VS2010, VS2012, VS2013 and VS2015. Scilab 6 on Windows provides Visual C++ redistributable 2013. So for better compatibility/portability, I suggest you use VS2013 ( Pro o

Re: [Scilab-users] "findmsvccompiler" is buggy!?

2017-03-23 Thread antoine . elias
Hello, Can you try with : setenv("SCILAB_PREFERED_MSVC","msVC140pro") I have 4 versions of VS on my computer and I can switch without trouble. Regards, Antoine Le 2017-03-23 21:55, Dirk Reusch a écrit : > Hello, > > Having installed VS 2013 ("msvc120express") and VS 2015 ("msvc140pro") > a

Re: [Scilab-users] "findmsvccompiler" is buggy!?

2017-03-23 Thread antoine . elias
Well it seems that someone have some problem with copy/paste ( me ^^ ) fix -> https://codereview.scilab.org/#/c/19226/ But on my computer with 6.0.0 release: --> findmsvccompiler //default value ans = msvc120pro --> setenv("SCILAB_PREFERED_MSVC","msvc140pro"); --> findmsvccompiler ans =

Re: [Scilab-users] addinter: Unknown error depending on scilab build

2017-07-03 Thread Antoine ELIAS
Hello Erik, SCI/bin is in library path when Scilab is running but DW can not know that. Please, do not copy Scilab dlls in your dll path, Scilab dlls have another dependencies that can not be resolved. Can you explain us your initial trouble ? Antoine Le 29/06/2017 à 12:55, E_Ben a écrit : I

Re: [Scilab-users] [Scilab-Dev] Scilab forge down

2017-11-07 Thread Antoine ELIAS
Hello all, Since Tuesday evening, services around xxx.scilab.org are interrupted by a hardware failure of an internal connection. ISP is working on it. In the meantime, ITs start to move servers ( VM ) to another site. They started by the mailing list server. I do not have more information exc

Re: [Scilab-users] File exist function?

2018-01-25 Thread Antoine ELIAS
Hello Claus, You can use "isfile" function to check existence if a file and "isdir" for folder. https://help.scilab.org/docs/6.0.0/en_US/isfile.html https://help.scilab.org/docs/6.0.0/en_US/isdir.html Regards, Antoine Le 25/01/2018 à 17:43, Claus Futtrup a écrit : Dear Scilabers I wish to ch

Re: [Scilab-users] uicontrol tab

2018-02-26 Thread Antoine ELIAS
#x27;,'visible','off'); // handles.dummy = 0; handles.tabframe = uicontrol (f,'Style','tab','Position',[0.05625,0.0541667,0.7921875,0.8729167],'Visible','on','String','tab1'); I also have button controls but th

Re: [Scilab-users] ATOMS error (Scilab 6.0.1)

2018-07-21 Thread Antoine ELIAS
Hello, Trouble comes from a bug in mgetl function. (Windows only) Patch was validated this morning. From tomorrow you can use nightly build version to avoid this. http://www.scilab.org/en/development/nightly_builds/branch60 Sorry for inconvenience. Antoine Le 21/07/2018 à 11:50, arctica1963 a éc

Re: [Scilab-users] Counter of pointers to an XML object, and clear destructor

2018-07-29 Thread Antoine ELIAS
Hello Samuel, In XMLObject there is two levels of reference,  - one on MList (managed by reference counter)  - one on internal XMLObject (internally manager like handle, an integer that link to a C++ object) xmlDelete destroy internal XMLObject clear destroy (unreference and destroy if ref <=

Re: [Scilab-users] == and : relative priorities, as in 0==-1:1

2018-07-31 Thread Antoine ELIAS
Haha, I was referring to Matlab. It was a private joke with Bruno. Sorry about for misunderstanding. Antoine Le 31/07/2018 à 22:20, Rafael Guerra a écrit : Le 31/07/2018 à 21:51, Samuel Gougeon a écrit : It is somewhat reported here (in 2011..

Re: [Scilab-users] Scilab from Powershell

2018-10-26 Thread Antoine ELIAS
Hello, I made a quick test and it seems to work ( curiosity ... I never used powershell with Scilab ) ps.sce : PS E:\git\6.0\scilab> $objScilab.SendScilabJob("exec('d:\tests\ps.sce', -1);")    0.3616361   0.4826472   0.5015342   0.6325745    0.2922267   0.3321719   0.4368588   0.4051954  

Re: [Scilab-users] Unexpected END OF FILE

2019-01-30 Thread Antoine ELIAS
Hello Frederico, On Windows, you should open your file in binary mode, with "rb". --> fd = mopen("440Hz_0.2s.wav", "rb"); --> h = mgeti(1000, "uc", fd); --> size(h)  ans  =    1.   1000. --> dec2hex(h(1:5))  ans  = !52  49  46  46  84  ! Regards, Antoine Le 30/01/2019 à 23:02, Federico Miyara a

Re: [Scilab-users] nightly build (latest) release

2019-01-31 Thread Antoine ELIAS
Thank you Paul ! It seems that in the packaged Windows version some files are missing in xml module. I will fix that asap. Antoine Le 31/01/2019 à 10:39, Carrico, Paul a écrit : Just a feedback on the latest branch/nightly build release I downloaded this moring: -Scilab opens and immediat

Re: [Scilab-users] A gateway example in the current scilab-6.0.1 source still remaining in the scilab 5.5.2 old Scilab C API version.

2019-02-01 Thread Antoine ELIAS
Hello René, With Scilab 5.3.0, late of 2010, we have introduce a new API that will be compatible with new Scilab 6 environment. The goal was to depreciate stackx.h interface too dependent on the format of the old data storage format. ( called "stack" ). This interface is defined in Scilab docum

Re: [Scilab-users] create figure without toolbar, etc

2019-04-17 Thread Antoine ELIAS
Hello Philipp, The "bar" with the question mark is the docking system, to allow you to drag the window in an other Scilab window. If you don't want dockable system on your window you can set "dockable" to "off" at *creation time*. f = figure("dockable", "off", "toolbar_visible", "off", "menu

Re: [Scilab-users] Make Variable visible in Scilab from a SCE-script in a toolbox

2019-05-10 Thread Antoine ELIAS
Hello, You can use "resume" to return values in caller environment. In case of callbacks from gui interaction, caller is always "console" scope. In your callback do something like "data = resume(a);" That's create or overwrite "data" with the contents of "a" Example : xdel(winsid()); clear cre

Re: [Scilab-users] display of complex/not real numbers, again

2019-09-12 Thread Antoine ELIAS
Hello Stéphane, In Scilab 6.0.2 without format("e", 24) --> h = %eps/128, x0=%pi/4  h  =    1.735D-18  x0  =    0.7853982 --> (cos(x0+h)-cos(x0-h))/2/h  ans  =    0. --> cos(x0+%i*h)  ans  =    0.7071068 --> imag(cos(x0+%i*h))/h  ans  =   -0.7071068 --> -sin(x0)  ans  =   -0.7071068 It see

Re: [Scilab-users] How to convert the ~ input placeholder <= Re: convert matlab code to scilab

2019-11-26 Thread Antoine ELIAS
Hello, Or when you have to write a function following a specific prototype ( graphic events, optim, ode, ...) If I would write a function that call another, I have to specify a prototype to allow user to call my function. But in some case, the final user does not need all parameters so he can

Re: [Scilab-users] Palette Builder failed with scilab 6.1.0 nightly build - Bugzilla #16332

2020-02-21 Thread Antoine ELIAS
Oops my bad o/ I removed support for some very old versions of VS/VC but it seems I forgot some references. Thank you to report, I will fix that soon. Regards, Antoine Le 21/02/2020 à 18:45, Perrichon a écrit : Hello, I created several years ago my palette SEGPAL for additional component

Re: [Scilab-users] simp_mode odesn't seem to work

2020-08-27 Thread antoine . elias
Hello Federico, simp_mode is a function not a variable, use : simp_mode(%f); Regards, Antoine Le 27/08/2020 à 09:50, Federico Miyara a écrit : > Dear All, > > I need to have examples of rationals with very close poles and zeros, but the > simp engine simplifies them. This is awkward,

Re: [Scilab-users] Read file (.txt)

2020-09-09 Thread antoine . elias
Hello Daniel, Do you have try with "evstr" function ? data = evstr(mgetl("output.txt")); Regards, Antoine ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users

Re: [Scilab-users] output buffer

2022-06-17 Thread antoine . elias
Hello Jean-Yves, I tried to reproduce the problem but without success. Could you give us an example ? With mine, I generate a file with 8192 lines of 26624 characters. a = "a":"z"; for i = 1:10, a = a + a;end length(a) //26624 form = "%s\n"; for i = 1:13, form = form+form;end length(form) /4 /