Re: [Scilab-users] bug report on http://wiki.scilab.org/howto/global%20and%20local%20variables

2014-01-29 Thread Stefan Du Rietz

On 2014-01-28 18:42, Serge Steer wrote:


Le 28/01/2014 17:14, Adrien Vogt-Schilb a écrit :

The page does not mention pause


Just because pause behave similarily to  functions with respect to
calling context


And you think the fact that it behaves equal to (not similar to) 
functions is self-evident?


Of course, I have read help *pause*:

Switch to the pause mode; inserted in the code of a function, pause 
interrupts the execution of the function: one receives a prompt symbol 
which indicates the level of the pause (e.g. -1-). The user is then 
in a new workspace in which all the lower-level variables (and in 
particular all the variable of the function) are available.


I have therefore always thought that the given prompt symbol -1- was 
the level of the function (see the link below), and that I still was 
at that level!


Stefan


http://wiki.scilab.org/howto/global%20and%20local%20variables

sorry, o busy to file a bug



___
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] Intersection of wavy surfaces

2014-01-29 Thread Samuel Gougeon

Hello Christophe,

Le 29/01/2014 16:56, Dang, Christophe a écrit :

.../..

So:

does anyone have any suggestion to improve the rendering?

after surf(), you may use:
s = gce();
s.thickness = 0; // removing the mesh

Does anyone have a guess about the bug of vector graphic export?

It is reported there: http://bugzilla.scilab.org/show_bug.cgi?id=13150
It behaves like a serious memory leak.

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


[Scilab-users] New ATOMS toolbox - what now?

2014-01-29 Thread Claus Futtrup

Hi there

I created an ATOMS toolbox for the CMA-ES optimization algorithm. You 
can find it here:


https://atoms.scilab.org/toolboxes/CMA-ES

Question 1: Status This module is being packaged ... How long shall I 
wait? I have waited 9 days so far.


During creation of this ATOMS toolbox I could not test in Scilab because 
Scilab will not load ATOMS (zip) package because of a missing 
DESCRIPTION file. Very irritating, and without much help, so I made one 
- but it still didn't work.


I uploaded the ATOMS toolbox even though strictly speaking I could not 
load it into Scilab. I was unable to test ... I wrote this bug report:


http://bugzilla.scilab.org/show_bug.cgi?id=13209

As far as I can see this bug report has gotten nowhere.

Someone please help me.

Most importantly, please help me finish packing the CMA-ES ATOMS 
package, so that I can load it into Scilab and test it (and then improve 
the package - e.g. with much better documentation).


I would like to add a good example to the help file (fully executable), 
explain the difference between functional and object-oriented execution, 
and I'd like to add some nice demos, e.g. of the entire BBOB test suite 
- that would be cool... but there's no point in doing this if the 
package is not up to Scilab code and/or cannot work 100%.


I need help.

/Claus

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

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


Re: [Scilab-users] New ATOMS toolbox - what now?

2014-01-29 Thread Samuel Gougeon

Hi Claus,

Before being available in automatic mode  through ATOMS, you may
- either use ATOMS functions to manage the package as downloaded by hand
- or unzip it into the contrib directory, as an external package. Then, 
it should appear
  in the /Modules/ menu of the console (for forthcoming sessions), and 
be loadable by hand

  by clicking on it in the menu.

HTH
Samuel

Le 29/01/2014 20:24, Claus Futtrup a écrit :

.../...

Someone please help me.

Most importantly, please help me finish packing the CMA-ES ATOMS 
package, so that I can load it into Scilab and test it (and then 
improve the package - e.g. with much better documentation).


I would like to add a good example to the help file (fully 
executable), explain the difference between functional and 
object-oriented execution, and I'd like to add some nice demos, e.g. 
of the entire BBOB test suite - that would be cool... but there's no 
point in doing this if the package is not up to Scilab code and/or 
cannot work 100%.


I need help.

/Claus


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


Re: [Scilab-users] bug report on http://wiki.scilab.org/howto/global%20and%20local%20variables

2014-01-29 Thread Stefan Du Rietz

On 2014-01-29 20:03, Stefan Du Rietz wrote:


On 2014-01-28 18:42, Serge Steer wrote:


Le 28/01/2014 17:14, Adrien Vogt-Schilb a écrit :

The page does not mention pause


Just because pause behave similarily to  functions with respect to
calling context


And you think the fact that it behaves equal to (not similar to)
functions is self-evident?

Of course, I have read help *pause*:

Switch to the pause mode; inserted in the code of a function, pause
interrupts the execution of the function: one receives a prompt symbol
which indicates the level of the pause (e.g. -1-). The user is then
in a new workspace in which all the lower-level variables (and in
particular all the variable of the function) are available.

I have therefore always thought that the given prompt symbol -1- was
the level of the function (see the link below), and that I still was
at that level!

And, as I have earlier worked with Matlab, I therefore believed that 
*pause* worked like its *keyboard*:

http://www.mathworks.se/help/matlab/ref/keyboard.html

keyboard , when placed in a program .m file, stops execution of the 
file and gives control to the keyboard. The special status is 
indicated by a K appearing before the prompt. You can examine or 
change variables; all MATLAB® commands are valid. This keyboard mode 
is useful for debugging your functions.



Stefan


http://wiki.scilab.org/howto/global%20and%20local%20variables

sorry, o busy to file a bug



___
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




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


Re: [Scilab-users] New ATOMS toolbox - what now?

2014-01-29 Thread Claus Futtrup

Dear Samuel

I have adapted the original source code from Nikolaus Hansen. His source 
for Scilab 5 works perfectly fine. I have all the reason to believe that 
downloading the ZIP file and manually extracting it into a work 
directory will work just fine. This is how I have used the source from 
Nikolaus Hansen for 2-3 years now.


I have also had my friend Sébastien Salmon (author of the PSO toolbox) 
download the zip file from below link to the CMA-ES ATOMS package. He 
confirms it install manually just fine.


What I need is a package where I can write atomsInstall(package) and 
it will install. Unfortunately, as can be seen from the bugzilla report, 
I cannot do this. I get this error:


!--error 1 atomsDESCRIPTIONread: The file 
'C:\Users\Claus\AppData\Local\SCILAB~1.1\.atoms\tmp_1390641250\CMA-ES\DESCRIPTION' 
is not well formated at line 25 at line 224 of function 
atomsDESCRIPTIONread called by : at line 160 of function atomsInstall 
called by : ilab54/Archives/CMA-ES.zip


Please help me setup the ATOMS zip file, so that this error goes away 
and the package can be installed + used as intended. Send the good zip 
file to me. The rest I can take care of (run some development loops to 
make the package perfect).


Best regards,
Claus

On 1/29/2014 20:54, Samuel Gougeon wrote:

Hi Claus,

Before being available in automatic mode  through ATOMS, you may
- either use ATOMS functions to manage the package as downloaded by hand
- or unzip it into the contrib directory, as an external package. 
Then, it should appear
  in the /Modules/ menu of the console (for forthcoming sessions), and 
be loadable by hand

  by clicking on it in the menu.

HTH
Samuel

Le 29/01/2014 20:24, Claus Futtrup a écrit :

.../...

Someone please help me.

Most importantly, please help me finish packing the CMA-ES ATOMS 
package, so that I can load it into Scilab and test it (and then 
improve the package - e.g. with much better documentation).


I would like to add a good example to the help file (fully 
executable), explain the difference between functional and 
object-oriented execution, and I'd like to add some nice demos, e.g. 
of the entire BBOB test suite - that would be cool... but there's no 
point in doing this if the package is not up to Scilab code and/or 
cannot work 100%.


I need help.

/Claus




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




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users