summaryrefslogtreecommitdiffstats
path: root/scilab/contrib/toolbox_skeleton/demos/toolbox_skeleton.dem.gateway.sce
blob: 09d6bf6a748848adc1120e46412394b0bf6dbf81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
// This file is released under the 3-clause BSD license. See COPYING-BSD.

function subdemolist = demo_gateway()
    demopath = get_absolute_file_path("toolbox_skeleton.dem.gateway.sce");

    subdemolist = ["sum with Scilab"             ,"scilab_sum.dem.sce"; ..
    "A c sum "                    ,"c_sum.dem.sce"     ; ..
    "The sum with fortran"        ,"fortran_sum.dem.sce" ; ..
    "A find in cpp"               ,"cpp_find.dem.sce" ; ];

    subdemolist(:,2) = demopath + subdemolist(:,2);

endfunction

subdemolist = demo_gateway();
clear demo_gateway; // remove demo_gateway on stack