From 4b64cf486f5c999fd8167758cae27839f3b50848 Mon Sep 17 00:00:00 2001 From: Harpreet Date: Sat, 3 Sep 2016 00:34:27 +0530 Subject: Structure updated and intqpipopt files added --- newstructure/sci_gateway/loader_gateway.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 newstructure/sci_gateway/loader_gateway.sce (limited to 'newstructure/sci_gateway/loader_gateway.sce') diff --git a/newstructure/sci_gateway/loader_gateway.sce b/newstructure/sci_gateway/loader_gateway.sce new file mode 100644 index 0000000..6809d99 --- /dev/null +++ b/newstructure/sci_gateway/loader_gateway.sce @@ -0,0 +1,24 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// Generated by builder_gateway.sce: Please, do not edit this file + +try + v = getversion("scilab"); +catch + v = [ 5 0 ]; // or older +end +if (v(1) <= 5) & (v(2) < 3) then + // new API in scilab 5.3 + error(gettext("Scilab 5.3 or more is required.")); +end + +sci_gateway_dir = get_absolute_file_path("loader_gateway.sce"); +current_dir = pwd(); + +chdir(sci_gateway_dir); +if ( isdir("cpp") ) then + chdir("cpp"); + exec("loader.sce"); +end + +chdir(current_dir); +clear sci_gateway_dir current_dir v; -- cgit