Re: [Scilab-users] Toolbox for Scilab 6

2018-08-04 Thread Samuel Gougeon

Le 04/08/2018 à 21:54, Claus Futtrup a écrit :

Hi there

Is there anyone who could help me with the CMA-ES optimization toolbox 
for Scilab 6?


I wasn't successful in creating a functioning toolbox for Scilab 5 in 
the first place.


Yet, you have published some binaries...

What are the problems?
Since there is no unit test, we could expect that examples work. But 
they don't.

And they can't. Examples:

 * cma_ask, cma_new: the examples include
 o a call to cma_stop(), but there is no page for it. => Please
   document it, or remove it from the example..
 o some calls to undefined fitfun()...
 * cma_optim:
 o the first line uses getf(), that was removed from Scilab 5.3.0
   (2010-12-16..) << 5.5
 o again, fitfun is called without being defined. Now we understand
   its meaning.
 * cma_tell:
 o y(i) = costf(X(i)); // costf needs to be defined   ==> ??

If there are no unit tests, not a single complete runnable example, no 
code up-to-date with at least Scilab 5.4 (for which the first release 
was published), your question is not just about getting help to port the 
module from Scilab 5.4 to 5.5 and 6.0...


About the macros: some advices to make the code usable on Scilab 6.0 
(and 5):
Most of functions are defined in a single file: cma.sci. In Scilab 6, 
only the first function of the file (or the one having the name of the 
file) is public. Other ones are private, and can be called only by the 
public one.

So, in pratical,

 * split the file cma.sci in as many files .sci as needed. internal
   functions (not documented) that are shared by several separate
   (public or internal) functions must also be defined separately.

Cheers
Samuel


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


[Scilab-users] Toolbox for Scilab 6

2018-08-04 Thread Claus Futtrup

Hi there

Is there anyone who could help me with the CMA-ES optimization toolbox 
for Scilab 6?


I wasn't successful in creating a functioning toolbox for Scilab 5 in 
the first place.


Best regards,

Claus


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

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


[Scilab-users] Bioinformatics for Scilab 6

2018-08-04 Thread Samuel Gougeon

Hello,

The Bioinformatics toolbox from DCB is now ported to Scilab 6:

ATOMS: https://atoms.scilab.org/toolboxes/BTD/1.1

User manual: 
https://atoms.scilab.org/toolboxes/BTD/1.1/files/Bioinformatics_BTD_1.1_user_manual.pdf


Regards

Samuel

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


Re: [Scilab-users] Getting netCDF files into Scilab 6.0.1

2018-08-04 Thread arctica1963
As a general point, anyone know when the SciNetCdf package will be updated
for 6.0.1 ?

It fails to run/install on 6.0.1 because it references an older library (for
use in 5.5.2).



--
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