Re: [Scilab-users] Scilab 6.1 - Possible GUI Bug

2020-02-25 Thread Chin Luh Tan
sorry, the workaround does not work, the dockable value can only set during 
creation. 





 On Wed, 26 Feb 2020 12:56:37 +0800 Chin Luh Tan 
 wrote 


Hi, 



When trying to update guibuilder for Scilab 6.1, I notice that the figure menu 
is not able to be remove with "delmenu" when the "dockable" is set to "off".



How to reproduce:



Scenario 1: Menu "File" will not be removed

--> f1 = figure("dockable", "off") 

--> delmenu(f1.figure_id, gettext("File"));







Scenario 2: Menu "File" will be removed

-->f1 = figure("dockable", "on")

-->delmenu(f1.figure_id, gettext("File"));





Current workaround: 

-->f1 = figure("dockable", "on")

-->delmenu(f1.figure_id, gettext("File"));

-->f1.dockable = "off";



thanks.



rgds,
CL



___ 
users mailing list 
users@lists.scilab.org 
http://lists.scilab.org/mailman/listinfo/users___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Scilab 6.1 - Possible GUI Bug

2020-02-25 Thread Chin Luh Tan
Hi, 



When trying to update guibuilder for Scilab 6.1, I notice that the figure menu 
is not able to be remove with "delmenu" when the "dockable" is set to "off".



How to reproduce:



Scenario 1: Menu "File" will not be removed

--> f1 = figure("dockable", "off") 

--> delmenu(f1.figure_id, gettext("File"));







Scenario 2: Menu "File" will be removed

-->f1 = figure("dockable", "on")

-->delmenu(f1.figure_id, gettext("File"));





Current workaround: 

-->f1 = figure("dockable", "on")

-->delmenu(f1.figure_id, gettext("File"));

-->f1.dockable = "off";



thanks.



rgds,
CL___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] simulink model to xcos

2020-02-25 Thread Antisen A M
Hi, is there a import function available to convert simulink model to xcos
model?

Thanks
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Scilab 6.1.0 - MinGW

2020-02-25 Thread Perrichon
Hello

Many Thanks to Antoine for reintroducing MinGW tools in atom pack and plug,
after all discussions on email and phone last week-end, for compiling
palette in xcos with no errors and no warnings in c++.

Include files are ok now (.h)

Buider is ok. After other problems to discuss.

BR

Pierre P.

 

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 6.1.0 is available!

2020-02-25 Thread Heinz Nabielek
Thanks  

Greetings from Heinz

> On 25.02.2020, at 17:09, Clément David  wrote:
> 
> Hello Heinz,
> 
> The macOS version is still in progress, we don't have any access to a macOS 
> machine anymore and there are hard issues reported by Stephane (a hard crash 
> in GUI mode, the required JVM installation, a non-signed packaging, at 
> least...). So yes, we rely on the community (and especially Stephane) to ship 
> a macOS binary; if you are willing to help, please contact him and keep in 
> mind that it is a very complex task.
> 
> Note: this was also the case for Scilab 6.0.0 to 6.0.2.
> 
> Regards,
> 
> --
> Clément
> 
>> -Original Message-
>> From: Heinz Nabielek 
>> Sent: Tuesday, February 25, 2020 4:52 PM
>> To: Users mailing list for Scilab ; Clément David
>> 
>> Cc: List dedicated to the development of Scilab 
>> Subject: Re: [Scilab-users] Scilab 6.1.0 is available!
>> 
>> And where is the Mac version?
>> Heinz
>> 
>> 
>> 
>> 
>>> On 25.02.2020, at 14:10, Clément David 
>> wrote:
>>> 
>>> Dear Scilab-ers,
>>> 
>>> A brand new Scilab 6.1.0 is released today!
>>> 
>>> This version includes further improvement atop Scilab 6.0 for better 
>>> stability
>> and increased algorithm performance. It also includes a reworked display for
>> more compact and meaningful value printing; web tools for HTTP, JSON support;
>> better debug support and various algorithm rewrite/extension.
>>> 
>>> This first iteration of the 6.1 branch fixes up to 245 bugs and implements
>> missing features from the 6.0.2 version. We would like to give a special 
>> thanks
>> to Samuel and Stephane who have been very active this year.
>>> 
>>> If you find any critical issue or instability that might need a 6.1.x 
>>> release please
>> alert us. If you are a toolbox maintainer, please rebuild your code, upgrade 
>> it
>> when needed and publish it to atoms.scilab.org.
>>> 
>>> For the complete list of changes and bugs fixed, please take a look at the
>> CHANGES  file.
>>> 
>>> --
>>> Clément on behalf of the Scilab team
>>> ___
>>> users mailing list
>>> users@lists.scilab.org
>>> http://lists.scilab.org/mailman/listinfo/users
> 
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] several problems with xcos scilab 6.1.0

2020-02-25 Thread Clément David
Hello Pierre,

This change was introduced 6 months ago and is coherent to the default scope 
window for a beginner. This is the default settings that apply only to any new 
schema, for any saved Xcos diagram the previous value should be preserved; if 
not please report a bug.

Note: while investigating your issue, I tested the Xcos preferences and it 
failed to set up a default final simulation time; this is a bug reported at 
http://bugzilla.scilab.org/show_bug.cgi?id=16336

Regards,

--
Clément

From: users  On Behalf Of Perrichon
Sent: Tuesday, February 25, 2020 5:04 PM
To: 'Users mailing list for Scilab' 
Subject: Re: [Scilab-users] several problems with xcos scilab 6.1.0

For Kaplan turbine time simulation is 600s at least. Why the default time is 30 
s ? Please program it at + infinity  that is 1000 s.


De : Perrichon mailto:perrichon.pie...@wanadoo.fr>>
Envoyé : mardi 25 février 2020 16:57
À : 'Users mailing list for Scilab' 
mailto:users@lists.scilab.org>>
Objet : several problems with xcos scilab 6.1.0

Hello,
Even if it is minor, apparently somebody has decided to define the time 
simulation to 30 s by default. Why ? I don't know
Before, it was 1.0E05 s and I stop the simulation with the END box in my main 
scheme. (to avoid user to go on this menu and choose another solver, at least). 
(choose is Newton for me , so the default one)
So I've hundred shemes to see

And this is not the first surprise.

Others tests don't work anymore

I can do tests to correct that, but it was not foreseen.

I still believe to go on with 6.1.0 but keep aware because not so clear with 
xcos

Pierre P.



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 6.1.0 is available!

2020-02-25 Thread Clément David
Hello Heinz,

The macOS version is still in progress, we don't have any access to a macOS 
machine anymore and there are hard issues reported by Stephane (a hard crash in 
GUI mode, the required JVM installation, a non-signed packaging, at least...). 
So yes, we rely on the community (and especially Stephane) to ship a macOS 
binary; if you are willing to help, please contact him and keep in mind that it 
is a very complex task.

Note: this was also the case for Scilab 6.0.0 to 6.0.2.

Regards,

--
Clément

> -Original Message-
> From: Heinz Nabielek 
> Sent: Tuesday, February 25, 2020 4:52 PM
> To: Users mailing list for Scilab ; Clément David
> 
> Cc: List dedicated to the development of Scilab 
> Subject: Re: [Scilab-users] Scilab 6.1.0 is available!
> 
> And where is the Mac version?
> Heinz
> 
> 
> 
> 
> > On 25.02.2020, at 14:10, Clément David 
> wrote:
> >
> > Dear Scilab-ers,
> >
> > A brand new Scilab 6.1.0 is released today!
> >
> > This version includes further improvement atop Scilab 6.0 for better 
> > stability
> and increased algorithm performance. It also includes a reworked display for
> more compact and meaningful value printing; web tools for HTTP, JSON support;
> better debug support and various algorithm rewrite/extension.
> >
> > This first iteration of the 6.1 branch fixes up to 245 bugs and implements
> missing features from the 6.0.2 version. We would like to give a special 
> thanks
> to Samuel and Stephane who have been very active this year.
> >
> > If you find any critical issue or instability that might need a 6.1.x 
> > release please
> alert us. If you are a toolbox maintainer, please rebuild your code, upgrade 
> it
> when needed and publish it to atoms.scilab.org.
> >
> > For the complete list of changes and bugs fixed, please take a look at the
> CHANGES  file.
> >
> > --
> > Clément on behalf of the Scilab team
> > ___
> > users mailing list
> > users@lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/users

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 6.1.0 is available!

2020-02-25 Thread Heinz Nabielek
And where is the Mac version?
Heinz




> On 25.02.2020, at 14:10, Clément David  wrote:
> 
> Dear Scilab-ers,
>  
> A brand new Scilab 6.1.0 is released today!
>  
> This version includes further improvement atop Scilab 6.0 for better 
> stability and increased algorithm performance. It also includes a reworked 
> display for more compact and meaningful value printing; web tools for HTTP, 
> JSON support; better debug support and various algorithm rewrite/extension. 
>  
> This first iteration of the 6.1 branch fixes up to 245 bugs and implements 
> missing features from the 6.0.2 version. We would like to give a special 
> thanks to Samuel and Stephane who have been very active this year.
>  
> If you find any critical issue or instability that might need a 6.1.x release 
> please alert us. If you are a toolbox maintainer, please rebuild your code, 
> upgrade it when needed and publish it to atoms.scilab.org.
>  
> For the complete list of changes and bugs fixed, please take a look at the 
> CHANGES  file.
>  
> --
> Clément on behalf of the Scilab team
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] several problems with xcos scilab 6.1.0

2020-02-25 Thread Perrichon
For Kaplan turbine time simulation is 600s at least. Why the default time is
30 s ? Please program it at + infinity  that is 1000 s.

 

 

De : Perrichon  
Envoyé : mardi 25 février 2020 16:57
À : 'Users mailing list for Scilab' 
Objet : several problems with xcos scilab 6.1.0

 

Hello,

Even if it is minor, apparently somebody has decided to define the time
simulation to 30 s by default. Why ? I don’t know

Before, it was 1.0E05 s and I stop the simulation with the END box in my
main scheme. (to avoid user to go on this menu and choose another solver, at
least). (choose is Newton for me , so the default one)

So I’ve hundred shemes to see

 

And this is not the first surprise.

 

Others tests don’t work anymore

 

I can do tests to correct that, but it was not foreseen.

 

I still believe to go on with 6.1.0 but keep aware because not so clear with
xcos

 

Pierre P.

 

 

 

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] several problems with xcos scilab 6.1.0

2020-02-25 Thread Perrichon
Hello,

Even if it is minor, apparently somebody has decided to define the time
simulation to 30 s by default. Why ? I don't know

Before, it was 1.0E05 s and I stop the simulation with the END box in my
main scheme. (to avoid user to go on this menu and choose another solver, at
least). (choose is Newton for me , so the default one)

So I've hundred shemes to see

 

And this is not the first surprise.

 

Others tests don't work anymore

 

I can do tests to correct that, but it was not foreseen.

 

I still believe to go on with 6.1.0 but keep aware because not so clear with
xcos

 

Pierre P.

 

 

 

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 6.1.0 is available!

2020-02-25 Thread Claus Futtrup


Congratulations!

Don't forget to announce on LinkedIn, so I can give it a thumbs up.
https://www.linkedin.com/groups/3688414/

Cheers,
Claus

On 25.02.2020 14:10, Clément David wrote:


Dear Scilab-ers,

A brand new Scilab 6.1.0  is 
released today!


This version includes further improvement atop Scilab 6.0 for better 
stability and increased algorithm performance. It also includes a 
reworked display for more compact and meaningful value printing; web 
tools for HTTP, JSON support; better debug support and various 
algorithm rewrite/extension.


This first iteration of the 6.1 branch fixes up to 245 bugs and 
implements missing features from the 6.0.2 version. We would like to 
give a special thanks to Samuel and Stephane who have been very active 
this year.


If you find any critical issue or instability that might need a 6.1.x 
release please alert us . If you are a 
toolbox maintainer, please rebuild your code, upgrade it when needed 
and publish it to atoms.scilab.org .


For the complete list of changes and bugs fixed, please take a look at 
the CHANGES   file.


--

Clément on behalf of the Scilab team


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab 6.1.0 is available!

2020-02-25 Thread Samuel Enibe
This is good news indeed. We have been looking forward to this release.
Thanks to all of you working behind the scenes. God bless you.
Samuel Enibe

On Tue, 25 Feb 2020, 14:11 Clément David, 
wrote:

> Dear Scilab-ers,
>
>
>
> A brand new Scilab 6.1.0  is
> released today!
>
>
>
> This version includes further improvement atop Scilab 6.0 for better
> stability and increased algorithm performance. It also includes a reworked
> display for more compact and meaningful value printing; web tools for HTTP,
> JSON support; better debug support and various algorithm rewrite/extension.
>
>
>
> This first iteration of the 6.1 branch fixes up to 245 bugs and implements
> missing features from the 6.0.2 version. We would like to give a special
> thanks to Samuel and Stephane who have been very active this year.
>
>
>
> If you find any critical issue or instability that might need a 6.1.x
> release please alert us . If you are a
> toolbox maintainer, please rebuild your code, upgrade it when needed and
> publish it to atoms.scilab.org.
>
>
>
> For the complete list of changes and bugs fixed, please take a look at the
> CHANGES   file.
>
>
>
> --
>
> Clément on behalf of the Scilab team
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Scilab 6.1.0 is available!

2020-02-25 Thread Clément David
Dear Scilab-ers,



A brand new Scilab 6.1.0 is released 
today!



This version includes further improvement atop Scilab 6.0 for better stability 
and increased algorithm performance. It also includes a reworked display for 
more compact and meaningful value printing; web tools for HTTP, JSON support; 
better debug support and various algorithm rewrite/extension.



This first iteration of the 6.1 branch fixes up to 245 bugs and implements 
missing features from the 6.0.2 version. We would like to give a special thanks 
to Samuel and Stephane who have been very active this year.



If you find any critical issue or instability that might need a 6.1.x release 
please alert us. If you are a toolbox maintainer, 
please rebuild your code, upgrade it when needed and publish it to 
atoms.scilab.org.



For the complete list of changes and bugs fixed, please take a look at the 
CHANGES  file.



--

Clément on behalf of the Scilab team
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Line integrals

2020-02-25 Thread Stéphane Mottelet

Hello,

You can use intg, once you have forged the correct function of the 
parameter:


function  out=parabola(t)
out  =  [t/2;t^2];
endfunction

function  out=my_f(M)
out  =  2*M(1);
endfunction

function  out=line_int(a, b, curve, f)
function  out=fun(t, f, curve)
dcurve  =  imag(curve(t+%eps*%i))/%eps;
out  =  f(curve(t))*norm(dcurve)
 end
 out  =  intg(a,b,list(fun,f,curve))
endfunction

--> line_int(0,6,parabola,my_f)
 ans  =

   144.36474604669

The derivative of the curve w.r.t. the parameter is computed by using 
the complex step.


S.

Le 25/02/2020 à 10:35, arctica1963 a écrit :

Hello all,

I am interested in doing line integrals on f(x,y) and f(x,y,z) for scalar
and vector calculations.

It is not an issue to do mathematically, but not so clear in Scilab how
variable substitution should work in this process. As I understand it, one
has to take the function and convert it to a parametric form in x,y,(z) in
order to reduce the integrand to a single variable (e.g. t) that can be
integrated simply.

Now, clearly it is not a problem to do the substitutions by hand and then
run the Scilab function (Integrate), but nice to simplify the procedure.

For the integral over a path (C) of f(x,y) ds, x and y have to be parametric
e.g. x(t) and y(t),
where ds = sqrt( (dx(t)/dt)^2 + (dy(t)/dt)^2 ) dt

Is there a simple route to solve line integrals in Scilab or building a
function to do this?
e.g. LineIntegral(expr,x(t),y(t),t,a,b), where x(t) and y(t) are the
parametric forms.

A very simple problem:

f(x,y) = 2*x with x(t)=t/2 and y(t)=t^2 for t=0 to 6
Substitution for x and y and solving the integral over t should result in
144.36 approx.

Any pointers would be useful. Could not see any reference in the mailing
list or help on this.

Thanks
Lester



--
Sent from: 
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users


--
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Line integrals

2020-02-25 Thread arctica1963
Hello all,

I am interested in doing line integrals on f(x,y) and f(x,y,z) for scalar
and vector calculations.

It is not an issue to do mathematically, but not so clear in Scilab how
variable substitution should work in this process. As I understand it, one
has to take the function and convert it to a parametric form in x,y,(z) in
order to reduce the integrand to a single variable (e.g. t) that can be
integrated simply.

Now, clearly it is not a problem to do the substitutions by hand and then
run the Scilab function (Integrate), but nice to simplify the procedure.

For the integral over a path (C) of f(x,y) ds, x and y have to be parametric
e.g. x(t) and y(t),
where ds = sqrt( (dx(t)/dt)^2 + (dy(t)/dt)^2 ) dt

Is there a simple route to solve line integrals in Scilab or building a
function to do this? 
e.g. LineIntegral(expr,x(t),y(t),t,a,b), where x(t) and y(t) are the
parametric forms.

A very simple problem:

f(x,y) = 2*x with x(t)=t/2 and y(t)=t^2 for t=0 to 6
Substitution for x and y and solving the integral over t should result in
144.36 approx.

Any pointers would be useful. Could not see any reference in the mailing
list or help on this.

Thanks
Lester



--
Sent from: 
http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] how to integrate Scilab into Moodle - options and experiences

2020-02-25 Thread Suzana Uran
Hi all,

I'm interested in integration of Scilab with Learning Management System
(LMS) Moodle. Because Moodle is  a LMS used by our university (University of
Maribor, Slovenia). 

 

I would be very glad if you could provide me examples of good praxis and
your experiences on this topics. 

 

Best regards,

Uran Suzana, FERI, University of Maribor

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users