From ac01f75eaa0475879647e8c6e1343e4c49d7c18c Mon Sep 17 00:00:00 2001 From: rupak Date: Thu, 10 Oct 2019 12:57:46 +0530 Subject: added help for toolbox --- sci_gateway/cpp/sci_matrix_bkup.cpp | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 sci_gateway/cpp/sci_matrix_bkup.cpp (limited to 'sci_gateway/cpp/sci_matrix_bkup.cpp') diff --git a/sci_gateway/cpp/sci_matrix_bkup.cpp b/sci_gateway/cpp/sci_matrix_bkup.cpp deleted file mode 100644 index 071d330..0000000 --- a/sci_gateway/cpp/sci_matrix_bkup.cpp +++ /dev/null @@ -1,32 +0,0 @@ -extern "C" -{ -#include -#include -#include "localization.h" -#include - -static const char fname[] = "octave_fun"; - -int sci_octave_fun(scilabEnv env, int nin, scilabVar* in, int nopt, scilabOpt* opt, int nout, scilabVar* out) - -{ - -if (nin != 0) - { - Scierror(77, _("%s: Wrong number of input argument(s): %d expected.\n"), fname, 2); - return 1; - } - -if (nout != 1) - { - Scierror(77, _("%s: Wrong number of output argument(s): %d expected.\n"), fname, 1); - return 1; - } - - double x = fun(); - - out[0] = scilab_createDouble( env, x); - - return 0; -} -} -- cgit