Re: [Scilab-users] Block Rotation when defining through function

2016-09-13 Thread Paul Bignier


Hello,

I guess you are using some Scilab 6 version?

Xcos 6 has been deeply reworked but some graphical bugs remain ; could 
you please report it on the bugzilla ?


Thank you, best regards,

Paul


On 09/13/2016 04:11 PM, nils.leimb...@dlr.de wrote:


Hello!

I am creating an Xcos simulation using functions and scripts.

When trying to rotate a block it will, but the inputs will not behave 
the way I tell them to beforehand (switch sides and rotate 180 degrees).


Am I missing something, or is this a known or unknown bug?

I have attached a screenshot of the code I use to rotate the block and 
switch the inputs, as well as the outcome once opened in Xcos.


I also included a picture of what happens when I run the resulting 
simulation and look at the object data afterwards.


Thanks

Nils



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


--
Paul BIGNIER
Development engineer
---
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
http://www.scilab-enterprises.com

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


Re: [Scilab-users] GUI save and import data

2016-09-13 Thread Rafael Guerra
I am sorry, please discard my previous comment... after further reading of the 
help doc, it does not make sense.

From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of Rafael Guerra
Sent: Tuesday, September 13, 2016 4:14 PM
To: Users mailing list for Scilab 
Subject: Re: [Scilab-users] GUI save and import data


Hi,



Without seeing the details of your code and with no experience with findobj, 
from what I could understand from the help file, the command lines like:   
Q=findobj("tag","Q");

do not sound good.

As findobj outputs an handle to your uicontrol object, you could try:

  hdl = findobj("tag","Q");

  Q = hdl.Q;// or:  Q = evstr(hdl.Q);   if data stored as string

  dpTot =  hdl.dpTot;  // etc..



Regards,

Rafael



-Original Message-
From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of petarf
Sent: Tuesday, September 13, 2016 2:12 PM
To: users@lists.scilab.org
Subject: Re: [Scilab-users] GUI save and import data



Hi, I managed to write function to place new values from txt. file instead of

old values. But now when I run the calculation



Q=findobj("tag","Q"); par(1)=evstr(Q.string);

 dpTot=findobj("tag","dpTot"); par(2)=evstr(dpTot.string);



these set of lines do not read new values. String Q is evaluated as old

value. Any ideas?



Regards,

Petar







--

View this message in context: 
http://mailinglists.scilab.org/GUI-save-and-import-data-tp4034558p4034566.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
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Block Rotation when defining through function

2016-09-13 Thread Nils.Leimbach
Hello!

I am creating an Xcos simulation using functions and scripts.
When trying to rotate a block it will, but the inputs will not behave the way I 
tell them to beforehand (switch sides and rotate 180 degrees).
Am I missing something, or is this a known or unknown bug?

I have attached a screenshot of the code I use to rotate the block and switch 
the inputs, as well as the outcome once opened in Xcos.
I also included a picture of what happens when I run the resulting simulation 
and look at the object data afterwards.

Thanks

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


Re: [Scilab-users] GUI save and import data

2016-09-13 Thread Rafael Guerra
Hi,



Without seeing the details of your code and with no experience with findobj, 
from what I could understand from the help file, the command lines like:   
Q=findobj("tag","Q");

do not sound good.

As findobj outputs an handle to your uicontrol object, you could try:

  hdl = findobj("tag","Q");

  Q = hdl.Q;// or:  Q = evstr(hdl.Q);   if data stored as string

  dpTot =  hdl.dpTot;  // etc..



Regards,

Rafael



-Original Message-
From: users [mailto:users-boun...@lists.scilab.org] On Behalf Of petarf
Sent: Tuesday, September 13, 2016 2:12 PM
To: users@lists.scilab.org
Subject: Re: [Scilab-users] GUI save and import data



Hi, I managed to write function to place new values from txt. file instead of

old values. But now when I run the calculation



Q=findobj("tag","Q"); par(1)=evstr(Q.string);

 dpTot=findobj("tag","dpTot"); par(2)=evstr(dpTot.string);



these set of lines do not read new values. String Q is evaluated as old

value. Any ideas?



Regards,

Petar







--

View this message in context: 
http://mailinglists.scilab.org/GUI-save-and-import-data-tp4034558p4034566.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
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] GUI save and import data

2016-09-13 Thread petarf
Hi, I managed to write function to place new values from txt. file instead of
old values. But now when I run the calculation

 Q=findobj("tag","Q"); par(1)=evstr(Q.string); 
 dpTot=findobj("tag","dpTot"); par(2)=evstr(dpTot.string);

these set of lines do not read new values. String Q is evaluated as old
value. Any ideas?

Regards,
Petar



--
View this message in context: 
http://mailinglists.scilab.org/GUI-save-and-import-data-tp4034558p4034566.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


Re: [Scilab-users] ATOMS web : display issue for statistics categories

2016-09-13 Thread Pierre-Aimé Agnel

Hi Samuel,

This issue has been resolved.

Thank you for the heads up!


Le 23/08/2016 à 18:03, Samuel Gougeon a écrit :

Dear all,

When i try to list atoms modules in the Statistics categories, i get 
an empty list,
despite the number of existing modules is well displayed (please see 
below).

https://atoms.scilab.org/categories/data_analysis_-_statistics

The name of the module / sub-module is not displayed in the "You are 
here: home |." path.

It's OK for all other categories, but displaying this one looks bugged.

Do you get the same?

Regards
Samuel Gougeon




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


--
Pierre-Aimé Agnel

Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.60
http://www.scilab-enterprises.com

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