* Bugs 5824, 7732, 15344 fixed: datafit() upgraded + page overhauled
[scilab.git] / scilab / modules / optimization / demos / optimization.dem.gateway.sce
index fc86770..8271c62 100644 (file)
@@ -7,16 +7,18 @@
 function subdemolist = demo_gateway()
 
     demopath = get_absolute_file_path("optimization.dem.gateway.sce");
-    add_demo(gettext("Optimization and Simulation"), demopath+"optimization.dem.gateway.sce");
+    _("Optimization and Simulation");  // lets gettext() harvesting it
+    add_demo("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"];
+    subdemolist = [
+    _("datafit: Nonlinear fitting"), "datafit/datafit.dem.gateway.sce"
+    _("Optimisation"),  "optim/optim.dem.gateway.sce"
+    _("fminsearch"),    "neldermead/neldermead.dem.gateway.sce"
+    _("ICSE"),          "icse/icse.dem.gateway.sce"
+    ];
 
-    if with_module("genetic_algorithms") then
-        subdemolist = [subdemolist; ..
-        _("Genetic algorithms"), "../../genetic_algorithms/demos/genetic_algorithms.dem.gateway.sce"];
-    end
+    subdemolist = [subdemolist; ..
+    _("Genetic algorithms"), "genetic/genetic_algorithms.dem.gateway.sce"];
 
     if with_module("simulated_annealing") then
         subdemolist = [subdemolist; ..