blob: fc86770059b9a7be4c20b15f56c07272eb373030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2008 - INRIA
// Copyright (C) 2010-2011 - DIGITEO - Allan CORNET
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolute_file_path("optimization.dem.gateway.sce");
add_demo(gettext("Optimization and Simulation"), demopath+"optimization.dem.gateway.sce");
subdemolist = [_("Non linear data fitting"), "datafit/datafit.dem.gateway.sce"; ..
_("Optimisation"), "optim/optim.dem.gateway.sce"; ..
_("fminsearch"), "neldermead/neldermead.dem.gateway.sce"];
if with_module("genetic_algorithms") then
subdemolist = [subdemolist; ..
_("Genetic algorithms"), "../../genetic_algorithms/demos/genetic_algorithms.dem.gateway.sce"];
end
if with_module("simulated_annealing") then
subdemolist = [subdemolist; ..
_("Simulated Annealing"), "../../simulated_annealing/demos/simulated_annealing.dem.gateway.sce"];
end
subdemolist(:,2) = demopath + subdemolist(:,2);
endfunction
subdemolist = demo_gateway();
clear demo_gateway;
|