Re: [Scilab-users] The application "scilab-branch-6.1.app" is not open any more.

2020-05-07 Thread Stéphane Mottelet
Please give all outputs of [x,y]=getversion() > Le 7 mai 2020 à 23:06, Heinz Nabielek a écrit : > > --> getversion() > ans = "scilab-branch-6.1" > > but it still says Created: Tuesday, 28. May 2019 at 19:28 after complete > reload and re-installation. > > In any case, everything works pe

Re: [Scilab-users] The application "scilab-branch-6.1.app" is not open any more.

2020-05-07 Thread Heinz Nabielek
--> getversion() ans = "scilab-branch-6.1" but it still says Created: Tuesday, 28. May 2019 at 19:28 after complete reload and re-installation. In any case, everything works perfectly fine, I just a completely upset iMac for a few hours... Heinz > On 07.05.2020, at 21:08, Stéphane Mottel

[Scilab-users] The application "scilab-branch-6.1.app" is not open any more.

2020-05-07 Thread Heinz Nabielek
Suddenly I cannot start. It says The application "scilab-branch-6.1.app" is not open any more. What to do? Had worked nicely for a week Heinz System Version: macOS 10.15.4 (19E287) Kernel Version: Darwin 19.4.0 ___ users mailing lis

Re: [Scilab-users] Variables visibility in functions

2020-05-07 Thread RolandB
Hi, by default, parent level variables will be visible in child level scripts. But once you assign a value to them in the child level script, they will be local variables unless you define something different for them. If you afterwards just leave the child level script without taking special mea

Re: [Scilab-users] Variables visibility in functions

2020-05-07 Thread Stéphane Mottelet
Hi again, Le 07/05/2020 à 21:28, Jakub Kopac a écrit : Dear Stephane, thanks for tip, slint can help, but for me it looks like a manual bypass. Sorry but you were not that clear; > I need to be sure, that function which I convert from script file, will not > use any variable, which is not i

Re: [Scilab-users] Variables visibility in functions

2020-05-07 Thread Jakub Kopac
Dear Stephane, thanks for tip, slint can help, but for me it looks like a manual bypass. What I need, is that for function in level_1 ( https://wiki.scilab.org/howto/global%20and%20local%20variables) variables from level_0 are not visible. is this possible? BR JK št 7. 5. 2020 o 14:40 Stéphan

Re: [Scilab-users] The application "scilab-branch-6.1.app" is not open any more.

2020-05-07 Thread Stéphane Mottelet
Do you have the latest build (20/04/2020) ? S. > Le 7 mai 2020 à 20:13, Heinz Nabielek a écrit : > > Suddenly I cannot start. It says > The application "scilab-branch-6.1.app" is not open any more. > > What to do? > > Had worked nicely for a week > Heinz > > System Version:macOS 10

Re: [Scilab-users] Corona modelling

2020-05-07 Thread Heinz Nabielek
And how does it compare with Johns Hopkins? Heinz > On 07.05.2020, at 13:49, hdf wrote: > > and here are the results, with parameters given: > Sent from the Scilab users - Mailing Lists Archives mailing list archive at > Nabble.com. > ___ > users

Re: [Scilab-users] Scilab integrator

2020-05-07 Thread hdf
Hi Steve, If I were you, I would try to use the following Xcos blocks: Hope this helps HdF - Hervé de Foucault -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html__

Re: [Scilab-users] Variables visibility in functions

2020-05-07 Thread Stéphane Mottelet
Here is a small example. Although the name of fields of returned struct is very cryptic, the information you need can be easily recovered. mputl(["function [y] = foo(x)" "y = x + a" "y = y + b" "endfunction"],"slint_test.sci") out = slint("slint_test.sci",%f) if isfield(out.info,"3.Unini

Re: [Scilab-users] Corona modelling

2020-05-07 Thread hdf
Hello Heinz, Before comparing with John Hopkins' data and try to identify the different parameters I wanted to 'improve' the model. I have read several interesting articles on the web. One of them , written by David Ma

Re: [Scilab-users] Variables visibility in functions

2020-05-07 Thread Antoine Monmayrant
Hello, I am not sure to understand what you want to achieve here. It is not really clear for me. You might be able to hack something using 'exists" but I am not sure that it would fit nicely with the way Scilab is designed... Antoine On 07/05/2020 14:01, kjubo wrote: Dear all, I would lik

Re: [Scilab-users] Overloading "inv" and/or "p" does not seem to work with Scilab 6.1.0

2020-05-07 Thread Stéphane Mottelet
Hi, Le 07/05/2020 à 14:58, CRETE Denis a écrit : Hello, I redefined a few functions in Scilab 6.1.0 to extend them to arrays with 3 dimensions (formerly called hypermatrix). Overloading works with "clean", "multiply", "left division" and "element by element division" (after defining function

[Scilab-users] Overloading "inv" and/or "p" does not seem to work with Scilab 6.1.0

2020-05-07 Thread CRETE Denis
Hello, I redefined a few functions in Scilab 6.1.0 to extend them to arrays with 3 dimensions (formerly called hypermatrix). Overloading works with "clean", "multiply", "left division" and "element by element division" (after defining functions %s_clean, %s_m_s, %s_l_s and %s_d_s). I tried to

Re: [Scilab-users] Variables visibility in functions

2020-05-07 Thread Stéphane Mottelet
Hi, Use Scilab slint tool: https://help.scilab.org/docs/6.1.0/en_US/slint.html S. Le 07/05/2020 à 14:01, kjubo a écrit : Dear all, I would like to ask you, how can I disable visibility of variables from workspace for functions. I need to be sure, that function which I convert from script fi

[Scilab-users] Variables visibility in functions

2020-05-07 Thread kjubo
Dear all, I would like to ask you, how can I disable visibility of variables from workspace for functions. I need to be sure, that function which I convert from script file, will not use any variable, which is not in it input, or defined inside the function itself. Please see examples below. Is

Re: [Scilab-users] Corona modelling

2020-05-07 Thread hdf
and here are the results, with parameters given: -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html___

Re: [Scilab-users] Corona modelling

2020-05-07 Thread hdf
Hello,My contribution, I've done it with Xcos: where you can play with other parameters like a limited immunization (delta), deaths (Mu) etc ...I'm thinking to modelize the healthcare system showing the number of