diff options
Diffstat (limited to 'loader.sce')
-rw-r--r-- | loader.sce | 31 |
1 files changed, 9 insertions, 22 deletions
@@ -1,23 +1,10 @@ // This file is released under the 3-clause BSD license. See COPYING-BSD. -// Generated by builder.sce : Please, do not edit this file -// ---------------------------------------------------------------------------- -// -libFOSSEE_Scilab_in_path = get_absolute_file_path('loader.sce'); -// -// ulink previous function with same name -[bOK, ilib] = c_link('libFOSSEE_Scilab_intqpipopt'); -if bOK then - ulink(ilib); -end -// -list_functions = [ 'inter_fminunc'; - 'inter_fminbnd'; - 'inter_fmincon'; -]; -addinter(libFOSSEE_Scilab_in_path + filesep() + 'libFOSSEE_Scilab_intqpipopt' + getdynlibext(), 'libFOSSEE_Scilab_intqpipopt', list_functions); -// remove temp. variables on stack -clear libFOSSEE_Scilab_in_path; -clear bOK; -clear ilib; -clear list_functions; -// ---------------------------------------------------------------------------- +// Generated by builder.sce: Please, do not edit this file + +try + getversion("scilab"); +catch + error("Scilab 5.0 or more is required."); +end; + +exec(get_absolute_file_path("loader.sce")+"etc/"+"FOSSEE_Optimization_Toolbox.start"); |