Re: [Scilab-users] {EXT} function with public variables possible?

2017-02-10 Thread Dang Ngoc Chan, Christophe
Hello,

> De : Erhy
> Envoyé : vendredi 10 février 2017 15:48
>
> Is there a way to have all variables public?

Do you mean something like who() ?

https://help.scilab.org/docs/6.0.0/en_US/who.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.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] function with public variables possible?

2017-02-10 Thread Tim Wescott
Sorry -- just re-read your question and realized what you actually
meant.

I just double-checked this -- if you hit a breakpoint inside a
function, the variable browser shows that functions variables.  Once
you exit the function, the variables that only exist within the
function disappear.

On Fri, 2017-02-10 at 07:48 -0700, Erhy wrote:
> Hello!
> In may first exercises with SCILab functions I was disappointed that
> I cannot see the variables declared and used in the function with
> Variable
> Browser.
> 
> I tried the global statement, but I cannot browse the global
> variables in
> the usual way.
> 
> Is there a way to have all variables public?
> 
> Thank you
> Erhy
> 
> 
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/function
> -with-public-variables-possible-tp4035458.html
> Sent from the Scilab users - Mailing Lists Archives mailing list
> archive at Nabble.com.
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
> 
> 
-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432



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


Re: [Scilab-users] function with public variables possible?

2017-02-10 Thread Tim Wescott
What exactly do you want?

Are you trying to modify global variables from within a function?

Are you trying to pass values from the function to the outside world?

Are you trying to use (but not modify) global variables from within a
function?

Or do you disagree with the way that the variable browser displays
variables?

On Fri, 2017-02-10 at 07:48 -0700, Erhy wrote:
> Hello!
> In may first exercises with SCILab functions I was disappointed that
> I cannot see the variables declared and used in the function with
> Variable
> Browser.
> 
> I tried the global statement, but I cannot browse the global
> variables in
> the usual way.
> 
> Is there a way to have all variables public?
> 
> Thank you
> Erhy
> 
> 
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/function
> -with-public-variables-possible-tp4035458.html
> Sent from the Scilab users - Mailing Lists Archives mailing list
> archive at Nabble.com.
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
> 
> 
-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432



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


[Scilab-users] Examples of linear optimisation

2017-02-10 Thread Pierre Vuillemin

Hi all,

I'm developing a 'modeling tool' for easing optimisation in Scilab: the 
Sopi toolbox 


At the moment, it supports (dense) linear optimisation problems and I 
have added the examples from


https://wiki.scilab.org/Linear%20Programming%20Examples%20in%20Scilab

in the demos.

I am quite interested in some feedbacks if you have any.


Best regards,

Pierre Vuillemin

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


[Scilab-users] function with public variables possible?

2017-02-10 Thread Erhy
Hello!
In may first exercises with SCILab functions I was disappointed that
I cannot see the variables declared and used in the function with Variable
Browser.

I tried the global statement, but I cannot browse the global variables in
the usual way.

Is there a way to have all variables public?

Thank you
Erhy





--
View this message in context: 
http://mailinglists.scilab.org/function-with-public-variables-possible-tp4035458.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users