diff options
Diffstat (limited to 'modules/matio')
360 files changed, 23863 insertions, 0 deletions
diff --git a/modules/matio/.libs/libscimatio-algo.a b/modules/matio/.libs/libscimatio-algo.a Binary files differnew file mode 100755 index 000000000..7a2b2a8d1 --- /dev/null +++ b/modules/matio/.libs/libscimatio-algo.a diff --git a/modules/matio/.libs/libscimatio-algo.la b/modules/matio/.libs/libscimatio-algo.la new file mode 120000 index 000000000..a9c85e3c8 --- /dev/null +++ b/modules/matio/.libs/libscimatio-algo.la @@ -0,0 +1 @@ +../libscimatio-algo.la
\ No newline at end of file diff --git a/modules/matio/.libs/libscimatio.la b/modules/matio/.libs/libscimatio.la new file mode 120000 index 000000000..3b1f35ba5 --- /dev/null +++ b/modules/matio/.libs/libscimatio.la @@ -0,0 +1 @@ +../libscimatio.la
\ No newline at end of file diff --git a/modules/matio/.libs/libscimatio.lai b/modules/matio/.libs/libscimatio.lai new file mode 100755 index 000000000..a071c357b --- /dev/null +++ b/modules/matio/.libs/libscimatio.lai @@ -0,0 +1,41 @@ +# libscimatio.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libscimatio.so.5' + +# Names of this library. +library_names='libscimatio.so.5.5.2 libscimatio.so.5 libscimatio.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -L/home/shashank/scilab-master_5.5.2/usr/lib -lz -lmatio -lhdf5 -lpthread -ldl -lcurses -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscimatio. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=yes + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/matio/.libs/libscimatio.so b/modules/matio/.libs/libscimatio.so new file mode 120000 index 000000000..3746f9125 --- /dev/null +++ b/modules/matio/.libs/libscimatio.so @@ -0,0 +1 @@ +libscimatio.so.5.5.2
\ No newline at end of file diff --git a/modules/matio/.libs/libscimatio.so.5 b/modules/matio/.libs/libscimatio.so.5 new file mode 120000 index 000000000..3746f9125 --- /dev/null +++ b/modules/matio/.libs/libscimatio.so.5 @@ -0,0 +1 @@ +libscimatio.so.5.5.2
\ No newline at end of file diff --git a/modules/matio/.libs/libscimatio.so.5.5.2 b/modules/matio/.libs/libscimatio.so.5.5.2 Binary files differnew file mode 100755 index 000000000..febfd70ca --- /dev/null +++ b/modules/matio/.libs/libscimatio.so.5.5.2 diff --git a/modules/matio/Makefile b/modules/matio/Makefile new file mode 100755 index 000000000..a8cefce9a --- /dev/null +++ b/modules/matio/Makefile @@ -0,0 +1,1625 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# modules/matio/Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2008 - INRIA - Vincent COUVERT <vincent.couvert@inria.fr> +# Copyright (C) 2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# +# This file is distributed under the same license as the Scilab package. + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + + + +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/scilab +pkgincludedir = $(includedir)/scilab +pkglibdir = $(libdir)/scilab +pkglibexecdir = $(libexecdir)/scilab +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \ + $(top_srcdir)/config/depcomp +am__append_1 = java +subdir = modules/matio +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(libscimatio_la_etcdir)" \ + "$(DESTDIR)$(libscimatio_la_rootdir)" \ + "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES) +libscimatio_algo_la_LIBADD = +am__libscimatio_algo_la_SOURCES_DIST = src/nomatio/nomatio.c \ + src/c/matfile_manager.c src/c/CreateMatlabVariable.c \ + src/c/CreateBooleanVariable.c src/c/CreateCharVariable.c \ + src/c/CreateDoubleVariable.c src/c/CreateIntegerVariable.c \ + src/c/CreateHyperMatrixVariable.c src/c/CreateStructVariable.c \ + src/c/CreateSparseVariable.c src/c/CreateCellVariable.c \ + src/c/GetMatlabVariable.c src/c/GetDoubleVariable.c \ + src/c/GetCharVariable.c src/c/GetIntegerVariable.c \ + src/c/GetMlistVariable.c src/c/GetCellVariable.c \ + src/c/GetStructVariable.c src/c/GetSparseVariable.c +am__dirstamp = $(am__leading_dot)dirstamp +#am__objects_1 = \ +# src/nomatio/libscimatio_algo_la-nomatio.lo +am__objects_1 = \ + src/c/libscimatio_algo_la-matfile_manager.lo \ + src/c/libscimatio_algo_la-CreateMatlabVariable.lo \ + src/c/libscimatio_algo_la-CreateBooleanVariable.lo \ + src/c/libscimatio_algo_la-CreateCharVariable.lo \ + src/c/libscimatio_algo_la-CreateDoubleVariable.lo \ + src/c/libscimatio_algo_la-CreateIntegerVariable.lo \ + src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo \ + src/c/libscimatio_algo_la-CreateStructVariable.lo \ + src/c/libscimatio_algo_la-CreateSparseVariable.lo \ + src/c/libscimatio_algo_la-CreateCellVariable.lo \ + src/c/libscimatio_algo_la-GetMatlabVariable.lo \ + src/c/libscimatio_algo_la-GetDoubleVariable.lo \ + src/c/libscimatio_algo_la-GetCharVariable.lo \ + src/c/libscimatio_algo_la-GetIntegerVariable.lo \ + src/c/libscimatio_algo_la-GetMlistVariable.lo \ + src/c/libscimatio_algo_la-GetCellVariable.lo \ + src/c/libscimatio_algo_la-GetStructVariable.lo \ + src/c/libscimatio_algo_la-GetSparseVariable.lo +am_libscimatio_algo_la_OBJECTS = $(am__objects_1) +libscimatio_algo_la_OBJECTS = $(am_libscimatio_algo_la_OBJECTS) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +am__v_lt_1 = +am__DEPENDENCIES_1 = +libscimatio_la_DEPENDENCIES = libscimatio-algo.la \ + $(am__DEPENDENCIES_1) +am__libscimatio_la_SOURCES_DIST = sci_gateway/c/gw_matio.c \ + sci_gateway/c/sci_matfile_open.c \ + sci_gateway/c/sci_matfile_close.c \ + sci_gateway/c/sci_matfile_listvar.c \ + sci_gateway/c/sci_matfile_varreadnext.c \ + sci_gateway/c/sci_matfile_varwrite.c +am__objects_2 = sci_gateway/c/libscimatio_la-gw_matio.lo \ + sci_gateway/c/libscimatio_la-sci_matfile_open.lo \ + sci_gateway/c/libscimatio_la-sci_matfile_close.lo \ + sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo \ + sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo \ + sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo +am_libscimatio_la_OBJECTS = $(am__objects_2) +libscimatio_la_OBJECTS = $(am_libscimatio_la_OBJECTS) +libscimatio_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libscimatio_la_LDFLAGS) $(LDFLAGS) -o \ + $@ +AM_V_P = $(am__v_P_$(V)) +am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I. -I$(top_builddir)/modules/core/includes +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libscimatio_algo_la_SOURCES) $(libscimatio_la_SOURCES) +DIST_SOURCES = $(am__libscimatio_algo_la_SOURCES_DIST) \ + $(am__libscimatio_la_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(libscimatio_la_etc_DATA) $(libscimatio_la_root_DATA) \ + $(libscimatio_la_sci_gateway_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14 +ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ +ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU +AMTAR = $${TAR-tar} +AM_DEFAULT_VERBOSITY = 1 +ANT = /usr/bin/ant +ANTLR = /usr/share/java/antlr.jar +AR = ar +ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack +ASM3 = /usr/share/java/asm3-3.3.2.jar +AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf +AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader +AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14 +AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar +AWK = mawk +BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar +BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas +CC = gcc +CCACHE = +CCDEPMODE = depmode=gcc3 +CFLAGS = -g -O2 +CHECKSTYLE = +COBERTURA = /usr/share/java/cobertura.jar +COMMONS_BEANUTILS = +COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar +COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar +CPP = gcc -E +CPPFLAGS = +CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config +CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz +CURL_VERSION = libcurl 7.19.7 +CXX = g++ +CXXCPP = g++ -E +CXXDEPMODE = depmode=gcc3 +CXXFLAGS = -g -O2 +CYGPATH_W = echo +DEFS = -DHAVE_CONFIG_H +DEMOTOOLS_ENABLE = yes +DEPDIR = .deps +DLLTOOL = false +DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/ +DOXYGEN_BIN = +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar +EGREP = /bin/grep -E +EXEEXT = +F77 = gfortran +FFLAGS = -g -O2 +FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3 +FFTW_ENABLE = yes +FGREP = /bin/grep -F +FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar +FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath +FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar +FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar +FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar +FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar +FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar +FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar +GENHTML = +GETTEXT_MACRO_VERSION = 0.19 +GIWS_BIN = +GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar +GMSGFMT = /usr/bin/msgfmt +GMSGFMT_015 = /usr/bin/msgfmt +GRAPHICS_ENABLE = yes +GREP = /bin/grep +GUI_ENABLE = yes +HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl +HELP_ENABLE = yes +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +INTLLIBS = +INTL_MACOSX_LIBS = +JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar +JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac +JAVAC_DEBUG = off +JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc +JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah +JAVASCI_ENABLE = yes +JAVA_ENABLE = yes +JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java +JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64 +JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux +JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm +JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb +JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar +JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar +JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar +JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar +JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar +JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar +JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar +JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar +JUNIT4 = /usr/share/java/junit4.jar +LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack +LCOV = +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -Wl,--no-as-needed +LIBICONV = -liconv +LIBINTL = +LIBM = -lm +LIBOBJS = +LIBS = -lpthread -ldl -lcurses -lm +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LOGGING_LEVEL = SEVERE +LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar +LTLIBICONV = -liconv +LTLIBINTL = +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo +MANIFEST_TOOL = : +MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +MATIO_ENABLE = yes +MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5 +MKDIR_P = /bin/mkdir -p +MPI_ENABLE = no +MSGCAT = /usr/bin/msgcat +MSGFMT = /usr/bin/msgfmt +MSGFMT_015 = /usr/bin/msgfmt +MSGMERGE = /usr/bin/msgmerge +NM = nm +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OCAMLC = ocamlc +OCAMLDEP = ocamldep +OCAMLLEX = ocamllex +OCAMLOPT = ocamlopt +OCAMLYACC = ocamlyacc +OPENMPI_CC = +OPENMPI_CFLAGS = +OPENMPI_CXX = +OPENMPI_CXXFLAGS = +OPENMPI_LIBS = +OPENMP_CFLAGS = -fopenmp +OPENMP_CXXFLAGS = -fopenmp +OPENMP_ENABLE = yes +OPENMP_LIBS = -lgomp -lstdc++ +OTOOL = +OTOOL64 = +PACKAGE = scilab +PACKAGE_BUGREPORT = http://bugzilla.scilab.org/ +PACKAGE_NAME = Scilab +PACKAGE_STRING = Scilab 5 +PACKAGE_TARNAME = scilab +PACKAGE_URL = +PACKAGE_VERSION = 5 +PATH_SEPARATOR = : +PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config +PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre +PCRE_VERSION = 8.35 +PKG_CONFIG = /usr/bin/pkg-config +POSUB = po +POW_LIB = +PYTHON = +RANLIB = ranlib +RELOCATABLE = no +RT_LIB = -lrt +SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar +SCILAB_BINARY_VERSION = 5.5.2 +SCILAB_LIBRARY_VERSION = 5:5:2 +SCILAB_VERSION_MAINTENANCE = 2 +SCILAB_VERSION_MAJOR = 5 +SCILAB_VERSION_MINOR = 5 +SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar +SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar +SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector +SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector +SCI_FFLAGS = -DNDEBUG -m64 -fPIC +SCI_LDFLAGS = +SED = /bin/sed +SET_MAKE = +SET_RELOCATABLE = +SHELL = /bin/bash +SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar +SPLINT = no +STRIP = strip +SWIG_BIN = +SWIG_JAVA = +SWIG_RUNTIME_LIBS_DIR = +SWIG_SCILAB = +TCLTK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5 -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5 -ldl +TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include +UMFPACK_ENABLE = yes +UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd +USE_NLS = yes +VERSION = 5 +WITH_OCAML = +WITH_TKSCI = yes +XCOS_ENABLE = yes +XGETTEXT = /usr/bin/xgettext +XGETTEXT_015 = /usr/bin/xgettext +XGETTEXT_EXTRA_OPTIONS = +XMKMF = +XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar +XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar +XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config +XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2 +XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl +XML_VERSION = 2.9.1 +X_CFLAGS = +X_EXTRA_LIBS = +X_LIBS = +X_PRE_LIBS = +abs_builddir = /home/shashank/scilab-master_5.5.2/modules/matio +abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/matio +abs_top_builddir = /home/shashank/scilab-master_5.5.2 +abs_top_srcdir = /home/shashank/scilab-master_5.5.2 +ac_ct_AR = ar +ac_ct_CC = gcc +ac_ct_CXX = g++ +ac_ct_DUMPBIN = +ac_ct_F77 = gfortran +am__include = include +am__leading_dot = . +am__quote = +am__tar = $${TAR-tar} chof - "$$tardir" +am__untar = $${TAR-tar} xf - +bindir = ${exec_prefix}/bin +build = x86_64-unknown-linux-gnu +build_alias = +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = unknown +builddir = . +cxx_present = yes +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-unknown-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = unknown +htmldir = ${docdir} +includedir = ${prefix}/include +infodir = ${datarootdir}/info +install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh +libdir = ${exec_prefix}/lib +libexecdir = ${exec_prefix}/libexec +localedir = ${datarootdir}/locale +localstatedir = ${prefix}/var +mandir = ${datarootdir}/man +mkdir_p = $(MKDIR_P) +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr/local +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = ${prefix}/etc +target_alias = +top_build_prefix = ../../ +top_builddir = ../.. +top_srcdir = ../.. + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_1) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR + +#### List of the gateway files #### +GATEWAY_C_SOURCES = sci_gateway/c/gw_matio.c \ + sci_gateway/c/sci_matfile_open.c \ + sci_gateway/c/sci_matfile_close.c \ + sci_gateway/c/sci_matfile_listvar.c \ + sci_gateway/c/sci_matfile_varreadnext.c \ + sci_gateway/c/sci_matfile_varwrite.c + +#MATIO_C_SOURCES = src/nomatio/nomatio.c + +#### List of the C files #### +MATIO_C_SOURCES = src/c/matfile_manager.c \ + src/c/CreateMatlabVariable.c \ + src/c/CreateBooleanVariable.c \ + src/c/CreateCharVariable.c \ + src/c/CreateDoubleVariable.c \ + src/c/CreateIntegerVariable.c \ + src/c/CreateHyperMatrixVariable.c \ + src/c/CreateStructVariable.c \ + src/c/CreateSparseVariable.c \ + src/c/CreateCellVariable.c \ + src/c/GetMatlabVariable.c \ + src/c/GetDoubleVariable.c \ + src/c/GetCharVariable.c \ + src/c/GetIntegerVariable.c \ + src/c/GetMlistVariable.c \ + src/c/GetCellVariable.c \ + src/c/GetStructVariable.c \ + src/c/GetSparseVariable.c + +libscimatio_la_LDFLAGS = $(AM_LDFLAGS) +libscimatio_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/string/includes/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + $(MATIO_CFLAGS) \ + $(AM_CPPFLAGS) + +pkglib_LTLIBRARIES = libscimatio.la +noinst_LTLIBRARIES = libscimatio-algo.la +libscimatio_algo_la_SOURCES = $(MATIO_C_SOURCES) +libscimatio_la_SOURCES = $(GATEWAY_C_SOURCES) +libscimatio_algo_la_CPPFLAGS = $(libscimatio_la_CPPFLAGS) + +# For the code check (splint) +CHECK_SRC = $(libscimatio_la_SOURCES) +INCLUDE_FLAGS = $(libscimatio_la_CPPFLAGS) + +#### Target ###### +modulename = matio + +#### matio : Conf files #### +libscimatio_la_rootdir = $(mydatadir) +libscimatio_la_root_DATA = license.txt + +#### matio : init scripts #### +libscimatio_la_etcdir = $(mydatadir)/etc +libscimatio_la_etc_DATA = etc/matio.quit etc/matio.start + +#### matio : gateway declaration #### +libscimatio_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libscimatio_la_sci_gateway_DATA = sci_gateway/matio_gateway.xml +libscimatio_la_LIBADD = libscimatio-algo.la $(MATIO_LIBS) +all: all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin .c .lo .o .obj +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/matio/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/matio/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: # $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ + } + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +src/nomatio/$(am__dirstamp): + @$(MKDIR_P) src/nomatio + @: > src/nomatio/$(am__dirstamp) +src/nomatio/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/nomatio/$(DEPDIR) + @: > src/nomatio/$(DEPDIR)/$(am__dirstamp) +src/nomatio/libscimatio_algo_la-nomatio.lo: \ + src/nomatio/$(am__dirstamp) \ + src/nomatio/$(DEPDIR)/$(am__dirstamp) +src/c/$(am__dirstamp): + @$(MKDIR_P) src/c + @: > src/c/$(am__dirstamp) +src/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/$(DEPDIR) + @: > src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-matfile_manager.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateMatlabVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateBooleanVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateCharVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateDoubleVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateIntegerVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateStructVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateSparseVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateCellVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetMatlabVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetDoubleVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetCharVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetIntegerVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetMlistVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetCellVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetStructVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetSparseVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) + +libscimatio-algo.la: $(libscimatio_algo_la_OBJECTS) $(libscimatio_algo_la_DEPENDENCIES) $(EXTRA_libscimatio_algo_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) $(libscimatio_algo_la_OBJECTS) $(libscimatio_algo_la_LIBADD) $(LIBS) +sci_gateway/c/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c + @: > sci_gateway/c/$(am__dirstamp) +sci_gateway/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c/$(DEPDIR) + @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-gw_matio.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_open.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_close.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + +libscimatio.la: $(libscimatio_la_OBJECTS) $(libscimatio_la_DEPENDENCIES) $(EXTRA_libscimatio_la_DEPENDENCIES) + $(AM_V_CCLD)$(libscimatio_la_LINK) -rpath $(pkglibdir) $(libscimatio_la_OBJECTS) $(libscimatio_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f sci_gateway/c/*.$(OBJEXT) + -rm -f sci_gateway/c/*.lo + -rm -f src/c/*.$(OBJEXT) + -rm -f src/c/*.lo + -rm -f src/nomatio/*.$(OBJEXT) + -rm -f src/nomatio/*.lo + +distclean-compile: + -rm -f *.tab.c + +include sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Plo +include sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Plo +include sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Plo +include sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Plo +include sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Plo +include sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Plo +include src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Plo +include src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Plo + +.c.o: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ $< + +.c.obj: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + $(am__mv) $$depbase.Tpo $$depbase.Po +# $(AM_V_CC)source='$<' object='$@' libtool=no \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: + $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + $(am__mv) $$depbase.Tpo $$depbase.Plo +# $(AM_V_CC)source='$<' object='$@' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $< + +src/nomatio/libscimatio_algo_la-nomatio.lo: src/nomatio/nomatio.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/nomatio/libscimatio_algo_la-nomatio.lo -MD -MP -MF src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Tpo -c -o src/nomatio/libscimatio_algo_la-nomatio.lo `test -f 'src/nomatio/nomatio.c' || echo '$(srcdir)/'`src/nomatio/nomatio.c + $(AM_V_at)$(am__mv) src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Tpo src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Plo +# $(AM_V_CC)source='src/nomatio/nomatio.c' object='src/nomatio/libscimatio_algo_la-nomatio.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/nomatio/libscimatio_algo_la-nomatio.lo `test -f 'src/nomatio/nomatio.c' || echo '$(srcdir)/'`src/nomatio/nomatio.c + +src/c/libscimatio_algo_la-matfile_manager.lo: src/c/matfile_manager.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-matfile_manager.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Tpo -c -o src/c/libscimatio_algo_la-matfile_manager.lo `test -f 'src/c/matfile_manager.c' || echo '$(srcdir)/'`src/c/matfile_manager.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Plo +# $(AM_V_CC)source='src/c/matfile_manager.c' object='src/c/libscimatio_algo_la-matfile_manager.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-matfile_manager.lo `test -f 'src/c/matfile_manager.c' || echo '$(srcdir)/'`src/c/matfile_manager.c + +src/c/libscimatio_algo_la-CreateMatlabVariable.lo: src/c/CreateMatlabVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateMatlabVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateMatlabVariable.lo `test -f 'src/c/CreateMatlabVariable.c' || echo '$(srcdir)/'`src/c/CreateMatlabVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Plo +# $(AM_V_CC)source='src/c/CreateMatlabVariable.c' object='src/c/libscimatio_algo_la-CreateMatlabVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateMatlabVariable.lo `test -f 'src/c/CreateMatlabVariable.c' || echo '$(srcdir)/'`src/c/CreateMatlabVariable.c + +src/c/libscimatio_algo_la-CreateBooleanVariable.lo: src/c/CreateBooleanVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateBooleanVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateBooleanVariable.lo `test -f 'src/c/CreateBooleanVariable.c' || echo '$(srcdir)/'`src/c/CreateBooleanVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Plo +# $(AM_V_CC)source='src/c/CreateBooleanVariable.c' object='src/c/libscimatio_algo_la-CreateBooleanVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateBooleanVariable.lo `test -f 'src/c/CreateBooleanVariable.c' || echo '$(srcdir)/'`src/c/CreateBooleanVariable.c + +src/c/libscimatio_algo_la-CreateCharVariable.lo: src/c/CreateCharVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateCharVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateCharVariable.lo `test -f 'src/c/CreateCharVariable.c' || echo '$(srcdir)/'`src/c/CreateCharVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Plo +# $(AM_V_CC)source='src/c/CreateCharVariable.c' object='src/c/libscimatio_algo_la-CreateCharVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateCharVariable.lo `test -f 'src/c/CreateCharVariable.c' || echo '$(srcdir)/'`src/c/CreateCharVariable.c + +src/c/libscimatio_algo_la-CreateDoubleVariable.lo: src/c/CreateDoubleVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateDoubleVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateDoubleVariable.lo `test -f 'src/c/CreateDoubleVariable.c' || echo '$(srcdir)/'`src/c/CreateDoubleVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Plo +# $(AM_V_CC)source='src/c/CreateDoubleVariable.c' object='src/c/libscimatio_algo_la-CreateDoubleVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateDoubleVariable.lo `test -f 'src/c/CreateDoubleVariable.c' || echo '$(srcdir)/'`src/c/CreateDoubleVariable.c + +src/c/libscimatio_algo_la-CreateIntegerVariable.lo: src/c/CreateIntegerVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateIntegerVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateIntegerVariable.lo `test -f 'src/c/CreateIntegerVariable.c' || echo '$(srcdir)/'`src/c/CreateIntegerVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Plo +# $(AM_V_CC)source='src/c/CreateIntegerVariable.c' object='src/c/libscimatio_algo_la-CreateIntegerVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateIntegerVariable.lo `test -f 'src/c/CreateIntegerVariable.c' || echo '$(srcdir)/'`src/c/CreateIntegerVariable.c + +src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo: src/c/CreateHyperMatrixVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo `test -f 'src/c/CreateHyperMatrixVariable.c' || echo '$(srcdir)/'`src/c/CreateHyperMatrixVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Plo +# $(AM_V_CC)source='src/c/CreateHyperMatrixVariable.c' object='src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo `test -f 'src/c/CreateHyperMatrixVariable.c' || echo '$(srcdir)/'`src/c/CreateHyperMatrixVariable.c + +src/c/libscimatio_algo_la-CreateStructVariable.lo: src/c/CreateStructVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateStructVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateStructVariable.lo `test -f 'src/c/CreateStructVariable.c' || echo '$(srcdir)/'`src/c/CreateStructVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Plo +# $(AM_V_CC)source='src/c/CreateStructVariable.c' object='src/c/libscimatio_algo_la-CreateStructVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateStructVariable.lo `test -f 'src/c/CreateStructVariable.c' || echo '$(srcdir)/'`src/c/CreateStructVariable.c + +src/c/libscimatio_algo_la-CreateSparseVariable.lo: src/c/CreateSparseVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateSparseVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateSparseVariable.lo `test -f 'src/c/CreateSparseVariable.c' || echo '$(srcdir)/'`src/c/CreateSparseVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Plo +# $(AM_V_CC)source='src/c/CreateSparseVariable.c' object='src/c/libscimatio_algo_la-CreateSparseVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateSparseVariable.lo `test -f 'src/c/CreateSparseVariable.c' || echo '$(srcdir)/'`src/c/CreateSparseVariable.c + +src/c/libscimatio_algo_la-CreateCellVariable.lo: src/c/CreateCellVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateCellVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateCellVariable.lo `test -f 'src/c/CreateCellVariable.c' || echo '$(srcdir)/'`src/c/CreateCellVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Plo +# $(AM_V_CC)source='src/c/CreateCellVariable.c' object='src/c/libscimatio_algo_la-CreateCellVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateCellVariable.lo `test -f 'src/c/CreateCellVariable.c' || echo '$(srcdir)/'`src/c/CreateCellVariable.c + +src/c/libscimatio_algo_la-GetMatlabVariable.lo: src/c/GetMatlabVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetMatlabVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Tpo -c -o src/c/libscimatio_algo_la-GetMatlabVariable.lo `test -f 'src/c/GetMatlabVariable.c' || echo '$(srcdir)/'`src/c/GetMatlabVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Plo +# $(AM_V_CC)source='src/c/GetMatlabVariable.c' object='src/c/libscimatio_algo_la-GetMatlabVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetMatlabVariable.lo `test -f 'src/c/GetMatlabVariable.c' || echo '$(srcdir)/'`src/c/GetMatlabVariable.c + +src/c/libscimatio_algo_la-GetDoubleVariable.lo: src/c/GetDoubleVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetDoubleVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Tpo -c -o src/c/libscimatio_algo_la-GetDoubleVariable.lo `test -f 'src/c/GetDoubleVariable.c' || echo '$(srcdir)/'`src/c/GetDoubleVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Plo +# $(AM_V_CC)source='src/c/GetDoubleVariable.c' object='src/c/libscimatio_algo_la-GetDoubleVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetDoubleVariable.lo `test -f 'src/c/GetDoubleVariable.c' || echo '$(srcdir)/'`src/c/GetDoubleVariable.c + +src/c/libscimatio_algo_la-GetCharVariable.lo: src/c/GetCharVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetCharVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Tpo -c -o src/c/libscimatio_algo_la-GetCharVariable.lo `test -f 'src/c/GetCharVariable.c' || echo '$(srcdir)/'`src/c/GetCharVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Plo +# $(AM_V_CC)source='src/c/GetCharVariable.c' object='src/c/libscimatio_algo_la-GetCharVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetCharVariable.lo `test -f 'src/c/GetCharVariable.c' || echo '$(srcdir)/'`src/c/GetCharVariable.c + +src/c/libscimatio_algo_la-GetIntegerVariable.lo: src/c/GetIntegerVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetIntegerVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Tpo -c -o src/c/libscimatio_algo_la-GetIntegerVariable.lo `test -f 'src/c/GetIntegerVariable.c' || echo '$(srcdir)/'`src/c/GetIntegerVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Plo +# $(AM_V_CC)source='src/c/GetIntegerVariable.c' object='src/c/libscimatio_algo_la-GetIntegerVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetIntegerVariable.lo `test -f 'src/c/GetIntegerVariable.c' || echo '$(srcdir)/'`src/c/GetIntegerVariable.c + +src/c/libscimatio_algo_la-GetMlistVariable.lo: src/c/GetMlistVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetMlistVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Tpo -c -o src/c/libscimatio_algo_la-GetMlistVariable.lo `test -f 'src/c/GetMlistVariable.c' || echo '$(srcdir)/'`src/c/GetMlistVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Plo +# $(AM_V_CC)source='src/c/GetMlistVariable.c' object='src/c/libscimatio_algo_la-GetMlistVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetMlistVariable.lo `test -f 'src/c/GetMlistVariable.c' || echo '$(srcdir)/'`src/c/GetMlistVariable.c + +src/c/libscimatio_algo_la-GetCellVariable.lo: src/c/GetCellVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetCellVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Tpo -c -o src/c/libscimatio_algo_la-GetCellVariable.lo `test -f 'src/c/GetCellVariable.c' || echo '$(srcdir)/'`src/c/GetCellVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Plo +# $(AM_V_CC)source='src/c/GetCellVariable.c' object='src/c/libscimatio_algo_la-GetCellVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetCellVariable.lo `test -f 'src/c/GetCellVariable.c' || echo '$(srcdir)/'`src/c/GetCellVariable.c + +src/c/libscimatio_algo_la-GetStructVariable.lo: src/c/GetStructVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetStructVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Tpo -c -o src/c/libscimatio_algo_la-GetStructVariable.lo `test -f 'src/c/GetStructVariable.c' || echo '$(srcdir)/'`src/c/GetStructVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Plo +# $(AM_V_CC)source='src/c/GetStructVariable.c' object='src/c/libscimatio_algo_la-GetStructVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetStructVariable.lo `test -f 'src/c/GetStructVariable.c' || echo '$(srcdir)/'`src/c/GetStructVariable.c + +src/c/libscimatio_algo_la-GetSparseVariable.lo: src/c/GetSparseVariable.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetSparseVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Tpo -c -o src/c/libscimatio_algo_la-GetSparseVariable.lo `test -f 'src/c/GetSparseVariable.c' || echo '$(srcdir)/'`src/c/GetSparseVariable.c + $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Plo +# $(AM_V_CC)source='src/c/GetSparseVariable.c' object='src/c/libscimatio_algo_la-GetSparseVariable.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetSparseVariable.lo `test -f 'src/c/GetSparseVariable.c' || echo '$(srcdir)/'`src/c/GetSparseVariable.c + +sci_gateway/c/libscimatio_la-gw_matio.lo: sci_gateway/c/gw_matio.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-gw_matio.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Tpo -c -o sci_gateway/c/libscimatio_la-gw_matio.lo `test -f 'sci_gateway/c/gw_matio.c' || echo '$(srcdir)/'`sci_gateway/c/gw_matio.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Plo +# $(AM_V_CC)source='sci_gateway/c/gw_matio.c' object='sci_gateway/c/libscimatio_la-gw_matio.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-gw_matio.lo `test -f 'sci_gateway/c/gw_matio.c' || echo '$(srcdir)/'`sci_gateway/c/gw_matio.c + +sci_gateway/c/libscimatio_la-sci_matfile_open.lo: sci_gateway/c/sci_matfile_open.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_open.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_open.lo `test -f 'sci_gateway/c/sci_matfile_open.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_open.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_matfile_open.c' object='sci_gateway/c/libscimatio_la-sci_matfile_open.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_open.lo `test -f 'sci_gateway/c/sci_matfile_open.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_open.c + +sci_gateway/c/libscimatio_la-sci_matfile_close.lo: sci_gateway/c/sci_matfile_close.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_close.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_close.lo `test -f 'sci_gateway/c/sci_matfile_close.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_close.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_matfile_close.c' object='sci_gateway/c/libscimatio_la-sci_matfile_close.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_close.lo `test -f 'sci_gateway/c/sci_matfile_close.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_close.c + +sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo: sci_gateway/c/sci_matfile_listvar.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo `test -f 'sci_gateway/c/sci_matfile_listvar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_listvar.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_matfile_listvar.c' object='sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo `test -f 'sci_gateway/c/sci_matfile_listvar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_listvar.c + +sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo: sci_gateway/c/sci_matfile_varreadnext.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo `test -f 'sci_gateway/c/sci_matfile_varreadnext.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varreadnext.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_matfile_varreadnext.c' object='sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo `test -f 'sci_gateway/c/sci_matfile_varreadnext.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varreadnext.c + +sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo: sci_gateway/c/sci_matfile_varwrite.c + $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo `test -f 'sci_gateway/c/sci_matfile_varwrite.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varwrite.c + $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Plo +# $(AM_V_CC)source='sci_gateway/c/sci_matfile_varwrite.c' object='sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo' libtool=yes \ +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \ +# $(AM_V_CC_no)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo `test -f 'sci_gateway/c/sci_matfile_varwrite.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varwrite.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs + -rm -rf src/c/.libs src/c/_libs + -rm -rf src/nomatio/.libs src/nomatio/_libs +install-libscimatio_la_etcDATA: $(libscimatio_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libscimatio_la_etc_DATA)'; test -n "$(libscimatio_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscimatio_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscimatio_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscimatio_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscimatio_la_etcdir)" || exit $$?; \ + done + +uninstall-libscimatio_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscimatio_la_etc_DATA)'; test -n "$(libscimatio_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscimatio_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libscimatio_la_rootDATA: $(libscimatio_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libscimatio_la_root_DATA)'; test -n "$(libscimatio_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscimatio_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscimatio_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscimatio_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscimatio_la_rootdir)" || exit $$?; \ + done + +uninstall-libscimatio_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscimatio_la_root_DATA)'; test -n "$(libscimatio_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscimatio_la_rootdir)'; $(am__uninstall_files_from_dir) +install-libscimatio_la_sci_gatewayDATA: $(libscimatio_la_sci_gateway_DATA) + @$(NORMAL_INSTALL) + @list='$(libscimatio_la_sci_gateway_DATA)'; test -n "$(libscimatio_la_sci_gatewaydir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscimatio_la_sci_gatewaydir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscimatio_la_sci_gatewaydir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)" || exit $$?; \ + done + +uninstall-libscimatio_la_sci_gatewayDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscimatio_la_sci_gateway_DATA)'; test -n "$(libscimatio_la_sci_gatewaydir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscimatio_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscimatio_la_etcdir)" "$(DESTDIR)$(libscimatio_la_rootdir)" "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/c/$(am__dirstamp) + -rm -f src/c/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/$(am__dirstamp) + -rm -f src/nomatio/$(DEPDIR)/$(am__dirstamp) + -rm -f src/nomatio/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nomatio/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local install-libscimatio_la_etcDATA \ + install-libscimatio_la_rootDATA \ + install-libscimatio_la_sci_gatewayDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-pkglibLTLIBRARIES + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nomatio/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libscimatio_la_etcDATA \ + uninstall-libscimatio_la_rootDATA \ + uninstall-libscimatio_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + +.MAKE: check-am install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \ + check-local clean clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \ + ctags ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-local distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-html-local install-info \ + install-info-am install-libscimatio_la_etcDATA \ + install-libscimatio_la_rootDATA \ + install-libscimatio_la_sci_gatewayDATA install-man install-pdf \ + install-pdf-am install-pkglibLTLIBRARIES install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-libscimatio_la_etcDATA \ + uninstall-libscimatio_la_rootDATA \ + uninstall-libscimatio_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT); \ + fi + +clean-java: +# Some configurations needs to export JAVA_HOME in the current env + @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ + if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) clean; \ + fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#swig: $(SWIG_WRAPPERS) +# @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +# SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +# if test -n "$(SWIG_WRAPPERS)"; then \ +# for file in $(SWIG_WRAPPERS) ; do \ +# echo "Swig process of $$file (Java) ..."; \ +# $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +#swig-scilab: $(SWIG_SCILAB_WRAPPERS) +# @SWIG_OUTDIR=src/swig/; \ +# if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +# for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +# echo "Swig process of $$file (Scilab) ..."; \ +# $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +# done; \ +# fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +#giws: $(GIWS_WRAPPERS) +# @GIWS_OUTPUTDIR=src/jni/; \ +# MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +# if test -n "$(GIWS_WRAPPERS)"; then \ +# for file in $(GIWS_WRAPPERS) ; do \ +# echo "GIWS process of $$file ..."; \ +# if test -z "$(GIWS_OPTIONS)"; then \ +# $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# else \ +# echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +# $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +# fi \ +# done; \ +# fi + +#giws-exception: +# @GIWS_OUTPUTDIR=src/jni/;\ +# echo "GIWS: Generation of exception class ..."; \ +# $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed + @echo "-------- Install of XML sources of help files --------"; \ + for lang in $(ALL_LINGUAS); do \ + if test -d $(srcdir)/help/$$lang; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ + if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ + done ; \ + fi; \ + fi; \ + done; \ + @echo "-------- Install of MathML sources --------"; \ + if test -d $(srcdir)/help/mml/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ + if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ + for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ + done ; \ + fi; \ + fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +clean-local: clean-java +#clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/matio/Makefile.am b/modules/matio/Makefile.am new file mode 100755 index 000000000..eb323864b --- /dev/null +++ b/modules/matio/Makefile.am @@ -0,0 +1,82 @@ +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2008 - INRIA - Vincent COUVERT <vincent.couvert@inria.fr> +# Copyright (C) 2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# +# This file is distributed under the same license as the Scilab package. + +include $(top_srcdir)/Makefile.incl.am + +if MATIO + +#### List of the gateway files #### +GATEWAY_C_SOURCES = sci_gateway/c/gw_matio.c \ + sci_gateway/c/sci_matfile_open.c \ + sci_gateway/c/sci_matfile_close.c \ + sci_gateway/c/sci_matfile_listvar.c \ + sci_gateway/c/sci_matfile_varreadnext.c \ + sci_gateway/c/sci_matfile_varwrite.c + +#### List of the C files #### +MATIO_C_SOURCES = src/c/matfile_manager.c \ + src/c/CreateMatlabVariable.c \ + src/c/CreateBooleanVariable.c \ + src/c/CreateCharVariable.c \ + src/c/CreateDoubleVariable.c \ + src/c/CreateIntegerVariable.c \ + src/c/CreateHyperMatrixVariable.c \ + src/c/CreateStructVariable.c \ + src/c/CreateSparseVariable.c \ + src/c/CreateCellVariable.c \ + src/c/GetMatlabVariable.c \ + src/c/GetDoubleVariable.c \ + src/c/GetCharVariable.c \ + src/c/GetIntegerVariable.c \ + src/c/GetMlistVariable.c \ + src/c/GetCellVariable.c \ + src/c/GetStructVariable.c \ + src/c/GetSparseVariable.c + +libscimatio_la_LDFLAGS = $(AM_LDFLAGS) + +else + +MATIO_C_SOURCES = src/nomatio/nomatio.c + +endif + +libscimatio_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/string/includes/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + $(MATIO_CFLAGS) \ + $(AM_CPPFLAGS) + +pkglib_LTLIBRARIES = libscimatio.la +noinst_LTLIBRARIES = libscimatio-algo.la + +libscimatio_algo_la_SOURCES = $(MATIO_C_SOURCES) +libscimatio_la_SOURCES = $(GATEWAY_C_SOURCES) +libscimatio_algo_la_CPPFLAGS = $(libscimatio_la_CPPFLAGS) + +# For the code check (splint) +CHECK_SRC= $(libscimatio_la_SOURCES) +INCLUDE_FLAGS = $(libscimatio_la_CPPFLAGS) + +#### Target ###### +modulename=matio + +#### matio : Conf files #### +libscimatio_la_rootdir = $(mydatadir) +libscimatio_la_root_DATA = license.txt + +#### matio : init scripts #### +libscimatio_la_etcdir = $(mydatadir)/etc +libscimatio_la_etc_DATA = etc/matio.quit etc/matio.start + +#### matio : gateway declaration #### +libscimatio_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libscimatio_la_sci_gateway_DATA = sci_gateway/matio_gateway.xml + +libscimatio_la_LIBADD = libscimatio-algo.la $(MATIO_LIBS) diff --git a/modules/matio/Makefile.in b/modules/matio/Makefile.in new file mode 100755 index 000000000..5d4cd26de --- /dev/null +++ b/modules/matio/Makefile.in @@ -0,0 +1,1625 @@ +# Makefile.in generated by automake 1.14.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2013 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2008 - INRIA - Vincent COUVERT <vincent.couvert@inria.fr> +# Copyright (C) 2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# +# This file is distributed under the same license as the Scilab package. + +# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr> +# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> +# +# This file must be used under the terms of the CeCILL. +# This source file is licensed as described in the file COPYING, which +# you should have received as part of this distribution. The terms +# are also available at +# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +# + +########## +### Makefile included stuff +### Target, variable, suffixes which are supposed to be useful in every makefile.am +########## + + +VPATH = @srcdir@ +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs \ + $(top_srcdir)/config/depcomp +@NEED_JAVA_TRUE@am__append_1 = java +subdir = modules/matio +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \ + $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \ + $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \ + $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \ + $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \ + $(top_srcdir)/m4/intel_compiler.m4 \ + $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \ + $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \ + $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \ + $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \ + $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \ + $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \ + $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \ + $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(pkglibdir)" \ + "$(DESTDIR)$(libscimatio_la_etcdir)" \ + "$(DESTDIR)$(libscimatio_la_rootdir)" \ + "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)" +LTLIBRARIES = $(noinst_LTLIBRARIES) $(pkglib_LTLIBRARIES) +libscimatio_algo_la_LIBADD = +am__libscimatio_algo_la_SOURCES_DIST = src/nomatio/nomatio.c \ + src/c/matfile_manager.c src/c/CreateMatlabVariable.c \ + src/c/CreateBooleanVariable.c src/c/CreateCharVariable.c \ + src/c/CreateDoubleVariable.c src/c/CreateIntegerVariable.c \ + src/c/CreateHyperMatrixVariable.c src/c/CreateStructVariable.c \ + src/c/CreateSparseVariable.c src/c/CreateCellVariable.c \ + src/c/GetMatlabVariable.c src/c/GetDoubleVariable.c \ + src/c/GetCharVariable.c src/c/GetIntegerVariable.c \ + src/c/GetMlistVariable.c src/c/GetCellVariable.c \ + src/c/GetStructVariable.c src/c/GetSparseVariable.c +am__dirstamp = $(am__leading_dot)dirstamp +@MATIO_FALSE@am__objects_1 = \ +@MATIO_FALSE@ src/nomatio/libscimatio_algo_la-nomatio.lo +@MATIO_TRUE@am__objects_1 = \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-matfile_manager.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateMatlabVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateBooleanVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateCharVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateDoubleVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateIntegerVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateStructVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateSparseVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-CreateCellVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetMatlabVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetDoubleVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetCharVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetIntegerVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetMlistVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetCellVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetStructVariable.lo \ +@MATIO_TRUE@ src/c/libscimatio_algo_la-GetSparseVariable.lo +am_libscimatio_algo_la_OBJECTS = $(am__objects_1) +libscimatio_algo_la_OBJECTS = $(am_libscimatio_algo_la_OBJECTS) +AM_V_lt = $(am__v_lt_@AM_V@) +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) +am__v_lt_0 = --silent +am__v_lt_1 = +am__DEPENDENCIES_1 = +libscimatio_la_DEPENDENCIES = libscimatio-algo.la \ + $(am__DEPENDENCIES_1) +am__libscimatio_la_SOURCES_DIST = sci_gateway/c/gw_matio.c \ + sci_gateway/c/sci_matfile_open.c \ + sci_gateway/c/sci_matfile_close.c \ + sci_gateway/c/sci_matfile_listvar.c \ + sci_gateway/c/sci_matfile_varreadnext.c \ + sci_gateway/c/sci_matfile_varwrite.c +@MATIO_TRUE@am__objects_2 = sci_gateway/c/libscimatio_la-gw_matio.lo \ +@MATIO_TRUE@ sci_gateway/c/libscimatio_la-sci_matfile_open.lo \ +@MATIO_TRUE@ sci_gateway/c/libscimatio_la-sci_matfile_close.lo \ +@MATIO_TRUE@ sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo \ +@MATIO_TRUE@ sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo \ +@MATIO_TRUE@ sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo +am_libscimatio_la_OBJECTS = $(am__objects_2) +libscimatio_la_OBJECTS = $(am_libscimatio_la_OBJECTS) +libscimatio_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(libscimatio_la_LDFLAGS) $(LDFLAGS) -o \ + $@ +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/modules/core/includes +depcomp = $(SHELL) $(top_srcdir)/config/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_@AM_V@) +am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) +am__v_CC_0 = @echo " CC " $@; +am__v_CC_1 = +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_@AM_V@) +am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) +am__v_CCLD_0 = @echo " CCLD " $@; +am__v_CCLD_1 = +SOURCES = $(libscimatio_algo_la_SOURCES) $(libscimatio_la_SOURCES) +DIST_SOURCES = $(am__libscimatio_algo_la_SOURCES_DIST) \ + $(am__libscimatio_la_SOURCES_DIST) +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +DATA = $(libscimatio_la_etc_DATA) $(libscimatio_la_root_DATA) \ + $(libscimatio_la_sci_gateway_DATA) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +ALL_LINGUAS = @ALL_LINGUAS@ +ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +ANT = @ANT@ +ANTLR = @ANTLR@ +AR = @AR@ +ARPACK_LIBS = @ARPACK_LIBS@ +ASM3 = @ASM3@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AVALON_FRAMEWORK = @AVALON_FRAMEWORK@ +AWK = @AWK@ +BATIK = @BATIK@ +BLAS_LIBS = @BLAS_LIBS@ +CC = @CC@ +CCACHE = @CCACHE@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CHECKSTYLE = @CHECKSTYLE@ +COBERTURA = @COBERTURA@ +COMMONS_BEANUTILS = @COMMONS_BEANUTILS@ +COMMONS_IO = @COMMONS_IO@ +COMMONS_LOGGING = @COMMONS_LOGGING@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CURL_CFLAGS = @CURL_CFLAGS@ +CURL_CONFIG = @CURL_CONFIG@ +CURL_LIBS = @CURL_LIBS@ +CURL_VERSION = @CURL_VERSION@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOCBOOK_ROOT = @DOCBOOK_ROOT@ +DOXYGEN_BIN = @DOXYGEN_BIN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +ECJ = @ECJ@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +F77 = @F77@ +FFLAGS = @FFLAGS@ +FFTW3_LIB = @FFTW3_LIB@ +FFTW_ENABLE = @FFTW_ENABLE@ +FGREP = @FGREP@ +FLEXDOCK = @FLEXDOCK@ +FLIBS = @FLIBS@ +FOP = @FOP@ +FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@ +FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@ +FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@ +FREEHEP_IO = @FREEHEP_IO@ +FREEHEP_UTIL = @FREEHEP_UTIL@ +GENHTML = @GENHTML@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GIWS_BIN = @GIWS_BIN@ +GLUEGEN2_RT = @GLUEGEN2_RT@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GRAPHICS_ENABLE = @GRAPHICS_ENABLE@ +GREP = @GREP@ +GUI_ENABLE = @GUI_ENABLE@ +HDF5_CFLAGS = @HDF5_CFLAGS@ +HDF5_LIBS = @HDF5_LIBS@ +HELP_ENABLE = @HELP_ENABLE@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +JAR = @JAR@ +JAVA = @JAVA@ +JAVAC = @JAVAC@ +JAVAC_DEBUG = @JAVAC_DEBUG@ +JAVADOC = @JAVADOC@ +JAVAH = @JAVAH@ +JAVASCI_ENABLE = @JAVASCI_ENABLE@ +JAVA_ENABLE = @JAVA_ENABLE@ +JAVA_G = @JAVA_G@ +JAVA_HOME = @JAVA_HOME@ +JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@ +JAVA_JNI_LIBS = @JAVA_JNI_LIBS@ +JDB = @JDB@ +JEUCLID_CORE = @JEUCLID_CORE@ +JGRAPHX = @JGRAPHX@ +JHALL = @JHALL@ +JLATEXMATH = @JLATEXMATH@ +JLATEXMATH_FOP = @JLATEXMATH_FOP@ +JOGL2 = @JOGL2@ +JROSETTA_API = @JROSETTA_API@ +JROSETTA_ENGINE = @JROSETTA_ENGINE@ +JUNIT4 = @JUNIT4@ +LAPACK_LIBS = @LAPACK_LIBS@ +LCOV = @LCOV@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBM = @LIBM@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LOGGING_LEVEL = @LOGGING_LEVEL@ +LOOKS = @LOOKS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MATIO_CFLAGS = @MATIO_CFLAGS@ +MATIO_ENABLE = @MATIO_ENABLE@ +MATIO_LIBS = @MATIO_LIBS@ +MKDIR_P = @MKDIR_P@ +MPI_ENABLE = @MPI_ENABLE@ +MSGCAT = @MSGCAT@ +MSGFMT = @MSGFMT@ +MSGFMT_015 = @MSGFMT_015@ +MSGMERGE = @MSGMERGE@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OCAMLC = @OCAMLC@ +OCAMLDEP = @OCAMLDEP@ +OCAMLLEX = @OCAMLLEX@ +OCAMLOPT = @OCAMLOPT@ +OCAMLYACC = @OCAMLYACC@ +OPENMPI_CC = @OPENMPI_CC@ +OPENMPI_CFLAGS = @OPENMPI_CFLAGS@ +OPENMPI_CXX = @OPENMPI_CXX@ +OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@ +OPENMPI_LIBS = @OPENMPI_LIBS@ +OPENMP_CFLAGS = @OPENMP_CFLAGS@ +OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@ +OPENMP_ENABLE = @OPENMP_ENABLE@ +OPENMP_LIBS = @OPENMP_LIBS@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PCRE_CFLAGS = @PCRE_CFLAGS@ +PCRE_CONFIG = @PCRE_CONFIG@ +PCRE_LIBS = @PCRE_LIBS@ +PCRE_VERSION = @PCRE_VERSION@ +PKG_CONFIG = @PKG_CONFIG@ +POSUB = @POSUB@ +POW_LIB = @POW_LIB@ +PYTHON = @PYTHON@ +RANLIB = @RANLIB@ +RELOCATABLE = @RELOCATABLE@ +RT_LIB = @RT_LIB@ +SAXON = @SAXON@ +SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@ +SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@ +SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@ +SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@ +SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@ +SCIRENDERER = @SCIRENDERER@ +SCIRENDERER_CP = @SCIRENDERER_CP@ +SCI_CFLAGS = @SCI_CFLAGS@ +SCI_CXXFLAGS = @SCI_CXXFLAGS@ +SCI_FFLAGS = @SCI_FFLAGS@ +SCI_LDFLAGS = @SCI_LDFLAGS@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SET_RELOCATABLE = @SET_RELOCATABLE@ +SHELL = @SHELL@ +SKINLF = @SKINLF@ +SPLINT = @SPLINT@ +STRIP = @STRIP@ +SWIG_BIN = @SWIG_BIN@ +SWIG_JAVA = @SWIG_JAVA@ +SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@ +SWIG_SCILAB = @SWIG_SCILAB@ +TCLTK_LIBS = @TCLTK_LIBS@ +TCL_INC_PATH = @TCL_INC_PATH@ +TK_INC_PATH = @TK_INC_PATH@ +UMFPACK_CFLAGS = @UMFPACK_CFLAGS@ +UMFPACK_ENABLE = @UMFPACK_ENABLE@ +UMFPACK_LIB = @UMFPACK_LIB@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +WITH_OCAML = @WITH_OCAML@ +WITH_TKSCI = @WITH_TKSCI@ +XCOS_ENABLE = @XCOS_ENABLE@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +XMKMF = @XMKMF@ +XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@ +XML_APIS_EXT = @XML_APIS_EXT@ +XML_CONFIG = @XML_CONFIG@ +XML_FLAGS = @XML_FLAGS@ +XML_LIBS = @XML_LIBS@ +XML_VERSION = @XML_VERSION@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +ac_ct_F77 = @ac_ct_F77@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +cxx_present = @cxx_present@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ + +# Where all the Scilab stuff is installed (macros, help, ...) +mydatadir = $(pkgdatadir)/modules/$(modulename) + +# Set AM_* SCI detected settings +AM_CPPFLAGS = $(SCI_CPPFLAGS) +AM_CFLAGS = $(SCI_CFLAGS) +AM_CXXFLAGS = $(SCI_CXXFLAGS) +# append includes to AM_FFLAGS to manage fortran includes +AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/ + +# Tag shared libraries with the Scilab version +AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION) + +# splint options +SPLINT_OPTIONS = -weak -booltype BOOL + +########################### JAVA ###################################### +#### We are delegating java compilation to ant... Thanks to that +#### the procedure will be the same with Microsoft Windows (C) +#### and Linux/Unix +####################################################################### +TARGETS_ALL = $(am__append_1) + +################ MACROS ###################### +# Rule to build a macro +# NOT USED AT THE MOMENT +SUFFIXES = .sci + +########### INSTALL DOCUMENTATION ################### + +# Install documentation files into the right target +# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because +# automake needs the html files to be present which is not the case when +# we are building Scilab + +# Where it should be installed +pkgdocdir = $(mydatadir) + +# What is the mask of the help source +DOCMASKXML = *.xml + +# What is the mask of the MathML sources +DOCMASKMML = *.mml + +########### INSTALL DATA ################### +# Install macros, help & demos +# Where it should be installed +pkgmacrosdir = $(mydatadir) +# Which directory we process +MACRODIRS = macros/ +# Mask of the Scilab sources macros +MACROMASK = *.sci +# Mask of the Scilab executable sources macros +MACROBUILDMASK = *.sce +# Mask of the Scilab compiled macros +MACROBINMASK = *.bin +# List of the standard directory for tests +TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java +# Where the demos should be installed +pkgdemosdir = $(mydatadir) +# List of the standard directory for demos +DEMOS_DIR = demos +# List of the standard directory for examples +EXAMPLES_DIR = examples +# Where to export JAVA archives (.jar) +JARDIR = jar/ +# JAR files mask +JARMASK = *.jar +# Chapter file +HELP_CHAPTERDIR = help/ +HELP_CHAPTERFILE = addchapter.sce +HELP_CHAPTERLANG = en_US fr_FR pt_BR + +#### List of the gateway files #### +@MATIO_TRUE@GATEWAY_C_SOURCES = sci_gateway/c/gw_matio.c \ +@MATIO_TRUE@ sci_gateway/c/sci_matfile_open.c \ +@MATIO_TRUE@ sci_gateway/c/sci_matfile_close.c \ +@MATIO_TRUE@ sci_gateway/c/sci_matfile_listvar.c \ +@MATIO_TRUE@ sci_gateway/c/sci_matfile_varreadnext.c \ +@MATIO_TRUE@ sci_gateway/c/sci_matfile_varwrite.c + +@MATIO_FALSE@MATIO_C_SOURCES = src/nomatio/nomatio.c + +#### List of the C files #### +@MATIO_TRUE@MATIO_C_SOURCES = src/c/matfile_manager.c \ +@MATIO_TRUE@ src/c/CreateMatlabVariable.c \ +@MATIO_TRUE@ src/c/CreateBooleanVariable.c \ +@MATIO_TRUE@ src/c/CreateCharVariable.c \ +@MATIO_TRUE@ src/c/CreateDoubleVariable.c \ +@MATIO_TRUE@ src/c/CreateIntegerVariable.c \ +@MATIO_TRUE@ src/c/CreateHyperMatrixVariable.c \ +@MATIO_TRUE@ src/c/CreateStructVariable.c \ +@MATIO_TRUE@ src/c/CreateSparseVariable.c \ +@MATIO_TRUE@ src/c/CreateCellVariable.c \ +@MATIO_TRUE@ src/c/GetMatlabVariable.c \ +@MATIO_TRUE@ src/c/GetDoubleVariable.c \ +@MATIO_TRUE@ src/c/GetCharVariable.c \ +@MATIO_TRUE@ src/c/GetIntegerVariable.c \ +@MATIO_TRUE@ src/c/GetMlistVariable.c \ +@MATIO_TRUE@ src/c/GetCellVariable.c \ +@MATIO_TRUE@ src/c/GetStructVariable.c \ +@MATIO_TRUE@ src/c/GetSparseVariable.c + +@MATIO_TRUE@libscimatio_la_LDFLAGS = $(AM_LDFLAGS) +libscimatio_la_CPPFLAGS = -I$(srcdir)/includes/ \ + -I$(srcdir)/src/c/ \ + -I$(top_srcdir)/modules/localization/includes/ \ + -I$(top_srcdir)/modules/output_stream/includes/ \ + -I$(top_srcdir)/modules/string/includes/ \ + -I$(top_srcdir)/modules/api_scilab/includes/ \ + $(MATIO_CFLAGS) \ + $(AM_CPPFLAGS) + +pkglib_LTLIBRARIES = libscimatio.la +noinst_LTLIBRARIES = libscimatio-algo.la +libscimatio_algo_la_SOURCES = $(MATIO_C_SOURCES) +libscimatio_la_SOURCES = $(GATEWAY_C_SOURCES) +libscimatio_algo_la_CPPFLAGS = $(libscimatio_la_CPPFLAGS) + +# For the code check (splint) +CHECK_SRC = $(libscimatio_la_SOURCES) +INCLUDE_FLAGS = $(libscimatio_la_CPPFLAGS) + +#### Target ###### +modulename = matio + +#### matio : Conf files #### +libscimatio_la_rootdir = $(mydatadir) +libscimatio_la_root_DATA = license.txt + +#### matio : init scripts #### +libscimatio_la_etcdir = $(mydatadir)/etc +libscimatio_la_etc_DATA = etc/matio.quit etc/matio.start + +#### matio : gateway declaration #### +libscimatio_la_sci_gatewaydir = $(mydatadir)/sci_gateway +libscimatio_la_sci_gateway_DATA = sci_gateway/matio_gateway.xml +libscimatio_la_LIBADD = libscimatio-algo.la $(MATIO_LIBS) +all: all-am + +.SUFFIXES: +.SUFFIXES: .sci .bin .c .lo .o .obj +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/matio/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign modules/matio/Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ + esac; +$(top_srcdir)/Makefile.incl.am: + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } + +install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) + @$(NORMAL_INSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ + } + +uninstall-pkglibLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ + done + +clean-pkglibLTLIBRARIES: + -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) + @list='$(pkglib_LTLIBRARIES)'; \ + locs=`for p in $$list; do echo $$p; done | \ + sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ + sort -u`; \ + test -z "$$locs" || { \ + echo rm -f $${locs}; \ + rm -f $${locs}; \ + } +src/nomatio/$(am__dirstamp): + @$(MKDIR_P) src/nomatio + @: > src/nomatio/$(am__dirstamp) +src/nomatio/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/nomatio/$(DEPDIR) + @: > src/nomatio/$(DEPDIR)/$(am__dirstamp) +src/nomatio/libscimatio_algo_la-nomatio.lo: \ + src/nomatio/$(am__dirstamp) \ + src/nomatio/$(DEPDIR)/$(am__dirstamp) +src/c/$(am__dirstamp): + @$(MKDIR_P) src/c + @: > src/c/$(am__dirstamp) +src/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/c/$(DEPDIR) + @: > src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-matfile_manager.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateMatlabVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateBooleanVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateCharVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateDoubleVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateIntegerVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateStructVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateSparseVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-CreateCellVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetMatlabVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetDoubleVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetCharVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetIntegerVariable.lo: \ + src/c/$(am__dirstamp) src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetMlistVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetCellVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetStructVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) +src/c/libscimatio_algo_la-GetSparseVariable.lo: src/c/$(am__dirstamp) \ + src/c/$(DEPDIR)/$(am__dirstamp) + +libscimatio-algo.la: $(libscimatio_algo_la_OBJECTS) $(libscimatio_algo_la_DEPENDENCIES) $(EXTRA_libscimatio_algo_la_DEPENDENCIES) + $(AM_V_CCLD)$(LINK) $(libscimatio_algo_la_OBJECTS) $(libscimatio_algo_la_LIBADD) $(LIBS) +sci_gateway/c/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c + @: > sci_gateway/c/$(am__dirstamp) +sci_gateway/c/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sci_gateway/c/$(DEPDIR) + @: > sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-gw_matio.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_open.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_close.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) +sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo: \ + sci_gateway/c/$(am__dirstamp) \ + sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + +libscimatio.la: $(libscimatio_la_OBJECTS) $(libscimatio_la_DEPENDENCIES) $(EXTRA_libscimatio_la_DEPENDENCIES) + $(AM_V_CCLD)$(libscimatio_la_LINK) -rpath $(pkglibdir) $(libscimatio_la_OBJECTS) $(libscimatio_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f sci_gateway/c/*.$(OBJEXT) + -rm -f sci_gateway/c/*.lo + -rm -f src/c/*.$(OBJEXT) + -rm -f src/c/*.lo + -rm -f src/nomatio/*.$(OBJEXT) + -rm -f src/nomatio/*.lo + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Plo@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< + +.c.obj: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< + +src/nomatio/libscimatio_algo_la-nomatio.lo: src/nomatio/nomatio.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/nomatio/libscimatio_algo_la-nomatio.lo -MD -MP -MF src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Tpo -c -o src/nomatio/libscimatio_algo_la-nomatio.lo `test -f 'src/nomatio/nomatio.c' || echo '$(srcdir)/'`src/nomatio/nomatio.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Tpo src/nomatio/$(DEPDIR)/libscimatio_algo_la-nomatio.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/nomatio/nomatio.c' object='src/nomatio/libscimatio_algo_la-nomatio.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/nomatio/libscimatio_algo_la-nomatio.lo `test -f 'src/nomatio/nomatio.c' || echo '$(srcdir)/'`src/nomatio/nomatio.c + +src/c/libscimatio_algo_la-matfile_manager.lo: src/c/matfile_manager.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-matfile_manager.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Tpo -c -o src/c/libscimatio_algo_la-matfile_manager.lo `test -f 'src/c/matfile_manager.c' || echo '$(srcdir)/'`src/c/matfile_manager.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-matfile_manager.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/matfile_manager.c' object='src/c/libscimatio_algo_la-matfile_manager.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-matfile_manager.lo `test -f 'src/c/matfile_manager.c' || echo '$(srcdir)/'`src/c/matfile_manager.c + +src/c/libscimatio_algo_la-CreateMatlabVariable.lo: src/c/CreateMatlabVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateMatlabVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateMatlabVariable.lo `test -f 'src/c/CreateMatlabVariable.c' || echo '$(srcdir)/'`src/c/CreateMatlabVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateMatlabVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateMatlabVariable.c' object='src/c/libscimatio_algo_la-CreateMatlabVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateMatlabVariable.lo `test -f 'src/c/CreateMatlabVariable.c' || echo '$(srcdir)/'`src/c/CreateMatlabVariable.c + +src/c/libscimatio_algo_la-CreateBooleanVariable.lo: src/c/CreateBooleanVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateBooleanVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateBooleanVariable.lo `test -f 'src/c/CreateBooleanVariable.c' || echo '$(srcdir)/'`src/c/CreateBooleanVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateBooleanVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateBooleanVariable.c' object='src/c/libscimatio_algo_la-CreateBooleanVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateBooleanVariable.lo `test -f 'src/c/CreateBooleanVariable.c' || echo '$(srcdir)/'`src/c/CreateBooleanVariable.c + +src/c/libscimatio_algo_la-CreateCharVariable.lo: src/c/CreateCharVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateCharVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateCharVariable.lo `test -f 'src/c/CreateCharVariable.c' || echo '$(srcdir)/'`src/c/CreateCharVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateCharVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateCharVariable.c' object='src/c/libscimatio_algo_la-CreateCharVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateCharVariable.lo `test -f 'src/c/CreateCharVariable.c' || echo '$(srcdir)/'`src/c/CreateCharVariable.c + +src/c/libscimatio_algo_la-CreateDoubleVariable.lo: src/c/CreateDoubleVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateDoubleVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateDoubleVariable.lo `test -f 'src/c/CreateDoubleVariable.c' || echo '$(srcdir)/'`src/c/CreateDoubleVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateDoubleVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateDoubleVariable.c' object='src/c/libscimatio_algo_la-CreateDoubleVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateDoubleVariable.lo `test -f 'src/c/CreateDoubleVariable.c' || echo '$(srcdir)/'`src/c/CreateDoubleVariable.c + +src/c/libscimatio_algo_la-CreateIntegerVariable.lo: src/c/CreateIntegerVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateIntegerVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateIntegerVariable.lo `test -f 'src/c/CreateIntegerVariable.c' || echo '$(srcdir)/'`src/c/CreateIntegerVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateIntegerVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateIntegerVariable.c' object='src/c/libscimatio_algo_la-CreateIntegerVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateIntegerVariable.lo `test -f 'src/c/CreateIntegerVariable.c' || echo '$(srcdir)/'`src/c/CreateIntegerVariable.c + +src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo: src/c/CreateHyperMatrixVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo `test -f 'src/c/CreateHyperMatrixVariable.c' || echo '$(srcdir)/'`src/c/CreateHyperMatrixVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateHyperMatrixVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateHyperMatrixVariable.c' object='src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo `test -f 'src/c/CreateHyperMatrixVariable.c' || echo '$(srcdir)/'`src/c/CreateHyperMatrixVariable.c + +src/c/libscimatio_algo_la-CreateStructVariable.lo: src/c/CreateStructVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateStructVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateStructVariable.lo `test -f 'src/c/CreateStructVariable.c' || echo '$(srcdir)/'`src/c/CreateStructVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateStructVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateStructVariable.c' object='src/c/libscimatio_algo_la-CreateStructVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateStructVariable.lo `test -f 'src/c/CreateStructVariable.c' || echo '$(srcdir)/'`src/c/CreateStructVariable.c + +src/c/libscimatio_algo_la-CreateSparseVariable.lo: src/c/CreateSparseVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateSparseVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateSparseVariable.lo `test -f 'src/c/CreateSparseVariable.c' || echo '$(srcdir)/'`src/c/CreateSparseVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateSparseVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateSparseVariable.c' object='src/c/libscimatio_algo_la-CreateSparseVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateSparseVariable.lo `test -f 'src/c/CreateSparseVariable.c' || echo '$(srcdir)/'`src/c/CreateSparseVariable.c + +src/c/libscimatio_algo_la-CreateCellVariable.lo: src/c/CreateCellVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-CreateCellVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Tpo -c -o src/c/libscimatio_algo_la-CreateCellVariable.lo `test -f 'src/c/CreateCellVariable.c' || echo '$(srcdir)/'`src/c/CreateCellVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-CreateCellVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/CreateCellVariable.c' object='src/c/libscimatio_algo_la-CreateCellVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-CreateCellVariable.lo `test -f 'src/c/CreateCellVariable.c' || echo '$(srcdir)/'`src/c/CreateCellVariable.c + +src/c/libscimatio_algo_la-GetMatlabVariable.lo: src/c/GetMatlabVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetMatlabVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Tpo -c -o src/c/libscimatio_algo_la-GetMatlabVariable.lo `test -f 'src/c/GetMatlabVariable.c' || echo '$(srcdir)/'`src/c/GetMatlabVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetMatlabVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetMatlabVariable.c' object='src/c/libscimatio_algo_la-GetMatlabVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetMatlabVariable.lo `test -f 'src/c/GetMatlabVariable.c' || echo '$(srcdir)/'`src/c/GetMatlabVariable.c + +src/c/libscimatio_algo_la-GetDoubleVariable.lo: src/c/GetDoubleVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetDoubleVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Tpo -c -o src/c/libscimatio_algo_la-GetDoubleVariable.lo `test -f 'src/c/GetDoubleVariable.c' || echo '$(srcdir)/'`src/c/GetDoubleVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetDoubleVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetDoubleVariable.c' object='src/c/libscimatio_algo_la-GetDoubleVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetDoubleVariable.lo `test -f 'src/c/GetDoubleVariable.c' || echo '$(srcdir)/'`src/c/GetDoubleVariable.c + +src/c/libscimatio_algo_la-GetCharVariable.lo: src/c/GetCharVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetCharVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Tpo -c -o src/c/libscimatio_algo_la-GetCharVariable.lo `test -f 'src/c/GetCharVariable.c' || echo '$(srcdir)/'`src/c/GetCharVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetCharVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetCharVariable.c' object='src/c/libscimatio_algo_la-GetCharVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetCharVariable.lo `test -f 'src/c/GetCharVariable.c' || echo '$(srcdir)/'`src/c/GetCharVariable.c + +src/c/libscimatio_algo_la-GetIntegerVariable.lo: src/c/GetIntegerVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetIntegerVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Tpo -c -o src/c/libscimatio_algo_la-GetIntegerVariable.lo `test -f 'src/c/GetIntegerVariable.c' || echo '$(srcdir)/'`src/c/GetIntegerVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetIntegerVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetIntegerVariable.c' object='src/c/libscimatio_algo_la-GetIntegerVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetIntegerVariable.lo `test -f 'src/c/GetIntegerVariable.c' || echo '$(srcdir)/'`src/c/GetIntegerVariable.c + +src/c/libscimatio_algo_la-GetMlistVariable.lo: src/c/GetMlistVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetMlistVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Tpo -c -o src/c/libscimatio_algo_la-GetMlistVariable.lo `test -f 'src/c/GetMlistVariable.c' || echo '$(srcdir)/'`src/c/GetMlistVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetMlistVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetMlistVariable.c' object='src/c/libscimatio_algo_la-GetMlistVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetMlistVariable.lo `test -f 'src/c/GetMlistVariable.c' || echo '$(srcdir)/'`src/c/GetMlistVariable.c + +src/c/libscimatio_algo_la-GetCellVariable.lo: src/c/GetCellVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetCellVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Tpo -c -o src/c/libscimatio_algo_la-GetCellVariable.lo `test -f 'src/c/GetCellVariable.c' || echo '$(srcdir)/'`src/c/GetCellVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetCellVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetCellVariable.c' object='src/c/libscimatio_algo_la-GetCellVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetCellVariable.lo `test -f 'src/c/GetCellVariable.c' || echo '$(srcdir)/'`src/c/GetCellVariable.c + +src/c/libscimatio_algo_la-GetStructVariable.lo: src/c/GetStructVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetStructVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Tpo -c -o src/c/libscimatio_algo_la-GetStructVariable.lo `test -f 'src/c/GetStructVariable.c' || echo '$(srcdir)/'`src/c/GetStructVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetStructVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetStructVariable.c' object='src/c/libscimatio_algo_la-GetStructVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetStructVariable.lo `test -f 'src/c/GetStructVariable.c' || echo '$(srcdir)/'`src/c/GetStructVariable.c + +src/c/libscimatio_algo_la-GetSparseVariable.lo: src/c/GetSparseVariable.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT src/c/libscimatio_algo_la-GetSparseVariable.lo -MD -MP -MF src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Tpo -c -o src/c/libscimatio_algo_la-GetSparseVariable.lo `test -f 'src/c/GetSparseVariable.c' || echo '$(srcdir)/'`src/c/GetSparseVariable.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Tpo src/c/$(DEPDIR)/libscimatio_algo_la-GetSparseVariable.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/c/GetSparseVariable.c' object='src/c/libscimatio_algo_la-GetSparseVariable.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_algo_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o src/c/libscimatio_algo_la-GetSparseVariable.lo `test -f 'src/c/GetSparseVariable.c' || echo '$(srcdir)/'`src/c/GetSparseVariable.c + +sci_gateway/c/libscimatio_la-gw_matio.lo: sci_gateway/c/gw_matio.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-gw_matio.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Tpo -c -o sci_gateway/c/libscimatio_la-gw_matio.lo `test -f 'sci_gateway/c/gw_matio.c' || echo '$(srcdir)/'`sci_gateway/c/gw_matio.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-gw_matio.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/gw_matio.c' object='sci_gateway/c/libscimatio_la-gw_matio.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-gw_matio.lo `test -f 'sci_gateway/c/gw_matio.c' || echo '$(srcdir)/'`sci_gateway/c/gw_matio.c + +sci_gateway/c/libscimatio_la-sci_matfile_open.lo: sci_gateway/c/sci_matfile_open.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_open.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_open.lo `test -f 'sci_gateway/c/sci_matfile_open.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_open.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_open.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_matfile_open.c' object='sci_gateway/c/libscimatio_la-sci_matfile_open.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_open.lo `test -f 'sci_gateway/c/sci_matfile_open.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_open.c + +sci_gateway/c/libscimatio_la-sci_matfile_close.lo: sci_gateway/c/sci_matfile_close.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_close.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_close.lo `test -f 'sci_gateway/c/sci_matfile_close.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_close.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_close.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_matfile_close.c' object='sci_gateway/c/libscimatio_la-sci_matfile_close.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_close.lo `test -f 'sci_gateway/c/sci_matfile_close.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_close.c + +sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo: sci_gateway/c/sci_matfile_listvar.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo `test -f 'sci_gateway/c/sci_matfile_listvar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_listvar.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_listvar.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_matfile_listvar.c' object='sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo `test -f 'sci_gateway/c/sci_matfile_listvar.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_listvar.c + +sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo: sci_gateway/c/sci_matfile_varreadnext.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo `test -f 'sci_gateway/c/sci_matfile_varreadnext.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varreadnext.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varreadnext.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_matfile_varreadnext.c' object='sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo `test -f 'sci_gateway/c/sci_matfile_varreadnext.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varreadnext.c + +sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo: sci_gateway/c/sci_matfile_varwrite.c +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo -MD -MP -MF sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Tpo -c -o sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo `test -f 'sci_gateway/c/sci_matfile_varwrite.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varwrite.c +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Tpo sci_gateway/c/$(DEPDIR)/libscimatio_la-sci_matfile_varwrite.Plo +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='sci_gateway/c/sci_matfile_varwrite.c' object='sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libscimatio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo `test -f 'sci_gateway/c/sci_matfile_varwrite.c' || echo '$(srcdir)/'`sci_gateway/c/sci_matfile_varwrite.c + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf sci_gateway/c/.libs sci_gateway/c/_libs + -rm -rf src/c/.libs src/c/_libs + -rm -rf src/nomatio/.libs src/nomatio/_libs +install-libscimatio_la_etcDATA: $(libscimatio_la_etc_DATA) + @$(NORMAL_INSTALL) + @list='$(libscimatio_la_etc_DATA)'; test -n "$(libscimatio_la_etcdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscimatio_la_etcdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscimatio_la_etcdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscimatio_la_etcdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscimatio_la_etcdir)" || exit $$?; \ + done + +uninstall-libscimatio_la_etcDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscimatio_la_etc_DATA)'; test -n "$(libscimatio_la_etcdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscimatio_la_etcdir)'; $(am__uninstall_files_from_dir) +install-libscimatio_la_rootDATA: $(libscimatio_la_root_DATA) + @$(NORMAL_INSTALL) + @list='$(libscimatio_la_root_DATA)'; test -n "$(libscimatio_la_rootdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscimatio_la_rootdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscimatio_la_rootdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscimatio_la_rootdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscimatio_la_rootdir)" || exit $$?; \ + done + +uninstall-libscimatio_la_rootDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscimatio_la_root_DATA)'; test -n "$(libscimatio_la_rootdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscimatio_la_rootdir)'; $(am__uninstall_files_from_dir) +install-libscimatio_la_sci_gatewayDATA: $(libscimatio_la_sci_gateway_DATA) + @$(NORMAL_INSTALL) + @list='$(libscimatio_la_sci_gateway_DATA)'; test -n "$(libscimatio_la_sci_gatewaydir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(libscimatio_la_sci_gatewaydir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libscimatio_la_sci_gatewaydir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)" || exit $$?; \ + done + +uninstall-libscimatio_la_sci_gatewayDATA: + @$(NORMAL_UNINSTALL) + @list='$(libscimatio_la_sci_gateway_DATA)'; test -n "$(libscimatio_la_sci_gatewaydir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(libscimatio_la_sci_gatewaydir)'; $(am__uninstall_files_from_dir) + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-am +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-am + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscopelist: cscopelist-am + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am + $(MAKE) $(AM_MAKEFLAGS) check-local +check: check-am +all-am: Makefile $(LTLIBRARIES) $(DATA) all-local +installdirs: + for dir in "$(DESTDIR)$(pkglibdir)" "$(DESTDIR)$(libscimatio_la_etcdir)" "$(DESTDIR)$(libscimatio_la_rootdir)" "$(DESTDIR)$(libscimatio_la_sci_gatewaydir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f sci_gateway/c/$(DEPDIR)/$(am__dirstamp) + -rm -f sci_gateway/c/$(am__dirstamp) + -rm -f src/c/$(DEPDIR)/$(am__dirstamp) + -rm -f src/c/$(am__dirstamp) + -rm -f src/nomatio/$(DEPDIR)/$(am__dirstamp) + -rm -f src/nomatio/$(am__dirstamp) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nomatio/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-local distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-data-local install-libscimatio_la_etcDATA \ + install-libscimatio_la_rootDATA \ + install-libscimatio_la_sci_gatewayDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-pkglibLTLIBRARIES + +install-html: install-html-am + +install-html-am: install-html-local + +install-info: install-info-am + +install-info-am: + +install-man: + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -rf sci_gateway/c/$(DEPDIR) src/c/$(DEPDIR) src/nomatio/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-libscimatio_la_etcDATA \ + uninstall-libscimatio_la_rootDATA \ + uninstall-libscimatio_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + +.MAKE: check-am install-am install-strip + +.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am \ + check-local clean clean-generic clean-libtool clean-local \ + clean-noinstLTLIBRARIES clean-pkglibLTLIBRARIES cscopelist-am \ + ctags ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-local distclean-tags distdir dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-dvi \ + install-dvi-am install-exec install-exec-am install-html \ + install-html-am install-html-local install-info \ + install-info-am install-libscimatio_la_etcDATA \ + install-libscimatio_la_rootDATA \ + install-libscimatio_la_sci_gatewayDATA install-man install-pdf \ + install-pdf-am install-pkglibLTLIBRARIES install-ps \ + install-ps-am install-strip installcheck installcheck-am \ + installdirs maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ + uninstall-am uninstall-libscimatio_la_etcDATA \ + uninstall-libscimatio_la_rootDATA \ + uninstall-libscimatio_la_sci_gatewayDATA \ + uninstall-pkglibLTLIBRARIES + + +# This target enables tests for Scilab +check-local: $(top_builddir)/scilab-bin test + if test -d $(mydatadir)/tests; then \ + @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \ + fi +check-code: + if test -f build.xml; then \ + $(ANT) checkstyle; \ + fi + if test -x "$(SPLINT)"; then \ + $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \ + fi +@NEED_JAVA_TRUE@java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT); \ +@NEED_JAVA_TRUE@ fi + +@NEED_JAVA_TRUE@clean-java: +# Some configurations needs to export JAVA_HOME in the current env +@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \ +@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ +@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \ +@NEED_JAVA_TRUE@ $(ANT) clean; \ +@NEED_JAVA_TRUE@ fi; + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@SWIG_TRUE@swig: $(SWIG_WRAPPERS) +@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \ +@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \ +@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS) +@SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \ +@SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \ +@SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \ +@SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \ +@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \ +@SWIG_TRUE@ done; \ +@SWIG_TRUE@ fi + +# If the user request for the SWIG generation of the wrappers Java => C/C++ +# We call the target swig-build on the variable SWIG_WRAPPERS + +@GIWS_TRUE@giws: $(GIWS_WRAPPERS) +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \ +@GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \ +@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \ +@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \ +@GIWS_TRUE@ echo "GIWS process of $$file ..."; \ +@GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \ +@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ else \ +@GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \ +@GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \ +@GIWS_TRUE@ fi \ +@GIWS_TRUE@ done; \ +@GIWS_TRUE@ fi + +@GIWS_TRUE@giws-exception: +@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\ +@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \ +@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR + +macros: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been built"; \ + else \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\ + fi) + +# Removes the macros +clean-macros: +# Removes macros (*.bin generated from .sci) + @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \ + rm -f $(builddir)/$$dir/$(MACROBINMASK); \ + done + +test: +# More tests could be added here + @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \ + if test -f build.xml -a $$USEANT -eq 1; then \ + $(ANT) test; \ + fi + +all-local: $(TARGETS_ALL) + +.sci.bin: + -@( if test ! -x $(top_builddir)/scilab-bin; then \ + echo "Error : Cannot build $< : Scilab has not been build"; \ + else \ + echo "Creating $@"; \ + $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \ + fi ) + +install-html-local: + +install-data-local-local: +# Mainly for javasci + @if test -d $(srcdir)/javadoc; then \ + cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \ + fi +# If the user wants the help sources to be installed +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \ +@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ done; \ +@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \ +@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \ +@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \ +@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \ +@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \ +@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \ +@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \ +@INSTALL_HELP_XML_TRUE@ done ; \ +@INSTALL_HELP_XML_TRUE@ fi; \ +@INSTALL_HELP_XML_TRUE@ fi +install-data-local: +# Install the tests + @echo "-------- Install tests (if any) --------"; \ + for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the help chapter + @echo "-------- Install the help chapter (if any) --------"; \ + for lang in $(HELP_CHAPTERLANG); do \ + HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \ + if test -f $$HELPFILE; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \ + echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \ + fi; \ + done +# Install the demos & examples + @echo "-------- Install demos & examples (if any) --------"; \ + for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \ + if test -d $(srcdir)/$$dir/; then \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \ + for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \ + if test -d "$(srcdir)/$$dir/$$file"; then \ + echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \ + $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \ + else \ + echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \ + fi \ + done; \ + fi; \ + done +# Install the macros + @echo "-------- Install macros (if any) --------"; \ + for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \ + $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \ + if test -d $(srcdir)/$$dir/; then \ + FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\ + if test -n "$(MACROSSPECIALEXT)"; then \ + specialExtDir=""; \ + for specialExt in $(MACROSSPECIALEXT); do \ + specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \ + done; \ + FILELIST="$$FILELIST $$specialExtDir"; \ + fi; \ + for file in `ls -1 $$FILELIST 2>/dev/null`; do \ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \ + done; \ + fi; \ + done +# Install java files (.jar) + @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \ + echo "-------- Install jar files --------"; \ + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \ + for file in $(srcdir)/$(JARDIR)$(JARMASK); do\ + echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \ + $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \ + done ; \ + fi + +########### CLEAN ################### +# Clean help (generated automatically by Scilab) +# It used to clean the macro (clean-macros) but this was causing +# make clean && make to fail Scilab startup +@NEED_JAVA_TRUE@clean-local: clean-java +@NEED_JAVA_FALSE@clean-local: + +distclean-local: + rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_* + +.PHONY: macros java swig giws + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/modules/matio/core_Import.def b/modules/matio/core_Import.def new file mode 100755 index 000000000..193d7f259 --- /dev/null +++ b/modules/matio/core_Import.def @@ -0,0 +1,11 @@ +LIBRARY core.dll + + +EXPORTS +;core +freeArrayOfString +callFunctionFromGateway +com_ +MyHeapAlloc +MyHeapFree +MyHeapRealloc diff --git a/modules/matio/etc/matio.quit b/modules/matio/etc/matio.quit new file mode 100755 index 000000000..ab83f0c89 --- /dev/null +++ b/modules/matio/etc/matio.quit @@ -0,0 +1,10 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2007-2008 - INRIA +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + diff --git a/modules/matio/etc/matio.start b/modules/matio/etc/matio.start new file mode 100755 index 000000000..fa883d615 --- /dev/null +++ b/modules/matio/etc/matio.start @@ -0,0 +1,13 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Vincent COUVERT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +// Load functions library +// ============================================================================= +load("SCI/modules/matio/macros/lib"); + diff --git a/modules/matio/help/en_US/addchapter.sce b/modules/matio/help/en_US/addchapter.sce new file mode 100755 index 000000000..3c3724cf7 --- /dev/null +++ b/modules/matio/help/en_US/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Matlab binary files I/O",SCI+"/modules/matio/help/en_US",%T); + diff --git a/modules/matio/help/en_US/loadmatfile.xml b/modules/matio/help/en_US/loadmatfile.xml new file mode 100755 index 000000000..8ca3898fd --- /dev/null +++ b/modules/matio/help/en_US/loadmatfile.xml @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2002-2007 - INRIA - Serge STEER + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="loadmatfile"> + <refnamediv> + <refname>loadmatfile</refname> + <refpurpose>loads a Matlab V6 MAT-file (binary or ASCII) into Scilab</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>loadmatfile(format,filename[,var1[,var2[,...]]]) + loadmatfile(filename[,format[,var1[,var2[,...]]]]) + loadmatfile(filename[,var1[,var2,[,...[,format]]]]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>character string containing the path of the file (needed)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>format</term> + <listitem> + <para>file format (if not given and file has extension ".mat", file is considered to be binary)</para> + <variablelist> + <varlistentry> + <term>"-mat"</term> + <listitem> + <para>binary file</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii"</term> + <listitem> + <para>option to force Scilab to read file as an ASCII file</para> + </listitem> + </varlistentry> + </variablelist> + </listitem> + </varlistentry> + <varlistentry> + <term>var1, var2</term> + <listitem> + <para>character strings containing the name of the variables to load (only for binary files)</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + loads a Matlab MAT-file into Scilab. The Matlab data types are + converted into the Scilab equivalents. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +A = rand(10,10); +B = sprand(100,100,0.1); +savematfile('test_matfile.mat','A','B','-v6'); +clear; +loadmatfile('test_matfile.mat'); +disp(A) +disp(B) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="load">load</link> + </member> + <member> + <link linkend="savematfile">savematfile</link> + </member> + <member> + <link linkend="save">save</link> + </member> + <member> + <link linkend="mfile2sci">mfile2sci</link> + </member> + <member> + <link linkend="matfile2sci">matfile2sci</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para> + This function uses MATIO library ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + ). + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/en_US/matfile_close.xml b/modules/matio/help/en_US/matfile_close.xml new file mode 100755 index 000000000..ccb98b119 --- /dev/null +++ b/modules/matio/help/en_US/matfile_close.xml @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="matfile_close"> + <refnamediv> + <refname>matfile_close</refname> + <refpurpose>Closes a Matlab binary MAT-file.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>status = matfile_close(fd)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para> + Real: file descriptor (returned by <link linkend="matfile_open">matfile_open</link>). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>status</term> + <listitem> + <para> + Boolean: <emphasis>%T</emphasis> if closure succeeds, <emphasis>%F</emphasis> otherwise. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + Closes a Matlab binary MAT-file opened by <link linkend="matfile_open">matfile_open</link>. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +fd = matfile_open("test_matfile.mat","w"); +matfile_varwrite(fd, "foo", "bar", %t); +if matfile_close(fd) == %t then +disp("close worked!"); +else +disp("close failed!"); +end + +fd = matfile_open("test_matfile.mat"); +matfile_listvar(fd) +matfile_close(fd); + + ]]></programlisting> + </refsection> + + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para> + This function uses MATIO library ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + ). + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/en_US/matfile_listvar.xml b/modules/matio/help/en_US/matfile_listvar.xml new file mode 100755 index 000000000..73809e9be --- /dev/null +++ b/modules/matio/help/en_US/matfile_listvar.xml @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="matfile_listvar"> + <refnamediv> + <refname>matfile_listvar</refname> + <refpurpose>Lists variables of a Matlab binary MAT-file.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>[names[, classes[, types]]] = matfile_listvar(fd)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para> + Real: file descriptor (returned by <link linkend="matfile_open">matfile_open</link>). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>names</term> + <listitem> + <para>String vector: names of the variables.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>classes</term> + <listitem> + <para>Real vector: classes of the variables.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>types</term> + <listitem> + <para>Real vector: data types of the variables.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + Lists variables of a Matlab binary MAT-file opened by <link linkend="matfile_open">matfile_open</link>. + </para> + <para> + Returns empty matrices if the file contains no variables. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; +savematfile('test_matfile.mat','A','B','C','D','-v6'); +clear(); +fd = matfile_open("test_matfile.mat"); +[name, classes, types]=matfile_listvar(fd); +matfile_close(fd); + +for i=1:size(name,"*") do +disp("The variable " + name(i) + " has type " + string(types(i)) + " and class " + string(classes(i))) +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para> + This function uses MATIO library ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + ). + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/en_US/matfile_open.xml b/modules/matio/help/en_US/matfile_open.xml new file mode 100755 index 000000000..48b701886 --- /dev/null +++ b/modules/matio/help/en_US/matfile_open.xml @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="matfile_open"> + <refnamediv> + <refname>matfile_open</refname> + <refpurpose>Opens a Matlab binary MAT-file.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>fd = matfile_open(filename[, mode[, version]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>String: the path of the file. Must contain only ANSI character.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>mode</term> + <listitem> + <para> + String: file access type (<literal>"r"</literal> by default). + </para> + <itemizedlist> + <listitem> + <para> + <emphasis>"r"</emphasis>: opens the file for reading. + </para> + </listitem> + <listitem> + <para> + <emphasis>"w"</emphasis>: creates an empty file or opens it for writing. + </para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> + <term>version</term> + <listitem> + <para> + Scalar string: file version format (<literal>"5"</literal> by default). + </para> + <itemizedlist> + <listitem> + <para> + <emphasis>"5"</emphasis>: Matlab 5 file. + </para> + </listitem> + <listitem> + <para> + <emphasis>"7.3"</emphasis>: Matlab 7.3 file. + </para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> + <term>fd</term> + <listitem> + <para>Real: file descriptor (-1 if opening failed).</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + Opens a Matlab binary MAT-file for reading or writing data. + </para> + <para> + <warning> + If <varname>mode</varname> is set to <literal>w</literal>, the content of <varname>filename</varname> will be reseted. + </warning> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +A = rand(10, 10); +B = sprand(100, 100, 0.1); +savematfile("test_matfile.mat", "A", "B", "-v6"); +clear(); +fd = matfile_open("test_matfile.mat"); +matfile_listvar(fd) +matfile_close(fd); + +//fd = matfile_open("test_matfile.mat", "w"); // Empty test_matfile.mat + +//fd = matfile_open("test_matfile.mat", "w", "7.3"); // Empty test_matfile.mat as a Matlab 7.3 file + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para> + This function uses MATIO library ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + ). + </para> + </refsection> + <refsection> + <title>History</title> + <revhistory> + <revision> + <revnumber>5.5.0</revnumber> + <revremark>Support for Matlab 7.3 files.</revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/matio/help/en_US/matfile_varreadnext.xml b/modules/matio/help/en_US/matfile_varreadnext.xml new file mode 100755 index 000000000..07649477c --- /dev/null +++ b/modules/matio/help/en_US/matfile_varreadnext.xml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="matfile_varreadnext"> + <refnamediv> + <refname>matfile_varreadnext</refname> + <refpurpose>Reads next variable in a Matlab binary MAT-file.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>[name[, value[, vartype]]] = matfile_varreadnext(fd)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para> + Real: file descriptor (returned by <link linkend="matfile_open">matfile_open</link>). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>name</term> + <listitem> + <para> + String: name of the variable read or <literal>""</literal> if reading failed. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>value</term> + <listitem> + <para>Any Scilab type: value of the variable read or an empty matrix if reading failed.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>vartype</term> + <listitem> + <para>Real: type of the variable if reading succeeds or:</para> + <itemizedlist> + <listitem> + <para> + <emphasis>0</emphasis>: if the variable type is unknown. + </para> + </listitem> + <listitem> + <para> + <emphasis>-1</emphasis>: if end of file has been reached. + </para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + Reads next variable in a Matlab binary MAT-file opened by <link linkend="matfile_open">matfile_open</link>. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +A = rand(10,10); +B = sprand(10,10,0.1); +C = "foo"; +D = "bar"; +savematfile('test_matfile.mat','A','B','C','D','-v6'); +clear(); +fd = matfile_open("test_matfile.mat"); +//-- Loop on the stored variables +while %t + [Name, Value, Type] = matfile_varreadnext(fd); + if Name == "" then + break; + else + disp("The variable " + Name + " has type " + string(Type) + " and contains:"); + disp(Value); + end +end +matfile_close(fd); + + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para> + This function uses MATIO library ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + ). + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/en_US/matfile_varwrite.xml b/modules/matio/help/en_US/matfile_varwrite.xml new file mode 100755 index 000000000..a3a9bca6f --- /dev/null +++ b/modules/matio/help/en_US/matfile_varwrite.xml @@ -0,0 +1,114 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="matfile_varwrite"> + <refnamediv> + <refname>matfile_varwrite</refname> + <refpurpose>Write a variable in a Matlab binary MAT-file.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>status = matfile_varwrite(fd, name, value, compressionflag)</synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para> + Real: file descriptor (returned by <link linkend="matfile_open">matfile_open</link>). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>name</term> + <listitem> + <para>String: name of the variable to write in the file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>value</term> + <listitem> + <para>Any Scilab type: value of the variable to write in the file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>compressionflag</term> + <listitem> + <para> + Boolean: indicate if data compression has to be used (flag equaled to <emphasis>%T</emphasis>) or not. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>status</term> + <listitem> + <para> + Boolean: <emphasis>%T</emphasis> if writing succeeds, <emphasis>%F</emphasis> otherwise. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + Writes a variable in a Matlab binary MAT-file opened by <link linkend="matfile_open">matfile_open</link>. + </para> + <para> + <warning> + <function>matfile_varwrite</function> will fail if the MAT-file is not open with the "w" mode and will override any variable stored in the file. + </warning> + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +fd = matfile_open("test_matfile.mat","w"); +matfile_varwrite(fd, "foo", "bar", %t); +matfile_close(fd); + +fd = matfile_open("test_matfile.mat"); +matfile_listvar(fd) +matfile_close(fd); + + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para> + This function uses MATIO library ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + ). + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/en_US/savematfile.xml b/modules/matio/help/en_US/savematfile.xml new file mode 100755 index 000000000..62832b9a2 --- /dev/null +++ b/modules/matio/help/en_US/savematfile.xml @@ -0,0 +1,181 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Serge STEER + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="savematfile"> + <refnamediv> + <refname>savematfile</refname> + <refpurpose>write a Matlab MAT-file (binary or ASCII)</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>Calling Sequence</title> + <synopsis>savematfile('filename') + savematfile('filename', 'var1', 'var2', ...) + savematfile('filename', '-struct', 's') + savematfile('filename', '-struct', 's', 'f1', 'f2', ...) + savematfile(..., '-v4') + savematfile(..., '-v6') + savematfile(..., '-v7') + savematfile(..., '-v7.3') + savematfile filename var1 var2 ... + </synopsis> + </refsynopsisdiv> + <refsection> + <title>Arguments</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>character string containing the path of the file (needed)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>format</term> + <listitem> + <para>data format to use</para> + <variablelist> + <varlistentry> + <term>"-mat"</term> + <listitem> + <para>binary MAT-file (default)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii"</term> + <listitem> + <para>8-bit ASCII format</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii" "-double"</term> + <listitem> + <para>16-bit ASCII format</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii" "-tabs"</term> + <listitem> + <para>delimits with tabs</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii" "-double" "-tabs"</term> + <listitem> + <para>16-digit ASCII format, tab delimited</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v4"</term> + <listitem> + <para>A format that MATLAB Version 4 can open</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v6"</term> + <listitem> + <para>A format that MATLAB Version 6 and earlier can open</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v7"</term> + <listitem> + <para>A format that MATLAB Version 7 and earlier can + open (default) + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v7.3"</term> + <listitem> + <para>A format that MATLAB Version 7.3 and earlier can + open + </para> + </listitem> + </varlistentry> + </variablelist> + </listitem> + </varlistentry> + <varlistentry> + <term>var1, var2</term> + <listitem> + <para>character strings containing the name of the variables to load (only for binary files)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-struct" "s"</term> + <listitem> + <para>saves all fields of the scalar structure s as individual variables within the file filename.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-struct" "s" "f1" "f2"</term> + <listitem> + <para>saves as individual variables only those structure fields specified (s.f1, s.f2, ...).</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>Description</title> + <para> + saves variables in a Matlab MAT-file from Scilab. The Scilab data types are + converted into the Matlab equivalents. + </para> + </refsection> + <refsection> + <title>Examples</title> + <programlisting role="example"><![CDATA[ +A = rand(10, 10); +B = sprand(100, 100, 0.1); +savematfile("test_matfile.mat", "A", "B", "-v6"); +clear; +loadmatfile("test_matfile.mat"); +disp(A) +disp(B) + +// As a Matlab 7.3 file +A = rand(10, 10); +B = sprand(100, 100, 0.1); +savematfile("test_matfile.mat", "A", "B", "-v7.3"); +clear; +loadmatfile("test_matfile.mat"); +disp(A) +disp(B) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>See Also</title> + <simplelist type="inline"> + <member> + <link linkend="load">load</link> + </member> + <member> + <link linkend="save">save</link> + </member> + <member> + <link linkend="loadmatfile">loadmatfile</link> + </member> + <member> + <link linkend="mfile2sci">mfile2sci</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>Bibliography</title> + <para>This function has been developed following the "MAT-File Format" + description: + <literal> + <ulink url="http://www.mathworks.com/access/helpdesk/help/pdf_doc/matlab/matfile_format.pdf">Mat-File Format</ulink> + </literal> + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/fr_FR/addchapter.sce b/modules/matio/help/fr_FR/addchapter.sce new file mode 100755 index 000000000..ede34f2b3 --- /dev/null +++ b/modules/matio/help/fr_FR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Lecture/Ecriture de fichiers binaires Matlab",SCI+"/modules/matio/help/fr_FR",%T); + diff --git a/modules/matio/help/ja_JP/addchapter.sce b/modules/matio/help/ja_JP/addchapter.sce new file mode 100755 index 000000000..823d4f777 --- /dev/null +++ b/modules/matio/help/ja_JP/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Matlab binary files I/O",SCI+"/modules/matio/help/ja_JP",%T); + diff --git a/modules/matio/help/ja_JP/loadmatfile.xml b/modules/matio/help/ja_JP/loadmatfile.xml new file mode 100755 index 000000000..0d0e14c67 --- /dev/null +++ b/modules/matio/help/ja_JP/loadmatfile.xml @@ -0,0 +1,116 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2002-2007 - INRIA - Serge STEER + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="loadmatfile"> + <refnamediv> + <refname>loadmatfile</refname> + <refpurpose>lMatlab V6 MATファイル (バイナリまたは ASCII) を Scilabに読み込む</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>loadmatfile(format,filename[,var1[,var2[,...]]]) + loadmatfile(filename[,format[,var1[,var2[,...]]]]) + loadmatfile(filename[,var1[,var2,[,...[,format]]]]) + </synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>ファイルへのパスを含む文字列 (必須)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>format</term> + <listitem> + <para>ファイル形式 (指定されない場合で,かつ,ファイルの拡張子が ".mat"の場合, + ファイルはバイナリとみなされます) + </para> + <variablelist> + <varlistentry> + <term>"-mat"</term> + <listitem> + <para>バイナリファイル</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii"</term> + <listitem> + <para>強制的にアスキーファイルとしてScilabにファイルを読み込ませるための + オプション + </para> + </listitem> + </varlistentry> + </variablelist> + </listitem> + </varlistentry> + <varlistentry> + <term>var1, var2</term> + <listitem> + <para> + 読み込む変数の名前を有する文字列 (バイナリファイル専用) + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + Matlab MATファイルをScilabに読み込みます. + Matlab データ型は等価なScilabのデータ型に変換されます. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +A = rand(10,10); +B = sprand(100,100,0.1); +savematfile('test_matfile.mat','A','B','-v6'); +clear; +loadmatfile('test_matfile.mat'); +disp(A) +disp(B) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="load">load</link> + </member> + <member> + <link linkend="savematfile">savematfile</link> + </member> + <member> + <link linkend="save">save</link> + </member> + <member> + <link linkend="mfile2sci">mfile2sci</link> + </member> + <member> + <link linkend="matfile2sci">matfile2sci</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>参考文献</title> + <para>この関数は以下の "MAT-File Format"に基づき開発されました: + <literal> + <ulink url="http://www.mathworks.com/access/helpdesk/help/pdf_doc/matlab/matfile_format.pdf">Mat-File Format</ulink> + </literal> + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/ja_JP/matfile_close.xml b/modules/matio/help/ja_JP/matfile_close.xml new file mode 100755 index 000000000..a49706cbe --- /dev/null +++ b/modules/matio/help/ja_JP/matfile_close.xml @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="matfile_close"> + <refnamediv> + <refname>matfile_close</refname> + <refpurpose>Matlab バイナリ MATファイルを閉じる.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>status = matfile_close(fd)</synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para>実数: ファイル記述子 + (<link linkend="matfile_open">matfile_open</link>により返される). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>status</term> + <listitem> + <para> + 論理値: 閉じるのに成功した場合に <emphasis>%T</emphasis> + ,そうでない場合に <emphasis>%F</emphasis> . + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <link linkend="matfile_open">matfile_open</link>により開かれた + Matlab バイナリ MATファイルを閉じます. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +fd = matfile_open("test_matfile.mat","w"); +matfile_varwrite(fd, "foo", "bar", %t); +if matfile_close(fd) == %t then +disp("close worked!"); +else +disp("close failed!"); +end +fd = matfile_open("test_matfile.mat"); +matfile_listvar(fd) +matfile_close(fd); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>参考文献</title> + <para> + この関数はMATIOライブラリ ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + )を使用しています. + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/ja_JP/matfile_listvar.xml b/modules/matio/help/ja_JP/matfile_listvar.xml new file mode 100755 index 000000000..edcc692d0 --- /dev/null +++ b/modules/matio/help/ja_JP/matfile_listvar.xml @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="matfile_listvar"> + <refnamediv> + <refname>matfile_listvar</refname> + <refpurpose>Matlab バイナリ MATファイルの中の変数の一覧を得る.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>[names[, classes[, types]]] = matfile_listvar(fd)</synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para> + 実数: (<link linkend="matfile_open">matfile_open</link>により返された)ファイル記述子. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>names</term> + <listitem> + <para>文字列ベクトル: 変数名.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>classes</term> + <listitem> + <para>実数ベクトル: 変数のクラス.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>types</term> + <listitem> + <para>実数ベクトル: 変数のデータ型.</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <link linkend="matfile_open">matfile_open</link>により開かれた + MatlabバイナルMATファイルの中の変数の一覧を取得します. + </para> + <para> + ファイルに変数がない場合, 空の行列が返されます. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; +savematfile('test_matfile.mat','A','B','C','D','-v6'); +clear(); +fd = matfile_open("test_matfile.mat"); +[name, classes, types]=matfile_listvar(fd); +matfile_close(fd); +for i=1:size(name,"*") do +disp("The variable " + name(i) + " has type " + string(types(i)) + " and class " + string(classes(i))) +end + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>参考文献</title> + <para> + この関数はMATIOライブラリ ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + )を使用しています. + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/ja_JP/matfile_open.xml b/modules/matio/help/ja_JP/matfile_open.xml new file mode 100755 index 000000000..ed7e32813 --- /dev/null +++ b/modules/matio/help/ja_JP/matfile_open.xml @@ -0,0 +1,142 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="matfile_open"> + <refnamediv> + <refname>matfile_open</refname> + <refpurpose>Matlab バイナリ MAT-ファイルを開く.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>fd = matfile_open(filename[, mode[, version]])</synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>文字列: ファイルのパス. ANSI文字のみを含む必要があります.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>mode</term> + <listitem> + <para> + 文字列: ファイルアクセス型 (デフォルトは<literal>"r"</literal>). + </para> + <itemizedlist> + <listitem> + <para> + <emphasis>"r"</emphasis>: 読み込み用にファイルを開く. + </para> + </listitem> + <listitem> + <para> + <emphasis>"w"</emphasis>: 書き込み用に空のファイルを作成またはファイルを開く. + </para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> + <term>version</term> + <listitem> + <para> + スカラー文字列: ファイル形式のバージョン (デフォルト:<literal>"5"</literal>). + </para> + <itemizedlist> + <listitem> + <para> + <emphasis>"5"</emphasis>: Matlab 5 ファイル. + </para> + </listitem> + <listitem> + <para> + <emphasis>"7.3"</emphasis>: Matlab 7.3 ファイル. + </para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> + <term>fd</term> + <listitem> + <para>実数: ファイル記述子 (開くのに失敗した場合は -1).</para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + Matlab バイナリ MATファイルをデータ読み込み用または書き込み用に + 開きます. + </para> + <para> + <warning> + <varname>mode</varname> が <literal>w</literal>に設定された場合, + <varname>filename</varname> の内容はリセットされます. + </warning> + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +A = rand(10, 10); +B = sprand(100, 100, 0.1); +savematfile("test_matfile.mat", "A", "B", "-v6"); +clear(); +fd = matfile_open("test_matfile.mat"); +matfile_listvar(fd) +matfile_close(fd); +//fd = matfile_open("test_matfile.mat", "w"); // 空のtest_matfile.mat +//fd = matfile_open("test_matfile.mat", "w", "7.3"); // Matlab 7.3 ファイル用の空の test_matfile.mat + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>参考文献</title> + <para> + この関数はMATIOライブラリ ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + )を使用しています. + </para> + </refsection> + <refsection> + <title>履歴</title> + <revhistory> + <revision> + <revnumber>5.5.0</revnumber> + <revremark>Matlab 7.3ファイルをサポート.</revremark> + </revision> + </revhistory> + </refsection> +</refentry> diff --git a/modules/matio/help/ja_JP/matfile_varreadnext.xml b/modules/matio/help/ja_JP/matfile_varreadnext.xml new file mode 100755 index 000000000..56ba422e3 --- /dev/null +++ b/modules/matio/help/ja_JP/matfile_varreadnext.xml @@ -0,0 +1,124 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="matfile_varreadnext"> + <refnamediv> + <refname>matfile_varreadnext</refname> + <refpurpose>Matlab バイナリ MATファイルの次の変数を読み込む.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>[name[, value[, vartype]]] = matfile_varreadnext(fd)</synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para> + 実数: (<link linkend="matfile_open">matfile_open</link>により返された)ファイル記述子. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>name</term> + <listitem> + <para> + 文字列: 読み込んだ変数の名前または <literal>""</literal> (読み込みに失敗した場合). + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>value</term> + <listitem> + <para>任意のScilab型: 読み込んだ変数の値または空の行列(読み込みに失敗した場合).</para> + </listitem> + </varlistentry> + <varlistentry> + <term>vartype</term> + <listitem> + <para>実数: 変数の型(読み込みに成功した場合)または:</para> + <itemizedlist> + <listitem> + <para> + <emphasis>0</emphasis>: 変数の型が不明の場合. + </para> + </listitem> + <listitem> + <para> + <emphasis>-1</emphasis>: ファイル終端に達した場合. + </para> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + <link linkend="matfile_open">matfile_open</link>により開かれた + Matlabバイナリ MATファイルの次の変数を読み込みます. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +A = rand(10,10); +B = sprand(10,10,0.1); +C = "foo"; +D = "bar"; +savematfile('test_matfile.mat','A','B','C','D','-v6'); +clear(); +fd = matfile_open("test_matfile.mat"); +//-- 保存された変数についてループ処理 +while %t + [Name, Value, Type] = matfile_varreadnext(fd); + if Name == "" then + break; + else + disp("The variable " + Name + " has type " + string(Type) + " and contains:"); + disp(Value); + end +end +matfile_close(fd); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varwrite">matfile_varwrite</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>参考文献</title> + <para> + この関数はMATIOライブラリ ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + )を使用しています. + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/ja_JP/matfile_varwrite.xml b/modules/matio/help/ja_JP/matfile_varwrite.xml new file mode 100755 index 000000000..8c1dca117 --- /dev/null +++ b/modules/matio/help/ja_JP/matfile_varwrite.xml @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="matfile_varwrite"> + <refnamediv> + <refname>matfile_varwrite</refname> + <refpurpose>Matlab バイナリ MATファイルに変数を書き込む.</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>status = matfile_varreadnext(fd, name, value, compressionflag)</synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>fd</term> + <listitem> + <para> + 実数: (<link linkend="matfile_open">matfile_open</link>により返された)ファイル記述子. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>name</term> + <listitem> + <para>文字列: ファイルに書き込む変数の名前.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>value</term> + <listitem> + <para>任意のScilab型: ファイルに書き込む変数の値.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>compressionflag</term> + <listitem> + <para> + 論理値: データ圧縮を使用する (有効フラグ <emphasis>%T</emphasis>) かどうかを示す. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>status</term> + <listitem> + <para> + 論理値: 書き込み成功の場合に <emphasis>%T</emphasis> , それ以外の場合に <emphasis>%F</emphasis> . + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + 変数を<link linkend="matfile_open">matfile_open</link> + により開かれたMatlabバイナリMATファイルに書き込みます. + </para> + <para> + <warning> + <function>matfile_varwrite</function> は,MATファイルが"w"モードで + オープンされていない場合に失敗し, ファイルに保存されている変数は + 上書きします. + </warning> + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +fd = matfile_open("test_matfile.mat","w"); +matfile_varwrite(fd, "foo", "bar", %t); +matfile_close(fd); +fd = matfile_open("test_matfile.mat"); +matfile_listvar(fd) +matfile_close(fd); + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="matfile_open">matfile_open</link> + </member> + <member> + <link linkend="matfile_close">matfile_close</link> + </member> + <member> + <link linkend="matfile_varreadnext">matfile_varreadnext</link> + </member> + <member> + <link linkend="matfile_listvar">matfile_listvar</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>参考文献</title> + <para> + この関数はMATIOライブラリ ( + <literal> + <ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink> + </literal> + )を使用しています. + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/ja_JP/savematfile.xml b/modules/matio/help/ja_JP/savematfile.xml new file mode 100755 index 000000000..24b8f06c5 --- /dev/null +++ b/modules/matio/help/ja_JP/savematfile.xml @@ -0,0 +1,179 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2004-2007 - INRIA - Serge STEER + * Copyright (C) 2004-2007 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="savematfile"> + <refnamediv> + <refname>savematfile</refname> + <refpurpose>Matlab MATファイル (バイナリまたは ASCII)を書き込む</refpurpose> + </refnamediv> + <refsynopsisdiv> + <title>呼び出し手順</title> + <synopsis>savematfile('filename') + savematfile('filename', 'var1', 'var2', ...) + savematfile('filename', '-struct', 's') + savematfile('filename', '-struct', 's', 'f1', 'f2', ...) + savematfile(..., '-v4') + savematfile(..., '-v6') + savematfile(..., '-v7') + savematfile(..., '-v7.3') + savematfile filename var1 var2 ... + </synopsis> + </refsynopsisdiv> + <refsection> + <title>引数</title> + <variablelist> + <varlistentry> + <term>filename</term> + <listitem> + <para>ファイルへのパスを有する文字列 (必須)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>format</term> + <listitem> + <para>使用するデータ形式</para> + <variablelist> + <varlistentry> + <term>"-mat"</term> + <listitem> + <para>バイナリMATファイル (デフォルト)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii"</term> + <listitem> + <para>8ビット ASCII形式</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii" "-double"</term> + <listitem> + <para>16ビット ASCII形式</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii" "-tabs"</term> + <listitem> + <para>タブ区切り形式</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-ascii" "-double" "-tabs"</term> + <listitem> + <para>16桁アスキー形式, タブ区切り形式</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v4"</term> + <listitem> + <para>MATLABバージョン4がオープンできる形式</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v6"</term> + <listitem> + <para>MATLABバージョン6以降がオープンできる形式</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v7"</term> + <listitem> + <para>MATLABバージョン7以降がオープンできる形式 (デフォルト)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-v7.3"</term> + <listitem> + <para>MATLABバージョン7.3以降がオープンできる形式</para> + </listitem> + </varlistentry> + </variablelist> + </listitem> + </varlistentry> + <varlistentry> + <term>var1, var2</term> + <listitem> + <para>読み込む変数の名前を有する文字列 (バイナリファイル専用)</para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-struct" "s"</term> + <listitem> + <para>スカラー構造体 s の全てのフィールドを + ファイル filename の独立した変数として保存. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term>"-struct" "s" "f1" "f2"</term> + <listitem> + <para> + 構造体の指定したフィールド(s.f1, s.f2, ...)のみ独立した変数として保存. + </para> + </listitem> + </varlistentry> + </variablelist> + </refsection> + <refsection> + <title>説明</title> + <para> + Scilabから Matlab MATファイルに変数を保存します. Scilabのデータ型は + 等価なMatlabのデータ型に変換されます. + </para> + </refsection> + <refsection> + <title>例</title> + <programlisting role="example"><![CDATA[ +A = rand(10, 10); +B = sprand(100, 100, 0.1); +savematfile("test_matfile.mat", "A", "B", "-v6"); +clear; +loadmatfile("test_matfile.mat"); +disp(A) +disp(B) +// Matlab 7.3ファイル +A = rand(10, 10); +B = sprand(100, 100, 0.1); +savematfile("test_matfile.mat", "A", "B", "-v7.3"); +clear; +loadmatfile("test_matfile.mat"); +disp(A) +disp(B) + ]]></programlisting> + </refsection> + <refsection role="see also"> + <title>参照</title> + <simplelist type="inline"> + <member> + <link linkend="load">load</link> + </member> + <member> + <link linkend="save">save</link> + </member> + <member> + <link linkend="loadmatfile">loadmatfile</link> + </member> + <member> + <link linkend="mfile2sci">mfile2sci</link> + </member> + </simplelist> + </refsection> + <refsection> + <title>参考文献</title> + <para>この関数は以下の "MAT-File Format"に基づき開発されました: + <literal> + <ulink url="http://www.mathworks.com/access/helpdesk/help/pdf_doc/matlab/matfile_format.pdf">Mat-File Format</ulink> + </literal> + </para> + </refsection> +</refentry> diff --git a/modules/matio/help/pt_BR/addchapter.sce b/modules/matio/help/pt_BR/addchapter.sce new file mode 100755 index 000000000..0f067504e --- /dev/null +++ b/modules/matio/help/pt_BR/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Entrada/Saída de Arquivos Matlab Binários",SCI+"/modules/matio/help/pt_BR",%T); + diff --git a/modules/matio/help/ru_RU/addchapter.sce b/modules/matio/help/ru_RU/addchapter.sce new file mode 100755 index 000000000..db80d4b6c --- /dev/null +++ b/modules/matio/help/ru_RU/addchapter.sce @@ -0,0 +1,11 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +add_help_chapter("Matlab binary files I/O",SCI+"/modules/matio/help/ru_RU",%T); + diff --git a/modules/matio/includes/dynlib_matio.h b/modules/matio/includes/dynlib_matio.h new file mode 100755 index 000000000..0c0f74602 --- /dev/null +++ b/modules/matio/includes/dynlib_matio.h @@ -0,0 +1,28 @@ +/* +* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +* Copyright (C) DIGITEO - 2009 - Allan CORNET +* +* This file must be used under the terms of the CeCILL. +* This source file is licensed as described in the file COPYING, which +* you should have received as part of this distribution. The terms +* are also available at +* http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +* +*/ + +/*--------------------------------------------------------------------------*/ +#ifndef __DYNLIB_MATIO_H__ +#define __DYNLIB_MATIO_H__ + +#ifdef _MSC_VER +#ifdef MATIO_EXPORTS +#define MATIO_IMPEXP __declspec(dllexport) +#else +#define MATIO_IMPEXP __declspec(dllimport) +#endif +#else +#define MATIO_IMPEXP +#endif + +#endif /* __DYNLIB_MATIO_H__ */ +/*--------------------------------------------------------------------------*/ diff --git a/modules/matio/includes/gw_matio.h b/modules/matio/includes/gw_matio.h new file mode 100755 index 000000000..1ce78983f --- /dev/null +++ b/modules/matio/includes/gw_matio.h @@ -0,0 +1,29 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +/*-----------------------------------------------------------------------------------*/ +#include "dynlib_matio.h" +/*-----------------------------------------------------------------------------------*/ +#ifndef __GW_MATIO_H__ +#define __GW_MATIO_H__ +/*-----------------------------------------------------------------------------------*/ +MATIO_IMPEXP int gw_matio(void); +/*-----------------------------------------------------------------------------------*/ +/* interface for the previous function Table */ +/*-----------------------------------------------------------------------------------*/ +MATIO_IMPEXP int sci_matfile_open(char *fname, unsigned long fname_len); +MATIO_IMPEXP int sci_matfile_close(char *fname, unsigned long fname_len); +MATIO_IMPEXP int sci_matfile_listvar(char *fname, unsigned long fname_len); +MATIO_IMPEXP int sci_matfile_varreadnext(char *fname, unsigned long fname_len); +MATIO_IMPEXP int sci_matfile_varwrite(char *fname, unsigned long fname_len); +/*-----------------------------------------------------------------------------------*/ +#endif /* __GW_MATIO_H__ */ diff --git a/modules/matio/libscimatio-algo.la b/modules/matio/libscimatio-algo.la new file mode 100755 index 000000000..b7c5ff167 --- /dev/null +++ b/modules/matio/libscimatio-algo.la @@ -0,0 +1,41 @@ +# libscimatio-algo.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='' + +# Names of this library. +library_names='' + +# The name of the static archive. +old_library='libscimatio-algo.a' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -lpthread -ldl -lcurses -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscimatio-algo. +current= +age= +revision= + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='' diff --git a/modules/matio/libscimatio.la b/modules/matio/libscimatio.la new file mode 100755 index 000000000..9fe30139e --- /dev/null +++ b/modules/matio/libscimatio.la @@ -0,0 +1,41 @@ +# libscimatio.la - a libtool library file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# The name that we can dlopen(3). +dlname='libscimatio.so.5' + +# Names of this library. +library_names='libscimatio.so.5.5.2 libscimatio.so.5 libscimatio.so' + +# The name of the static archive. +old_library='' + +# Linker flags that can not go in dependency_libs. +inherited_linker_flags='' + +# Libraries that this one depends upon. +dependency_libs=' -L/home/shashank/scilab-master_5.5.2/usr/lib -lz -lmatio -lhdf5 -lpthread -ldl -lcurses -lm' + +# Names of additional weak libraries provided by this library +weak_library_names='' + +# Version information for libscimatio. +current=10 +age=5 +revision=2 + +# Is this an already installed library? +installed=no + +# Should we warn about portability when linking against -modules? +shouldnotlink=no + +# Files to dlopen/dlpreopen +dlopen='' +dlpreopen='' + +# Directory that this library needs to be installed in: +libdir='/usr/local/lib/scilab' diff --git a/modules/matio/license.txt b/modules/matio/license.txt new file mode 100755 index 000000000..ceaa946a2 --- /dev/null +++ b/modules/matio/license.txt @@ -0,0 +1,11 @@ +Copyright: +Copyright (c) 2008 - DIGITEO +Copyright (c) 1989-2008 - INRIA + +License: +This module must be used under the terms of the CeCILL. +This module file is licensed as described in the file COPYING, which +you should have received as part of this distribution. The terms +are also available at +http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + diff --git a/modules/matio/locales/cs_CZ.po b/modules/matio/locales/cs_CZ.po new file mode 100755 index 000000000..301795519 --- /dev/null +++ b/modules/matio/locales/cs_CZ.po @@ -0,0 +1,194 @@ +# Czech translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-09-05 12:03+0000\n" +"Last-Translator: Zbyněk Schwarz <Unknown>\n" +"Language-Team: Czech <cs@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" +"%s: Špatná velikost prvního vstupního argumentu: Očekáváno jedno číslo s " +"dvojitou přesností.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "" +"%s: Špatný typ prvního vstupního argumentu: Očekáváno číslo s dvojitou " +"přesností.\n" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s: Neplatný identifikátor souboru.\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "%s: Nelze přetočit soubor %s.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: Není více paměti.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" +"¨%s: Špatná hodnota druhého vstupního argumentu: Očekáváno 'r' nebo 'w'.\n" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s: Pole znaků N-D není zavedeno.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "%s: Špatný typ prvního vstupního argumentu: Očekáván Mlist.\n" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "%s: Ukládání řádkového pole řetězců není zavedeno.\n" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" +"%s: Ukládání sloupcového pole řetězců s různými délkami není zavedeno.\n" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "%s: Ukládání řetězců 2D pole není zavedeno.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" +"%s: Špatný typ prvního vstupního argumentu: Očekávána řetězcová matice.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" +"%s: Špatný typ prvního vstupního argumentu: Očekávána matice s dvojitou " +"přesností.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" +"%s: Špatný typ prvního vstupního argumentu: Očekávána celočíselná matice.\n" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" +"%s: Mlisty typu %s nemůžou být zapsány do binárních souborů Matlab.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" +"%s: Špatný typ prvního vstupního argumentu: Očekávána řídká matice.\n" + +msgid "Scilab matio module not installed.\n" +msgstr "Modul Scilab matio není nainstalován.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "%s: Špatný typ vstupního argumentu #%d: Očekávána matice řetězců.\n" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s: Tato funkce ení ještě zavedena: %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s: Nelze otevřít soubor %s.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" +"%s: V souboru '%s' není žádná proměnná read, Zkontrolujte, zda není Váš " +"soubor poškozen.\n" + +msgid "All inputs must be character strings." +msgstr "Všechny vstupy musí být řetězce znaků." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "Možnost %s nezavedena: IGNOROVÁNA" + +msgid "Option -v7 added." +msgstr "Přidána možnost -v7." + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "Proměnná %s nemůže být uložena v MAT souboru 4. úrovně: IGNOROVÁNO." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "Konflikt v názvu: není možné uložit proměnnou s názvem %s." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "Pokus o zápis nepodporovaného typu dat do souboru ASCII." + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s: Nelze otevřít soubor '%s'.\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "savematfile: nelze uložit proměnnou s názvem %s.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "Proměnná %s nemůže být uložena v souboru ASCII: IGNOROVÁNO." diff --git a/modules/matio/locales/es_ES.po b/modules/matio/locales/es_ES.po new file mode 100755 index 000000000..7004862fb --- /dev/null +++ b/modules/matio/locales/es_ES.po @@ -0,0 +1,213 @@ +# Spanish translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-10-21 22:39+0000\n" +"Last-Translator: Fido <Unknown>\n" +"Language-Team: Spanish <es@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: es\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" +"%s: Tamaño incorrecto para el primer argumento de entrada: Se esperaba un " +"único double.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "" +"%s: Tipo incorrecto para el primer argumento de entrada: Se esperaba en un " +"double.\n" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s: Identificador de archivo inválido.\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "%s: No se pudo rebobinar el archivo %s.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: No hay más memoria.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" +"%s: Tipo incorrecto para el segundo argumento de entrada: Se esperaba 'r' o " +"'w'.\n" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s: arreglos N-D de caracteres aun no fueron implementados.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "" +"%s: Tipo incorrecto para el primer argumento de entrada: Se esperaba una " +"Mlist.\n" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "" +"%s: El almacenamiento de arreglos fila de strings aun no está implementado.\n" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" +"%s: El almacenamiento de arreglos columna de strings con diferentes " +"longitudesaun no está implementado.\n" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "" +"%s: El almacenamiento de arreglos bidimensionales de strings aun no está " +"implementado.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" +"%s: Tipo incorrecto para el primer argumento de entrada: Se esperaba una " +"matriz de strings.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" +"%s: Tipo incorrecto para el primer argumento de entrada: Se esperaba una " +"matriz de doubles.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" +"%s: Tipo incorrecto para el primer argumento de entrada: Se esperaba una " +"matriz de enteros.\n" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" +"%s: Mlists del tipo %s no pueden ser almacenadas en archivos binarios de " +"Matlab.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" +"%s: Tipo incorrecto para el primer argumento de entrada: Se esperaba una " +"matriz dispersa.\n" + +msgid "Scilab matio module not installed.\n" +msgstr "El módulo matio de Scilab no está instalado.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "" +"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba una matriz de " +"strings.\n" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s: Esta función aun no está implementada: %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s: No se puede abrir el archivo %s.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" +"%s: No se pudo leer la variable del archivo '%s'. Revise si su archivo no " +"está corrupto.\n" + +msgid "All inputs must be character strings." +msgstr "Todas las entradas deben ser caracteres string." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "Opción %s no implementada: IGNORADA." + +msgid "Option -v7 added." +msgstr "Se agregó la opción -v7" + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "" +"La variable %s no puede ser almacenada en un archivo Mat de nivel 4: " +"IGNORADA." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "" +"Conflicto de nombrado: no es posible guardar la variable con el nombre %s." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "" +"Se intentó escribir un tipo de datos no soportado en un archivo ASCII." + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s: No pudo abrirse el archivo '%s'.\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "savematfile: no se pudo guardar la variable llamada %s.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "" +"La variable %s no puede ser almacenada en un archivo ASCII: IGNORADA." diff --git a/modules/matio/locales/fr_FR.po b/modules/matio/locales/fr_FR.po new file mode 100755 index 000000000..667c5e7af --- /dev/null +++ b/modules/matio/locales/fr_FR.po @@ -0,0 +1,225 @@ +# French translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-31 08:30+0000\n" +"Last-Translator: Vincent Couvert <Unknown>\n" +"Language-Team: French <fr@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: fr\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" +"%s : Dimension erronée du premier argument d'entrée : Un double attendu.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "%s : Type erroné du premier argument d'entrée : Un double attendu.\n" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s : Identifieur fichier invalide.\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "%s : Le fichier %s n'a pu être rechargé.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s : Plus de mémoire disponible.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s : Erreur d'allocation mémoire.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" +"%s : Dimension erronée du premier argument d'entrée : Une chaîne de " +"caractères attendue.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" +"%s : Type erroné du premier argument d'entrée : Une chaîne de caractères " +"attendue.\n" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" +"%s : Dimension erronée du deuxième argument d'entrée : Une chaîne de " +"caractères attendue.\n" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" +"%s : Valeur erronée du deuxième argument d'entrée : 'r' ou 'w' attendu.\n" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" +"%s : Type erroné du deuxième argument d'entrée : Une chaîne de caractères " +"attendue.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s : Dimension erronée de l'argument d'entrée n°%d : Une chaîne de " +"caractères attendue.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Une chaîne de caractères " +"attendue.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" +"%s : Dimension erronée du premier argument d'entrée : Une valeur entière " +"attendue.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" +"%s : Type erroné du premier argument d'entrée : Une valeur entière " +"attendue.\n" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" +"%s : Dimension erronée du quatrième argument d'entrée : Un booléen attendu.\n" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" +"%s : Type erroné du quatrième argument d'entrée : Un booléen attendu.\n" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s : Les tableaux de caractères N-D ne sont pas implémentés.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "%s : Type erroné du premier argument d'entrée : Mlist attendu.\n" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "" +"%s : La sauvegarde de tableaux de lignes de chaînes de caractères de " +"différentes longueurs n'est pas implémentée.\n" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" +"%s : La sauvegarde de tableaux de colonnes de chaînes de caractères de " +"différentes longueurs n'est pas implémentée.\n" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "" +"%s : La sauvegarde de tableaux 2D de chaînes de caractères n'est pas " +"implémentée.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" +"%s : Type erroné du premier argument d'entrée : Une matrice de chaîne de " +"caractères attendue.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" +"%s : Type erroné du premier argument d'entrée : Une matrice de doubles " +"attendue.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" +"%s : Type erroné du premier argument d'entrée : Une matrice d'entiers " +"attendue.\n" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" +"%s : Les Mlistes de type %s n'ont pu être transformées en fichiers binaires " +"Matlab.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" +"%s : Type erroné du premier argument d'entrée : Une matrice creuse " +"attendue.\n" + +msgid "Scilab matio module not installed.\n" +msgstr "Le module Scilab matio n'est pas installé.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "" +"%s : Type erroné de l'argument d'entrée n°%d : Une matrice de chaîne de " +"caractères attendue.\n" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s : Cette fonctionnalité n'a pas été implémentée : %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s : Impossible d'ouvrir le fichier %s.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" +"%s : Impossible de lire le fichier '%s'. Veuillez vérifier qu'il n'est pas " +"corrompu.\n" + +msgid "All inputs must be character strings." +msgstr "Toutes les entrées doivent être des chaînes de caractères." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "Option %s non implementée : IGNORÉ." + +msgid "Option -v7 added." +msgstr "Option -v7 ajoutée." + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "" +"Impossible d'enregistrer la variable %s dans MAT-file niveau 4 : IGNORÉ." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "" +"Conflit de nom : il n'est pas possible d'enregistrer la variable sous le nom " +"%s." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "" +"Tentative d'écriture d'un type de données non supporté vers un fichier ASCII." + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s : Impossible d'ouvrir le fichier %s.\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "savematfile : Impossible d'enregistrer la variable nommée %s.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "Impossible d'enregistrer la variable %s au format ASCII : IGNORÉ." diff --git a/modules/matio/locales/it_IT.po b/modules/matio/locales/it_IT.po new file mode 100755 index 000000000..a428782bf --- /dev/null +++ b/modules/matio/locales/it_IT.po @@ -0,0 +1,228 @@ +# Italian translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2015-02-14 21:53+0000\n" +"Last-Translator: Carml <mighty.carml@gmail.com>\n" +"Language-Team: Italian <it@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso ha una dimensione sbagliata: era attesa " +"una sola stringa.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era atteso un " +"double.\n" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s: Identificatore di file non valido.\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "%s: Non è possibile riavvolgere il file %s.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: Memoria esaurita.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Errore di allocazione della memoria.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso ha una dimensione sbagliata: era attesa " +"una stringa.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era attesa una " +"stringa.\n" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" +"%s: Il secondo argomento in ingresso ha una dimensione sbagliata: era attesa " +"una stringa.\n" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" +"%s: Il secondo argomento in ingresso ha un valore sbagliato: era atteso 'r' " +"o 'w'.\n" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" +"%s: Il secondo argomento in ingresso è di tipo sbagliato: era attesa una " +"stringa.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era attesa una " +"stringa.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una " +"stringa.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso ha una dimensione sbagliata: era atteso " +"un valore intero.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era atteso un valore " +"intero.\n" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" +"%s: Il quarto argomento in ingresso ha una dimensione sbagliata: era atteso " +"un booleano.\n" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" +"%s: Il quarto argomento in ingresso è di tipo sbagliato: era atteso un " +"booleano.\n" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s: Gli array N-D di char non sono sviluppati.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era attesa una " +"Mlist.\n" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "" +"%s: Il salvataggio di un vettore riga di stringhe non è sviluppato.\n" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" +"%s: Il salvataggio di un vettore colonna di stringhe con lunghezze " +"differenti non è sviluppato.\n" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "%s: Il salvataggio di un array 2D di stringhe non è sviluppato.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era attesa una " +"matrice di stringhe.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era attesa una " +"matrice di double.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era attesa una " +"matrice di interi.\n" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" +"%s: Le Mlist di tipo %s non possono essere scritte in file binari di " +"Matlab.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" +"%s: Il primo argomento in ingresso è di tipo sbagliato: era attesa una " +"matrice sparsa.\n" + +msgid "Scilab matio module not installed.\n" +msgstr "Il modulo matio di Scilab non è installato.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "" +"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una matrice " +"di stringhe.\n" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s: Questa caratteristica non è stata ancora sviluppata: %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s: Non è possibile aprire il file %s.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" +"%s: Non è stata letta alcuna variabile nel file \"%s\". Controllare che il " +"file non sia danneggiato.\n" + +msgid "All inputs must be character strings." +msgstr "Tutti gli ingressi devono essere stringhe di caratteri." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "L'opzione %s non è sviluppata: IGNORATA." + +msgid "Option -v7 added." +msgstr "Aggiunta l'opzione -v7." + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "" +"La variabile %s non può essere salvata in un MAT-file di livello 4: IGNORATA." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "" +"Conflitto di nome: non è possibile salvare una variabile con il nome %s." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "" +"Tentativo di scrittura di un tipo di dati non supportato su un file ASCII." + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s: Non è possibile aprire il file \"%s\".\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "savematfile: non è possibile salvare una variabile chiamata %s.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "La variabile %s non può essere salvata in un file ASCII: IGNORATA." diff --git a/modules/matio/locales/ja_JP.po b/modules/matio/locales/ja_JP.po new file mode 100755 index 000000000..e396cd7c0 --- /dev/null +++ b/modules/matio/locales/ja_JP.po @@ -0,0 +1,181 @@ +# Japanese translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-30 13:52+0000\n" +"Last-Translator: Rui Hirokawa <Unknown>\n" +"Language-Team: Japanese <ja@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ja\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "%s: 最初の入力引数の大きさが間違っています: doubleを指定してください.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "%s: 最初の入力引数の大きさが間違っています: doubleを指定してください.\n" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s: ファイル識別子が無効です.\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "%s: ファイル ''%s''の巻き戻しができません.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: メモリ不足です.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: メモリ確保エラー.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "%s: 最初の入力引数の大きさが間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "%s: 最初の入力引数の型が間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "%s: 2番目の入力引数の大きさが間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "%s: 2番目の入力引数の値が間違っています: 'r' または 'w' を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "%s: 2番目の入力引数の型が間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "%s: 入力引数 #%d の大きさが間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: 入力引数 #%d の型が間違っています: 文字列を指定してください.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "%s: 最初の入力引数の大きさが間違っています: 整数値を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "%s: 最初の入力引数の型が間違っています: 整数値を指定してください.\n" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "%s: 4番目の入力引数の大きさが間違っています: 論理値を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "%s: 4番目の入力引数の型が間違っています: 論理値を指定してください.\n" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s: 文字のN-D配列は実装されていません\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "%s: 最初の入力引数の型が間違っています: mlistを指定してください.\n" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "%s: 文字列の行配列の保存は実装されていません.\n" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "%s: 長さの異なる文字列の列配列の保存は実装されていません.\n" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "%s: 文字列の二次元配列の保存は実装されていません.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "%s: 最初の入力引数の型が間違っています: 文字列行列を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "%s: 最初の入力引数の大きさが間違っています: double行列を指定してください.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "%s: 最初の入力引数の型が間違っています: 整数行列を指定してください.\n" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "%s: 型 %sのmlistはMatlabバイナリファイルに書き込むことができません.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "%s: 最初の入力引数の型が間違っています: 疎行列を指定してください.\n" + +msgid "Scilab matio module not installed.\n" +msgstr "Scilab matio モジュールがインストールされていません.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "%s: 入力引数 #%d の型が間違っています: 文字列の行列を指定してください.\n" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s: この機能は実装されていません: %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s: ファイル %s を開けません.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "%s: ファイル '%s'から変数を読込めません. ファイルが壊れていないか確認してください.\n" + +msgid "All inputs must be character strings." +msgstr "全ての入力は文字列とする必要があります." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "オプション %s は実装されていません: 無視されます." + +msgid "Option -v7 added." +msgstr "オプション -v7 が追加されました." + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "変数 %s をレベル4 MATファイブに保存できません: 無視されます." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "名前が衝突しています: 名前%sの同じ変数に保存することはできません." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "ASCIIファイルに未サポートのデータ型を書きこもうとしました." + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s: ファイル '%s'をオープンできません.\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "svematfile: %sという名前の変数を保存できません.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "変数 %s をASCIIファイルに保存できません: 無視されます." diff --git a/modules/matio/locales/matio.pot b/modules/matio/locales/matio.pot new file mode 100755 index 000000000..cdc372505 --- /dev/null +++ b/modules/matio/locales/matio.pot @@ -0,0 +1,345 @@ +# Localization of the module matio +# Please see in SCI/tools/localization for localization management +# Copyright (C) 2007-2008 - INRIA +# Copyright (C) 2008-2011 - DIGITEO +# Copyright (C) 2012-2014 - Scilab-Enterprises +# This file is distributed under the same license as the Scilab package. +# +msgid "" +msgstr "" +"Project-Id-Version: Scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n" +"Language-Team: Scilab Localization <localization@lists.scilab.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Revision-Date: 2015-03-27 13:54+0100\n" + +# File: sci_gateway/c/sci_matfile_close.c, line: 63 +# File: sci_gateway/c/sci_matfile_listvar.c, line: 63 +# File: sci_gateway/c/sci_matfile_varreadnext.c, line: 61 +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_close.c, line: 70 +# File: sci_gateway/c/sci_matfile_listvar.c, line: 70 +# File: sci_gateway/c/sci_matfile_varreadnext.c, line: 68 +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_listvar.c, line: 79 +# File: sci_gateway/c/sci_matfile_varreadnext.c, line: 77 +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_listvar.c, line: 86 +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_listvar.c, line: 97 +# File: sci_gateway/c/sci_matfile_listvar.c, line: 104 +# File: sci_gateway/c/sci_matfile_listvar.c, line: 111 +# File: src/c/CreateBooleanVariable.c, line: 39 +# File: src/c/CreateBooleanVariable.c, line: 73 +# File: src/c/CreateBooleanVariable.c, line: 109 +# File: src/c/CreateCharVariable.c, line: 42 +# File: src/c/CreateCharVariable.c, line: 52 +# File: src/c/CreateHyperMatrixVariable.c, line: 95 +# File: src/c/CreateHyperMatrixVariable.c, line: 115 +# File: src/c/CreateHyperMatrixVariable.c, line: 136 +# File: src/c/CreateHyperMatrixVariable.c, line: 157 +# File: src/c/CreateHyperMatrixVariable.c, line: 178 +# File: src/c/CreateHyperMatrixVariable.c, line: 198 +# File: src/c/CreateHyperMatrixVariable.c, line: 218 +# File: src/c/CreateHyperMatrixVariable.c, line: 239 +# File: src/c/CreateIntegerVariable.c, line: 49 +# File: src/c/CreateIntegerVariable.c, line: 78 +# File: src/c/CreateIntegerVariable.c, line: 107 +# File: src/c/CreateIntegerVariable.c, line: 137 +# File: src/c/CreateIntegerVariable.c, line: 167 +# File: src/c/CreateIntegerVariable.c, line: 196 +# File: src/c/CreateIntegerVariable.c, line: 225 +# File: src/c/CreateIntegerVariable.c, line: 255 +# File: src/c/CreateIntegerVariable.c, line: 288 +# File: src/c/CreateSparseVariable.c, line: 44 +# File: src/c/CreateSparseVariable.c, line: 54 +# File: src/c/CreateSparseVariable.c, line: 68 +# File: src/c/CreateSparseVariable.c, line: 101 +# File: src/c/CreateSparseVariable.c, line: 121 +# File: src/c/CreateSparseVariable.c, line: 130 +# File: src/c/CreateSparseVariable.c, line: 140 +# File: src/c/CreateSparseVariable.c, line: 150 +# File: src/c/CreateSparseVariable.c, line: 160 +# File: src/c/CreateStructVariable.c, line: 50 +# File: src/c/CreateStructVariable.c, line: 57 +# File: src/c/CreateStructVariable.c, line: 63 +# File: src/c/CreateStructVariable.c, line: 73 +# File: src/c/GetCellVariable.c, line: 85 +# File: src/c/GetCellVariable.c, line: 99 +# File: src/c/GetCharVariable.c, line: 77 +# File: src/c/GetCharVariable.c, line: 145 +# File: src/c/GetDoubleVariable.c, line: 71 +# File: src/c/GetDoubleVariable.c, line: 76 +# File: src/c/GetIntegerVariable.c, line: 77 +# File: src/c/GetIntegerVariable.c, line: 82 +# File: src/c/GetSparseVariable.c, line: 70 +# File: src/c/GetSparseVariable.c, line: 77 +# File: src/c/GetSparseVariable.c, line: 102 +# File: src/c/GetSparseVariable.c, line: 111 +# File: src/c/GetSparseVariable.c, line: 121 +# File: src/c/GetSparseVariable.c, line: 132 +# File: src/c/GetSparseVariable.c, line: 174 +# File: src/c/GetSparseVariable.c, line: 183 +# File: src/c/GetSparseVariable.c, line: 193 +# File: src/c/GetSparseVariable.c, line: 221 +# File: src/c/GetSparseVariable.c, line: 245 +# File: src/c/GetSparseVariable.c, line: 268 +# File: src/c/GetSparseVariable.c, line: 292 +# File: src/c/GetSparseVariable.c, line: 331 +# File: src/c/GetStructVariable.c, line: 55 +# File: src/c/GetStructVariable.c, line: 71 +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_listvar.c, line: 131 +# File: sci_gateway/c/sci_matfile_listvar.c, line: 142 +# File: sci_gateway/c/sci_matfile_listvar.c, line: 154 +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_open.c, line: 67 +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_open.c, line: 74 +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_open.c, line: 107 +# File: sci_gateway/c/sci_matfile_varwrite.c, line: 105 +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_open.c, line: 124 +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_open.c, line: 133 +# File: sci_gateway/c/sci_matfile_varwrite.c, line: 114 +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_open.c, line: 173 +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_open.c, line: 192 +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_varwrite.c, line: 65 +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_varwrite.c, line: 72 +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_varwrite.c, line: 145 +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" + +# +# File: sci_gateway/c/sci_matfile_varwrite.c, line: 154 +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" + +# +# File: src/c/CreateCharVariable.c, line: 112 +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "" + +# +# File: src/c/GetCellVariable.c, line: 64 +# File: src/c/GetMlistVariable.c, line: 119 +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "" + +# +# File: src/c/GetCharVariable.c, line: 169 +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "" + +# +# File: src/c/GetCharVariable.c, line: 184 +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" + +# +# File: src/c/GetCharVariable.c, line: 218 +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "" + +# +# File: src/c/GetCharVariable.c, line: 229 +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" + +# +# File: src/c/GetDoubleVariable.c, line: 150 +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" + +# +# File: src/c/GetIntegerVariable.c, line: 206 +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" + +# +# File: src/c/GetMlistVariable.c, line: 106 +# File: src/c/GetMlistVariable.c, line: 112 +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" + +# +# File: src/c/GetSparseVariable.c, line: 376 +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" + +# +# File: src/nomatio/nomatio.c, line: 20 +msgid "Scilab matio module not installed.\n" +msgstr "" + +# File: macros/loadmatfile.sci, line: 19 +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "" + +# +# File: macros/loadmatfile.sci, line: 54 +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "" + +# +# File: macros/loadmatfile.sci, line: 91 +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "" + +# +# File: macros/loadmatfile.sci, line: 114 +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" + +# +# File: macros/savematfile.sci, line: 21 +msgid "All inputs must be character strings." +msgstr "" + +# +# File: macros/savematfile.sci, line: 48 +# File: macros/savematfile.sci, line: 102 +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "" + +# +# File: macros/savematfile.sci, line: 122 +msgid "Option -v7 added." +msgstr "" + +# +# File: macros/savematfile.sci, line: 151 +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "" + +# +# File: macros/savematfile.sci, line: 162 +# File: macros/savematfile.sci, line: 271 +# File: macros/savematfile.sci, line: 300 +# File: macros/savematfile.sci, line: 329 +# File: macros/savematfile.sci, line: 379 +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "" + +# +# File: macros/savematfile.sci, line: 218 +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "" + +# +# File: macros/savematfile.sci, line: 266 +# File: macros/savematfile.sci, line: 295 +# File: macros/savematfile.sci, line: 324 +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "" + +# +# File: macros/savematfile.sci, line: 283 +# File: macros/savematfile.sci, line: 286 +# File: macros/savematfile.sci, line: 312 +# File: macros/savematfile.sci, line: 315 +# File: macros/savematfile.sci, line: 341 +# File: macros/savematfile.sci, line: 344 +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "" + +# +# File: macros/savematfile.sci, line: 359 +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "" diff --git a/modules/matio/locales/pt_BR.po b/modules/matio/locales/pt_BR.po new file mode 100755 index 000000000..ea00c6d42 --- /dev/null +++ b/modules/matio/locales/pt_BR.po @@ -0,0 +1,182 @@ +# Brazilian Portuguese translation for scilab +# Copyright (c) 2012 Rosetta Contributors and Canonical Ltd 2012 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2012-04-22 02:12+0000\n" +"Last-Translator: Thiago de Melo <tmelo.mat@gmail.com>\n" +"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" + +msgid "Scilab matio module not installed.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s: Este recurso não foi implementado: %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" +"%s: Nenhuma variável lida no arquivo '%s'. Cheque se o seu arquivo está " +"corrompido.\n" + +msgid "All inputs must be character strings." +msgstr "Todas entradas devem ser strings de caractéres." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "Opção %s não implementada: IGNORADA." + +msgid "Option -v7 added." +msgstr "Opção -v7 adicionada." + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "Variável %s não pode ser salva em MAT-file nível 4: IGNORADA." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "Conflito de nome: não é possível salvar variável com nome %s." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "" + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s: Impossível abrir arquivo '%s'.\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "savematfile: impossível salvar variável chamada %s.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "Variável %s não pode ser salva em arquivo ASCII: IGNORADA." diff --git a/modules/matio/locales/ru_RU.po b/modules/matio/locales/ru_RU.po new file mode 100755 index 000000000..5a2321c93 --- /dev/null +++ b/modules/matio/locales/ru_RU.po @@ -0,0 +1,205 @@ +# Russian translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2015-02-14 16:49+0000\n" +"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n" +"Language-Team: Russian <ru@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" +"%s: Неверный размер первого входного аргумента: ожидается единственное " +"значение типа double.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "%s: Неверный тип первого входного аргумента: ожидается тип double.\n" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s: Неверный идентификатор файла.\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "%s: Не удалось установить указатель в начало файла %s.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: Недостаточно памяти.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: Ошибка распределения памяти.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" +"%s: Неверный размер первого входного аргумента: ожидалось строковое " +"значение.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" +"%s: Неверный тип первого входного аргумента: ожидалось строковое значение.\n" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" +"%s: Неверный размер второго входного аргумента: ожидалось строковое " +"значение.\n" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" +"%s: Неверное значение второго входного аргумента: ожидалось 'r' или 'w'.\n" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" +"%s: Неверный тип второго входного аргумента: ожидалось строковое значение.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "%s: Неверный размер входного параметра №%d: ожидалась строка.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "%s: Неверный тип входного аргумента №%d: Ожидалась строка.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" +"%s: Неверный размер первого входного аргумента: ожидалось целочисленное " +"значение.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" +"%s: Неверный тип первого входного аргумента: ожидалось целочисленное " +"значение.\n" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" +"%s: Неверный размер четвёртого входного аргумента: ожидалось логическое " +"значение.\n" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" +"%s: Неверный тип четвёртого входного аргумента: ожидалось логическое " +"значение.\n" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s: N-мерные массивы строковых значений не реализованы.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "%s: Неверный тип первого входного аргумента: Ожидалось Mlist.\n" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "%s: Не осуществлено сохранение массива-строки строковых значений.\n" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "%s: Сохранение массива столбцов с разными длинами не осуществлено.\n" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "%s: не осуществлено сохранение двумерного массива.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" +"%s: Неверный тип первого входного аргумента: Ожидалась матрица строк.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" +"%s: Неверный тип первого входного аргумента: ожидается матрица значений типа " +"double.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" +"%s: Неверный тип первого входного аргумента: Ожидалась матрица целых чисел.\n" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "%s: Mlists типа %s не могут быть записаны в двоичный файл Matlab.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" +"%s: Неверный тип первого входного аргумента: Ожидалась разреженная матрица.\n" + +msgid "Scilab matio module not installed.\n" +msgstr "Не установлен модуль Scilab matio.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "%s: Неверный тип входного параметра №%d: ожидалась матрица строк.\n" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s: Эта функция не была реализована: %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s: Не удалось открыть файл %s.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" +"%s: Не удалось прочитать переменную из файла '%s'. Убедитесь, что ваш файл " +"не поврежден.\n" + +msgid "All inputs must be character strings." +msgstr "Всё вводимое должно быть строками символов." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "Параметр %s не реализован: ПРОПУЩЕН." + +msgid "Option -v7 added." +msgstr "Параметр -v7 добавлен." + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "" +"Переменная %s не может быть сохранена в MAT-файл 4-го уровня: ПРОПУЩЕНА." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "Конфликт имён: невозможно сохранить переменную с именем %s." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "Попытка записи неподдерживаемого типа данных в ASCII файл." + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s: Невозможно открыть файл '%s'.\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "savematfile: не удалось сохранить переменную с именем %s.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "Переменная %s не может быть сохранена в ASCII файл: ПРОПУЩЕНА." diff --git a/modules/matio/locales/uk_UA.po b/modules/matio/locales/uk_UA.po new file mode 100755 index 000000000..02720f543 --- /dev/null +++ b/modules/matio/locales/uk_UA.po @@ -0,0 +1,225 @@ +# Ukrainian translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# Yuri Chornoivan <yurchor@ukr.net>, 2011. +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2014-03-29 18:30+0000\n" +"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n" +"Language-Team: Ukrainian <uk@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" +"Language: ukPlural-Forms: nplurals=1; plural=0;\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" +"%s: помилкова розмірність першого вхідного параметра: мало бути використано " +"єдине значення типу double.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: слід використовувати значення " +"типу double.\n" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s: некоректний ідентифікатор файла.\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "%s: не вдалося перейти до початку файла %s.\n" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: доступну пам’ять вичерпано.\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "%s: помилка під час спроби виділення пам’яті.\n" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" +"%s: помилкова розмірність першого вхідного параметра: мало бути використано " +"рядок.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: мало бути використано рядок.\n" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" +"%s: помилкова розмірність другого вхідного параметра: мало бути використано " +"рядок.\n" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" +"%s: помилкове значення другого вхідного параметра: слід використовувати «r» " +"або «w».\n" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" +"%s: помилковий тип другого вхідного параметра: мало бути використано " +"рядковий тип.\n" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" +"%s: помилковий розмір вхідного параметра №%d: слід використовувати рядок.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра №%d: слід використовувати тип " +"«string».\n" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" +"%s: помилкова розмірність першого вхідного параметра: мало бути використано " +"ціле значення.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: мало бути використано ціле " +"значення.\n" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" +"%s: помилкова розмірність четвертого вхідного параметра: мало бути " +"використано булеве значення.\n" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" +"%s: помилковий тип четвертого вхідного параметра: мало бути використано " +"булеве значення.\n" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s: N-D-масиви символів ще не реалізовано.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: слід використовувати m-список " +"(mlist).\n" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "" +"%s: збереження масиву, рядками якого є рядки (значення типу string) не " +"реалізовано.\n" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" +"%s: збереження масиву зі стовпчиків-рядків з різними довжинами ще не " +"реалізовано.\n" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "%s: збереження двовимірного масиву рядків ще не реалізовано.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: слід використовувати матрицю " +"з рядків.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: слід використовувати матрицю " +"зі значень типу double.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: слід використовувати матрицю " +"з цілих значень.\n" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" +"%s: m-списки типу %s не можна записувати до бінарних файлів Matlab.\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" +"%s: помилковий тип першого вхідного параметра: слід використовувати " +"розріджену матрицю.\n" + +msgid "Scilab matio module not installed.\n" +msgstr "Модуль matio Scilab не встановлено.\n" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "" +"%s: помилковий тип вхідного параметра №%d: слід використовувати матрицю з " +"рядків.\n" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "%s: цю можливість не реалізовано: %s." + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s: не вдалося відкрити файл %s.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" +"%s: з файла «%s» не прочитано жодної змінної. Перевірте, чи не пошкоджено це " +"файл.\n" + +msgid "All inputs must be character strings." +msgstr "Всі вхідні значення мають бути рядками з символів." + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "Параметр %s не реалізовано: ПРОПУЩЕНО." + +msgid "Option -v7 added." +msgstr "Додано параметр -v7." + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "Змінну %s не можна зберегти у файлі MAT 4 рівня: ПРОПУЩЕНО." + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "Конфлікт назв: не можна зберегти змінну з назвою %s." + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "Спроба запису непідтримуваного типу даних до файла ASCII." + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "%s: не вдалося відкрити файл «%s».\n" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "savematfile: не вдалося зберегти змінну з назвою %s.\n" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "Змінну %s не можна зберегти у файлі ASCII: ПРОПУЩЕНО." diff --git a/modules/matio/locales/zh_TW.po b/modules/matio/locales/zh_TW.po new file mode 100755 index 000000000..b0d5268f1 --- /dev/null +++ b/modules/matio/locales/zh_TW.po @@ -0,0 +1,180 @@ +# Chinese (Traditional) translation for scilab +# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011 +# This file is distributed under the same license as the scilab package. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2011. +# +msgid "" +msgstr "" +"Project-Id-Version: scilab\n" +"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n" +"POT-Creation-Date: 2013-04-16 17:44+0100\n" +"PO-Revision-Date: 2011-09-02 08:06+0000\n" +"Last-Translator: Calixte <Unknown>\n" +"Language-Team: Chinese (Traditional) <zh_TW@li.org>\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Launchpad (build 17413)\n" + +#, c-format +msgid "%s: Wrong size for first input argument: Single double expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Double expected.\n" +msgstr "" + +#, c-format +msgid "%s: Invalid file identifier.\n" +msgstr "%s:無效的檔案辨識符。\n" + +#, c-format +msgid "%s: Could not rewind the file %s.\n" +msgstr "" + +#, c-format +msgid "%s: No more memory.\n" +msgstr "%s: 記憶體空間不足。\n" + +#, c-format +msgid "%s: Memory allocation error.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong value for second input argument: 'r' or 'w' expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for second input argument: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: A string expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: An integer value expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong size for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for fourth input argument: A boolean expected.\n" +msgstr "" + +#, c-format +msgid "%s: N-D arrays of chars not implemented.\n" +msgstr "%s:字元的N-D陣列並沒有被實現。\n" + +#, c-format +msgid "%s: Wrong type for first input argument: Mlist expected.\n" +msgstr "" + +#, c-format +msgid "%s: Row array of strings saving is not implemented.\n" +msgstr "" + +#, c-format +msgid "" +"%s: Column array of strings with different lengths saving is not " +"implemented.\n" +msgstr "" + +#, c-format +msgid "%s: 2D array of strings saving is not implemented.\n" +msgstr "%s:儲存字串的二維陣列功能還沒被實現。\n" + +#, c-format +msgid "%s: Wrong type for first input argument: String matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Double matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Integer matrix expected.\n" +msgstr "" + +#, c-format +msgid "%s: Mlists of type %s can not be written to Matlab binary files.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for first input argument: Sparse matrix expected.\n" +msgstr "" + +msgid "Scilab matio module not installed.\n" +msgstr "" + +#, c-format +msgid "%s: Wrong type for input argument #%d: Matrix of strings expected.\n" +msgstr "" + +#, c-format +msgid "%s: This feature has not been implemented: %s." +msgstr "" + +#, c-format +msgid "%s: Cannot open file %s.\n" +msgstr "%s: 無法開啟檔案 %s.\n" + +#, c-format +msgid "" +"%s: No variable read in file '%s'. Check if your file is not corrupted.\n" +msgstr "" + +msgid "All inputs must be character strings." +msgstr "" + +#, c-format +msgid "Option %s not implemented: IGNORED." +msgstr "" + +msgid "Option -v7 added." +msgstr "" + +#, c-format +msgid "Variable %s can not be saved in level 4 MAT-file: IGNORED." +msgstr "" + +#, c-format +msgid "Name conflict: it is not possible to save variable with name %s." +msgstr "" + +msgid "Attempt to write an unsupported data type to an ASCII file." +msgstr "" + +#, c-format +msgid "%s: Could not open file '%s'.\n" +msgstr "" + +#, c-format +msgid "savematfile: could not save variable named %s.\n" +msgstr "" + +#, c-format +msgid "Variable %s can not be saved in ASCII file: IGNORED." +msgstr "" diff --git a/modules/matio/macros/buildmacros.bat b/modules/matio/macros/buildmacros.bat new file mode 100755 index 000000000..6f1e82dfc --- /dev/null +++ b/modules/matio/macros/buildmacros.bat @@ -0,0 +1,11 @@ +rem Scilab ( http://mwww.scilab.org/ ) - This file is part of Scilab +rem Copyright (C) ????-2008 - INRIA - Allan CORNET +rem +rem This file must be used under the terms of the CeCILL. +rem This source file is licensed as described in the file COPYING, which +rem you should have received as part of this distribution. The terms +rem are also available at +rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + + +@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit; diff --git a/modules/matio/macros/buildmacros.sce b/modules/matio/macros/buildmacros.sce new file mode 100755 index 000000000..a0b1aae69 --- /dev/null +++ b/modules/matio/macros/buildmacros.sce @@ -0,0 +1,17 @@ + +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Vincent COUVERT +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +//------------------------------------ +if (isdef("genlib") == %f) then + exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce"); +end +//------------------------------------ +genlib("matiolib","SCI/modules/matio/macros",%f,%t); +//------------------------------------ diff --git a/modules/matio/macros/cleanmacros.bat b/modules/matio/macros/cleanmacros.bat new file mode 100755 index 000000000..6294097b5 --- /dev/null +++ b/modules/matio/macros/cleanmacros.bat @@ -0,0 +1,13 @@ +rem Scilab ( http://mwww.scilab.org/ ) - This file is part of Scilab +rem Copyright (C) ????-2008 - INRIA - Allan CORNET +rem +rem This file must be used under the terms of the CeCILL. +rem This source file is licensed as described in the file COPYING, which +rem you should have received as part of this distribution. The terms +rem are also available at +rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + + +@del *.bin 2>NUL +@del lib 2>NUL +@del names 2>NUL
\ No newline at end of file diff --git a/modules/matio/macros/lib b/modules/matio/macros/lib Binary files differnew file mode 100755 index 000000000..ecda115fa --- /dev/null +++ b/modules/matio/macros/lib diff --git a/modules/matio/macros/loadmatfile.bin b/modules/matio/macros/loadmatfile.bin Binary files differnew file mode 100755 index 000000000..5ef8e7ce0 --- /dev/null +++ b/modules/matio/macros/loadmatfile.bin diff --git a/modules/matio/macros/loadmatfile.sci b/modules/matio/macros/loadmatfile.sci new file mode 100755 index 000000000..48793a4bf --- /dev/null +++ b/modules/matio/macros/loadmatfile.sci @@ -0,0 +1,139 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2002-2010 - INRIA - Vincent COUVERT +// Copyright (C) ???? - INRIA - Serge STEER +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function loadmatfile(varargin) + // Loads variables in a Matlab binary or ASCII file into Scilab + // This function has been developed following the 'MAT-File Format' description: + // www.mathworks.com/access/helpdesk/help/pdf_doc/matlab/matfile_format.pdf + + // Verify that all inputs are character strings + for k=1:size(varargin) + if type(varargin(k))<>10 then + error(msprintf(gettext("%s: Wrong type for input argument #%d: Matrix of strings expected.\n"),"loadmatfile")); + end + end + + [lhs,rhs]=argn(0) + + fil=[] + bin=[] + varnames=[] + + if rhs==1 then + fil = varargin(1) + fileExtension = fileparts(fil, "extension"); + if isempty(fileExtension) then // No extension: looks for a file named fil.mat and treats it as a binary MAT-file + bin = %T + fil = file + ".mat"; + elseif convstr(fileExtension, "l") <> ".mat" then // Extension other than .mat: treats the file as ASCII data. + bin = %F + else // Compatibility with old loadmatfile version + bin = %T + end + else // Try to find type binary or ASCII ? + // Filename is the first parameter: loadmatfile(filename[,opts]) + // or the second parameter: loadmatfile(filetype,filename[,opts]) with filetype equal to -ascii or -mat + // filetype can also be included in opts + k=1 + while k<=lstsize(varargin) + select varargin(k) + case "-mat" + bin=%T + k=k+1 + case "-ascii" + bin=%F + k=k+1 + case "-regexp" + warning(msprintf(gettext("%s: This feature has not been implemented: %s."),"loadmatfile","-regexp")); + while k<=lstsize(varargin) & and(varargin(k)<>["-mat","-ascii"]) + k=k+1 + end + else + if isempty(fil) then // Filename + fil=pathconvert(varargin(k),%f,%t); + if fileparts(fil,"extension")==".mat" & isempty(bin) then // extension .mat and bin not already fixed by options + bin=%T + elseif isempty(bin) then + bin=%F + end + else // Variable names + varnames=[varnames;varargin(k)] + end + k=k+1 + end + end + if isempty(bin) then + bin=%T + end + end + + if fileparts(fil,"extension")=="" then + fil=fil+".mat" + end + + // --- BINARY FILE --- + if bin then // Uses MATIO interface + + Name=""; + Names=[]; + Matrices=list() + + //-- Try to open the file + fd = matfile_open(pathconvert(fil, %F, %T), "r"); + if fd==-1 then + error(msprintf(gettext("%s: Cannot open file %s.\n"),"loadmatfile",fil)); + end + + //-- Read first variable + [Name, Matrix, Class] = matfile_varreadnext(fd); + + //-- Loop on the stored variables + while Name<>"" + + // Old version compatibility | Name has been given + if isempty(varnames) | or(Name==varnames) then + Names=[Names,Name];Matrices($+1)=Matrix + end + + [Name, Matrix, Class] = matfile_varreadnext(fd); + + end + + //-- Close the file + matfile_close(fd) + + //-- Error while reading? + if isempty(Names) then + error(msprintf(gettext("%s: No variable read in file ''%s''. Check if your file is not corrupted.\n"),"loadmatfile",fil)); + end + + //-- Return variables in the calling context + execstr("["+strcat(Names,",")+"]=resume(Matrices(:))") + + // --- ASCII FILE --- + else + txt = mgetl(fil); + + // Remove comments + rowIndexes = grep(txt, "%") + for k = rowIndexes + txt(k) = part(txt(k), 1:(strindex(txt(k), "%") - 1)); + end + + // Values read + mat = evstr(txt); + + // Output variable name generated from file name + name = fileparts(fil, "fname"); + + execstr(name + " = resume(mat)") + end +endfunction + diff --git a/modules/matio/macros/names b/modules/matio/macros/names new file mode 100755 index 000000000..88200f3bc --- /dev/null +++ b/modules/matio/macros/names @@ -0,0 +1,2 @@ +loadmatfile +savematfile diff --git a/modules/matio/macros/savematfile.bin b/modules/matio/macros/savematfile.bin Binary files differnew file mode 100755 index 000000000..155965b23 --- /dev/null +++ b/modules/matio/macros/savematfile.bin diff --git a/modules/matio/macros/savematfile.sci b/modules/matio/macros/savematfile.sci new file mode 100755 index 000000000..a50b45b44 --- /dev/null +++ b/modules/matio/macros/savematfile.sci @@ -0,0 +1,410 @@ +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Paul Bignier: bug #13102 fixed +// Copyright (C) 2002-2004 - INRIA - Vincent COUVERT +// Copyright (C) ???? - INRIA - Serge STEER +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + +function savematfile(varargin) + // Save variables in a Matlab binary or ASCII file into Scilab + // This function has been developed following the 'MAT-File Format' description: + // www.mathworks.com/access/helpdesk/help/pdf_doc/matlab/matfile_format.pdf + + vars=who("get"); + // Verify that all inputs are character strings + for k=1:size(varargin) + if type(varargin(k))<>10 then + error(gettext("All inputs must be character strings.")); + end + end + + [lhs,rhs]=argn(0); + + mtlb_opts=[]; // Options for ASCII format + mtlb_thefile=[]; // Name of file to write + mtlb_names=[]; // Variable names to save + version=[]; // MAT-file version: 4 or 6 or 7 (7.3 not yet implemented) + bin=[]; // %T is binary file %F if ASCII file + + // Default format is binary + if rhs==1 then + bin=%T; + end + + // Sort all inputs (Options/Names/Filename) + k=1 + while k<=lstsize(varargin) + // All options are converted to lower case + if part(varargin(k),1)=="-" then + varargin(k)=convstr(varargin(k)); + end + + select varargin(k) + case "-append" + warning(msprintf(gettext("Option %s not implemented: IGNORED."),"-append")); + k=k+1 + case "-mat" + bin=%T + k=k+1 + case "-ascii" + mtlb_opts=[mtlb_opts varargin(k)]; + bin=%F + k=k+1 + case "-struct" + k=k+1; + stname=varargin(k); + k=k+1; + // Verify if one or more field name is/are given + if k<=lstsize(varargin) & part(varargin(k),1)<>"-" & mtlb_thefile<>"" then // struct field + while k<=lstsize(varargin) & part(varargin(k),1)<>"-" + // Add field to variable names + mtlb_names=[mtlb_names;varargin(k)]; + execstr(varargin(k)+"="+stname+"(mtlb_names($))"); + k=k+1; + end + else // All vars(1)=[];fields have to be saved + fields=getfield(1,evstr(stname)); + fields(1:2)=[] + for kk=fields + mtlb_names=[mtlb_names;kk]; + execstr(kk+"="+stname+"(mtlb_names($))"); + end + end + case "-v4" + version=4; + bin=%T; + k=k+1 + case "-v6" + version=6; + bin=%T; + k=k+1 + case "-v7" + version=7; + bin=%T; + k=k+1 + case "-v7.3" + version=7.3; + bin=%T; + k=k+1 + case "-tabs" + bin=%F; + mtlb_opts=[mtlb_opts varargin(k)]; + k=k+1 + case "-double" + bin=%F; + mtlb_opts=[mtlb_opts varargin(k)]; + k=k+1 + case "-regexp" + warning(msprintf(gettext("Option %s not implemented: IGNORED."),"-regexp")); + while k<=lstsize(varargin) & and(varargin(k)<>["-mat","-ascii"]) + k=k+1 + end + else + if isempty(mtlb_thefile) then // Filename + mtlb_thefile=pathconvert(varargin(k),%f,%t); + if fileparts(mtlb_thefile,"extension")==".mat" & isempty(bin) then // extension .mat and bin not already fixed by options + bin=%T + end + else // Variable names + mtlb_names=[mtlb_names;varargin(k)] + end + k=k+1 + end + end + + // Default version 7 for binary files + if isempty(version) & bin then + version=7; + warning(gettext("Option -v7 added.")); + end + + // If no name given then all workspace saved + if isempty(mtlb_names) then + mtlb_names=vars; + + // Part to delete Scilab variables from mtlb_names (should be improved) + mtlb_names(1)=[];// remove varargin + mtlb_names(mtlb_names=="savematfile")=[]; + mtlb_names(($-predef()+1):$)=[]; // clear predefined variables + end + + // If binary format and no extension for filename, .mat is added + if bin & isempty(strindex(mtlb_thefile,".")) then + mtlb_thefile=mtlb_thefile+".mat" + end + + // Do not handle function redefinition + funcprot(0); + + // Binary save + if bin then + // LEVEL 4 MAT-file (This part comes from mtlb_save.sci) + if version==4 then + // Matlab 5 types are not saved (structs...) + for k=size(mtlb_names,"*"):-1:1 + execstr("x="+mtlb_names(k)) + if and(type(x)<>[1 4 5 6 10]) then + warning(msprintf(gettext("Variable %s can not be saved in level 4 MAT-file: IGNORED."),mtlb_names(k))); + mtlb_names(k)=[] + end + end + + // Open file for writing + [mtlb_fd,err]=mopen(mtlb_thefile,"wb",0) + + // Clear variable wich are no more used to avoid name conflicts + for k=["varargin","mtlb_names","mtlb_fmt","mtlb_fd"] + if or(mtlb_names==k) then + error(msprintf(gettext("Name conflict: it is not possible to save variable with name %s."),k)); + end + end + clear("x","k","rhs","lhs","kk","err","bin","version","mtlb_thefile","mtlb_opts"); + + // Following 'for loop' from SS + for mtlb_k=1:size(mtlb_names,"*") + // perform changes on variables + execstr("x="+mtlb_names(mtlb_k)) + it=0 + select type(x) + case 1 then + P=0 + T=0 + if norm(imag(x),1)<>0 then it=1,end + case 4 then + x=bool2s(x) + P=5 + T=0 + case 5 then + if norm(imag(x),1)<>0 then it1=1,else it1=0,end + P=0 + T=2 + // We transpose the sparse matrix so as to ease the conversion to the matlab sparse format + [x,v,mn]=spget(x); + if it1==0 then + x=[x real(v);[mn 0]] + else + x=[x real(v) imag(v);[mn 0 0]] + end + case 6 then + x=bool2s(x) + P=0 + T=2 + [x,v,mn]=spget(x); + x=[x v;[mn 0]] + case 8 then + T=0 + select inttype(x) + case 4 then P=2, + case 14 then P=2, + case 2 then P=3 + case 12 then P=4 + case 1 then P=5, + case 11 then P=5, + end + x=double(x) + case 10 then + x1=part(x(:),1:max(length(x))) + x=[] + for l=1:size(x1,1) + x=[x;ascii(x1(l))] + end + P=5 + T=1 + else + error(gettext("Attempt to write an unsupported data type to an ASCII file.")); + end + [m,n]=size(x) + + + M = 0 //little endian + O = 0 + MOPT=[M O P T] + + [m,n]=size(x) + head=[MOPT*[1000;100;10;1] m,n,it,length(mtlb_names(mtlb_k))+1] + + head=mput(head,"uil",mtlb_fd); + mput([ascii(mtlb_names(mtlb_k)) 0],"c",mtlb_fd); + select P + case 0 then + flag="dl" + case 1 then + flag="fl" + case 2 then + flag="il" + case 3 then + flag="sl" + case 4 then + flag="usl" + case 5 then + flag="uc" + end + if T==0 then + if x<>[] then + mput(real(x(:).'),flag,mtlb_fd); + if it==1 + mput(imag(x(:).'),flag,mtlb_fd); + end + end + elseif T==1 + v=mput(x(:).',flag,mtlb_fd); + elseif T==2 then //sparse + mput(x(:).',flag,mtlb_fd); + end + end + mclose(mtlb_fd); + // End of loop written by SS + // LEVEL 6 MAT-file + elseif version==6 then + // Open file for writing + mtlb_fd=matfile_open(mtlb_thefile, "w"); + if mtlb_fd == -1 then + error(msprintf(gettext("%s: Could not open file ''%s''.\n"),"savematfile",mtlb_thefile)) + end + // Clear variable wich are no more used to avoid name conflicts + for k=["varargin","mtlb_names","mtlb_fmt","mtlb_fd"] + if or(mtlb_names==k) then + error(msprintf(gettext("Name conflict: it is not possible to save variable with name %s."),k)) + end + end + clear("x","k","rhs","lhs","kk","err","sep","bin","version","mtlb_thefile","mtlb_opts"); + + // Write variables as miMATRIX data type + for k=1:size(mtlb_names,"*") + %var=evstr(mtlb_names(k)); + // We transpose the sparse matrix so as to ease the conversion to the matlab sparse format + if type(%var)==5 then %var = %var'; end + if and(type(%var)<>[9 11 13]) then + if ~matfile_varwrite(mtlb_fd, mtlb_names(k), %var, %F) then + error(msprintf(gettext("savematfile: could not save variable named %s.\n"), mtlb_names(k))); + end + else + error(msprintf(gettext("savematfile: could not save variable named %s.\n"), mtlb_names(k))); + end + end + + matfile_close(mtlb_fd); + elseif version==7 + // Open file for writing + mtlb_fd=matfile_open(mtlb_thefile, "w"); + if mtlb_fd == -1 then + error(msprintf(gettext("%s: Could not open file ''%s''.\n"),"savematfile",mtlb_thefile)) + end + // Clear variable wich are no more used to avoid name conflicts + for k=["varargin","mtlb_names","mtlb_fmt","mtlb_fd"] + if or(mtlb_names==k) then + error(msprintf(gettext("Name conflict: it is not possible to save variable with name %s."),k)) + end + end + clear("x","k","rhs","lhs","kk","err","sep","bin","version","mtlb_thefile","mtlb_opts"); + + // Write variables as miCOMPRESSED data type + for k=1:size(mtlb_names,"*") + %var=evstr(mtlb_names(k)); + // We transpose the sparse matrix so as to ease the conversion to the matlab sparse format + if type(%var)==5 then %var = %var'; end + if and(type(%var)<>[9 11 13]) then + if ~matfile_varwrite(mtlb_fd, mtlb_names(k), %var, %T) then + error(msprintf(gettext("savematfile: could not save variable named %s.\n"), mtlb_names(k))); + end + else + error(msprintf(gettext("savematfile: could not save variable named %s.\n"), mtlb_names(k))); + end + end + + matfile_close(mtlb_fd); + else // Version 7.3 + // Open file for writing + mtlb_fd=matfile_open(mtlb_thefile, "w", "7.3"); // "7.3" specifies a Matlab 7.3 file + if mtlb_fd == -1 then + error(msprintf(gettext("%s: Could not open file ''%s''.\n"),"savematfile",mtlb_thefile)) + end + // Clear variable wich are no more used to avoid name conflicts + for k=["varargin","mtlb_names","mtlb_fmt","mtlb_fd"] + if or(mtlb_names==k) then + error(msprintf(gettext("Name conflict: it is not possible to save variable with name %s."),k)) + end + end + clear("x","k","rhs","lhs","kk","err","sep","bin","version","mtlb_thefile","mtlb_opts"); + + // Write variables as miCOMPRESSED data type + for k=1:size(mtlb_names,"*") + %var=evstr(mtlb_names(k)); + // We transpose the sparse matrix so as to ease the conversion to the matlab sparse format + if type(%var)==5 then %var = %var'; end + if and(type(%var)<>[9 11 13]) then + if ~matfile_varwrite(mtlb_fd, mtlb_names(k), %var, %T) then + error(msprintf(gettext("savematfile: could not save variable named %s.\n"), mtlb_names(k))); + end + else + error(msprintf(gettext("savematfile: could not save variable named %s.\n"), mtlb_names(k))); + end + end + + matfile_close(mtlb_fd); + end + + // ASCII save + else + // The end of this function has been adapted from mtlb_save.sci + + // Matlab 5 types are not saved (structs...) + for k=size(mtlb_names,"*"):-1:1 + execstr("x="+mtlb_names(k)) + if and(type(x)<>[1 4 5 6 10]) then + warning(msprintf(gettext("Variable %s can not be saved in ASCII file: IGNORED."),mtlb_names(k))); + mtlb_names(k)=[] + end + end + if ( (mtlb_opts <> []) & (strindex("-tabs",mtlb_opts)<>[]) ) then + sep = ascii(9); + else + sep=" " + end + if size(mtlb_opts,"*")==1 then //8 digits save + mtlb_fmt="(2x,1pe14.7"+sep+")" + else + mtlb_fmt="(2x,1pe23.15"+sep+")" + end + + mtlb_fd=file("open",mtlb_thefile,"unknown") + + // Clear variable wich are no more used to avoid name conflicts + for k=["varargin","mtlb_names","mtlb_fmt","mtlb_fd"] + if or(mtlb_names==k) then + error(msprintf(gettext("Name conflict: it is not possible to save variable with name %s."),k)); + end + end + clear("x","k","rhs","lhs","kk","err","sep","bin","version","mtlb_thefile","mtlb_opts"); + + for mtlb_k=1:size(mtlb_names,"*") + // perform changes on variables + execstr("x="+mtlb_names(mtlb_k)) + select type(x) + case 1 then + write(mtlb_fd,real(x),"("+string(size(x,2))+mtlb_fmt+")") + case 4 then + write(mtlb_fd,bool2s(x),"("+string(size(x,2))+mtlb_fmt+")") + case 5 then + // We need to transpose to conform to the matlab sparse format + [ij,x]=spget(real(x'));x=[ij x]; + write(mtlb_fd,real(x),"(2f8.0,1x"+string(size(x,2))+mtlb_fmt+")") + case 6 then + [ij,x]=spget(bool2s(x));x=[ij x]; + write(mtlb_fd,real(x),"(2f8.0,1x"+string(size(x,2))+mtlb_fmt+")") + case 10 then + x=part(x(:),1:max(length(x))) + x1=[] + for l=1:size(x,1) + x1=[x1;ascii(x(l))] + end + write(mtlb_fd,x1,"("+string(size(x1,2))+mtlb_fmt+")") + end + end + file("close",mtlb_fd) + end +endfunction diff --git a/modules/matio/matio.iss b/modules/matio/matio.iss new file mode 100755 index 000000000..b6b35f2ad --- /dev/null +++ b/modules/matio/matio.iss @@ -0,0 +1,45 @@ +; +; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +; Copyright (C) INRIA - Allan CORNET +; Copyright (C) DIGITEO - 2010 - Allan CORNET +; +; This file must be used under the terms of the CeCILL. +; This source file is licensed as described in the file COPYING, which +; you should have received as part of this distribution. The terms +; are also available at +; http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt +; +;-------------------------------------------------------------------------------------------------------------- +; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required) +; +;-------------------------------------------------------------------------------------------------------------- +; matio module +;-------------------------------------------------------------------------------------------------------------- +; +#define MATIO "matio" +; +Source: bin\{#MATIO}.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB} +Source: bin\lib{#MATIO}.dll; DestDir: {app}\bin; Components: {#COMPN_SCILAB} +; +Source: modules\{#MATIO}\license.txt; DestDir: {app}\modules\{#MATIO}; Components: {#COMPN_SCILAB} +; +Source: modules\{#MATIO}\etc\{#MATIO}.quit; DestDir: {app}\modules\{#MATIO}\etc; Components: {#COMPN_SCILAB} +Source: modules\{#MATIO}\etc\{#MATIO}.start; DestDir: {app}\modules\{#MATIO}\etc; Components: {#COMPN_SCILAB} +; +;Source: modules\{#MATIO}\includes\*.h; DestDir: {app}\modules\{#MATIO}\includes; Components: {#COMPN_SCILAB} +; +Source: modules\{#MATIO}\macros\lib; DestDir: {app}\modules\{#MATIO}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#MATIO}\macros\names; DestDir: {app}\modules\{#MATIO}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#MATIO}\macros\*.bin; DestDir: {app}\modules\{#MATIO}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#MATIO}\macros\*.sci; DestDir: {app}\modules\{#MATIO}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#MATIO}\macros\buildmacros.sce; DestDir: {app}\modules\{#MATIO}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#MATIO}\macros\buildmacros.bat; DestDir: {app}\modules\{#MATIO}\macros; Components: {#COMPN_SCILAB} +Source: modules\{#MATIO}\macros\cleanmacros.bat; DestDir: {app}\modules\{#MATIO}\macros; Components: {#COMPN_SCILAB} +; +Source: modules\{#MATIO}\sci_gateway\{#MATIO}_gateway.xml; DestDir: {app}\modules\{#MATIO}\sci_gateway; Components: {#COMPN_SCILAB} +; +;Source: modules\{#MATIO}\demos\*.*; DestDir: {app}\modules\{#MATIO}\demos; Flags: recursesubdirs; Components: {#COMPN_SCILAB} +; +Source: modules\{#MATIO}\tests\*.*; DestDir: {app}\modules\{#MATIO}\tests; Flags: recursesubdirs; Components: {#COMPN_SCILAB} and {#COMPN_TESTS} +; +;-------------------------------------------------------------------------------------------------------------- diff --git a/modules/matio/matio.vcxproj b/modules/matio/matio.vcxproj new file mode 100755 index 000000000..ed4350747 --- /dev/null +++ b/modules/matio/matio.vcxproj @@ -0,0 +1,268 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{7757B22F-9512-4380-9E40-EFD50575028D}</ProjectGuid> + <RootNamespace>matio</RootNamespace> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <WholeProgramOptimization>false</WholeProgramOptimization> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>DynamicLibrary</ConfigurationType> + <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v110</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> + <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir> + <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir> + <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../windows_tools/includes;../localization/includes;../../libs/intl;../../libs/matio;../../libs/zlib;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;MATIO_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)Sparse_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)sparse_f.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;sparse_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <Optimization>Disabled</Optimization> + <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../windows_tools/includes;../localization/includes;../../libs/intl;../../libs/matio;../../libs/zlib;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FORDLL;_DEBUG;_WINDOWS;_USRDLL;MATIO_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)Sparse_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)sparse_f.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;sparse_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../windows_tools/includes;../localization/includes;../../libs/intl;../../libs/matio;../../libs/zlib;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;MATIO_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)Sparse_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)sparse_f.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;sparse_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX86</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Midl> + <TargetEnvironment>X64</TargetEnvironment> + </Midl> + <ClCompile> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <WholeProgramOptimization>false</WholeProgramOptimization> + <AdditionalIncludeDirectories>includes;src/c;../core/includes;../output_stream/includes;../windows_tools/includes;../localization/includes;../../libs/intl;../../libs/matio;../../libs/zlib;../api_scilab/includes;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> + <PreprocessorDefinitions>FORDLL;NDEBUG;_WINDOWS;_USRDLL;MATIO_EXPORTS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <StringPooling>true</StringPooling> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <FunctionLevelLinking>true</FunctionLevelLinking> + <WarningLevel>Level3</WarningLevel> + <MultiProcessorCompilation>true</MultiProcessorCompilation> + </ClCompile> + <PreLinkEvent> + <Message>Make dependencies</Message> + <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1>NUL 2>NUL +lib /DEF:"$(ProjectDir)Sparse_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)sparse_f.lib" 1>NUL 2>NUL +</Command> + </PreLinkEvent> + <Link> + <AdditionalDependencies>core.lib;sparse_f.lib;%(AdditionalDependencies)</AdditionalDependencies> + <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile> + <GenerateDebugInformation>false</GenerateDebugInformation> + <SubSystem>Windows</SubSystem> + <OptimizeReferences>true</OptimizeReferences> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary> + <TargetMachine>MachineX64</TargetMachine> + <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck> + <RandomizedBaseAddress>false</RandomizedBaseAddress> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="src\c\CreateBooleanVariable.c" /> + <ClCompile Include="src\c\CreateCellVariable.c" /> + <ClCompile Include="src\c\CreateCharVariable.c" /> + <ClCompile Include="src\c\CreateDoubleVariable.c" /> + <ClCompile Include="src\c\CreateHyperMatrixVariable.c" /> + <ClCompile Include="src\c\CreateIntegerVariable.c" /> + <ClCompile Include="src\c\CreateMatlabVariable.c" /> + <ClCompile Include="src\c\CreateSparseVariable.c" /> + <ClCompile Include="src\c\CreateStructVariable.c" /> + <ClCompile Include="src\c\DllmainMatio.c" /> + <ClCompile Include="src\c\GetCellVariable.c" /> + <ClCompile Include="src\c\GetCharVariable.c" /> + <ClCompile Include="src\c\GetDoubleVariable.c" /> + <ClCompile Include="src\c\GetIntegerVariable.c" /> + <ClCompile Include="src\c\GetMatlabVariable.c" /> + <ClCompile Include="src\c\GetMlistVariable.c" /> + <ClCompile Include="src\c\GetSparseVariable.c" /> + <ClCompile Include="src\c\GetStructVariable.c" /> + <ClCompile Include="sci_gateway\c\gw_matio.c" /> + <ClCompile Include="src\c\matfile_manager.c" /> + <ClCompile Include="sci_gateway\c\sci_matfile_close.c" /> + <ClCompile Include="sci_gateway\c\sci_matfile_listvar.c" /> + <ClCompile Include="sci_gateway\c\sci_matfile_open.c" /> + <ClCompile Include="sci_gateway\c\sci_matfile_varreadnext.c" /> + <ClCompile Include="sci_gateway\c\sci_matfile_varwrite.c" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="src\c\CreateMatlabVariable.h" /> + <ClInclude Include="includes\dynlib_matio.h" /> + <ClInclude Include="src\c\GetMatlabVariable.h" /> + <ClInclude Include="includes\gw_matio.h" /> + <ClInclude Include="src\c\matfile_manager.h" /> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="src\c\matio.rc" /> + </ItemGroup> + <ItemGroup> + <None Include="core_import.def" /> + <None Include="locales\matio.pot" /> + <None Include="Makefile.am" /> + <None Include="matio.iss" /> + <None Include="sci_gateway\matio_gateway.xml" /> + <None Include="sparse_f_Import.def" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\tools\Dumpexts\Dumpexts.vcxproj"> + <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\api_scilab\api_scilab.vcxproj"> + <Project>{43c5bab1-1dca-4743-a183-77e0d42fe7d0}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\localization\src\localization.vcxproj"> + <Project>{ecffeb0c-1eda-45ee-9a10-b18143852e17}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\output_stream\src\c\output_stream.vcxproj"> + <Project>{a5911cd7-f8e8-440c-a23e-4843a0636f3a}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + <ProjectReference Include="..\windows_tools\src\c\scilab_windows\scilab_windows.vcxproj"> + <Project>{8028f371-6a94-4a26-8804-6e7f05f1d1aa}</Project> + <ReferenceOutputAssembly>false</ReferenceOutputAssembly> + </ProjectReference> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project>
\ No newline at end of file diff --git a/modules/matio/matio.vcxproj.filters b/modules/matio/matio.vcxproj.filters new file mode 100755 index 000000000..0fb71de1c --- /dev/null +++ b/modules/matio/matio.vcxproj.filters @@ -0,0 +1,139 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup> + <Filter Include="Source Files"> + <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> + <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> + </Filter> + <Filter Include="Header Files"> + <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> + <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions> + </Filter> + <Filter Include="Resource Files"> + <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> + <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions> + </Filter> + <Filter Include="localization"> + <UniqueIdentifier>{4aebd52a-7330-4fb3-bbe1-02f7a0948d38}</UniqueIdentifier> + </Filter> + <Filter Include="Libraries Dependencies"> + <UniqueIdentifier>{efe8558a-57ae-4db7-a76c-a0dccca7c82a}</UniqueIdentifier> + </Filter> + <Filter Include="Libraries Dependencies\Imports"> + <UniqueIdentifier>{31aaf602-aeee-4fdb-afb0-c7aae48c3775}</UniqueIdentifier> + </Filter> + </ItemGroup> + <ItemGroup> + <ClCompile Include="src\c\CreateBooleanVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateCellVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateCharVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateDoubleVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateHyperMatrixVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateIntegerVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateMatlabVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateSparseVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\CreateStructVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\DllmainMatio.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetCellVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetCharVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetDoubleVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetIntegerVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetMatlabVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetMlistVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetSparseVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\GetStructVariable.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\gw_matio.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="src\c\matfile_manager.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_matfile_close.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_matfile_listvar.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_matfile_open.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_matfile_varreadnext.c"> + <Filter>Source Files</Filter> + </ClCompile> + <ClCompile Include="sci_gateway\c\sci_matfile_varwrite.c"> + <Filter>Source Files</Filter> + </ClCompile> + </ItemGroup> + <ItemGroup> + <ClInclude Include="src\c\CreateMatlabVariable.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="includes\dynlib_matio.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="src\c\GetMatlabVariable.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="includes\gw_matio.h"> + <Filter>Header Files</Filter> + </ClInclude> + <ClInclude Include="src\c\matfile_manager.h"> + <Filter>Header Files</Filter> + </ClInclude> + </ItemGroup> + <ItemGroup> + <ResourceCompile Include="src\c\matio.rc"> + <Filter>Resource Files</Filter> + </ResourceCompile> + </ItemGroup> + <ItemGroup> + <None Include="core_import.def"> + <Filter>Libraries Dependencies\Imports</Filter> + </None> + <None Include="Makefile.am" /> + <None Include="matio.iss" /> + <None Include="sci_gateway\matio_gateway.xml" /> + <None Include="locales\matio.pot"> + <Filter>localization</Filter> + </None> + <None Include="sparse_f_Import.def"> + <Filter>Libraries Dependencies\Imports</Filter> + </None> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/modules/matio/sci_gateway/c/.deps/.dirstamp b/modules/matio/sci_gateway/c/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/matio/sci_gateway/c/.deps/.dirstamp diff --git a/modules/matio/sci_gateway/c/.deps/libscimatio_la-gw_matio.Plo b/modules/matio/sci_gateway/c/.deps/libscimatio_la-gw_matio.Plo new file mode 100755 index 000000000..e32576d98 --- /dev/null +++ b/modules/matio/sci_gateway/c/.deps/libscimatio_la-gw_matio.Plo @@ -0,0 +1,273 @@ +sci_gateway/c/libscimatio_la-gw_matio.lo: sci_gateway/c/gw_matio.c \ + /usr/include/stdc-predef.h /usr/include/math.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/string.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h includes/gw_matio.h \ + includes/dynlib_matio.h ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/core/includes/callFunctionFromGateway.h + +/usr/include/stdc-predef.h: + +/usr/include/math.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/string.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +includes/gw_matio.h: + +includes/dynlib_matio.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/core/includes/callFunctionFromGateway.h: diff --git a/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_close.Plo b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_close.Plo new file mode 100755 index 000000000..debc8957d --- /dev/null +++ b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_close.Plo @@ -0,0 +1,329 @@ +sci_gateway/c/libscimatio_la-sci_matfile_close.lo: \ + sci_gateway/c/sci_matfile_close.c /usr/include/stdc-predef.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h includes/gw_matio.h includes/dynlib_matio.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h + +/usr/include/stdc-predef.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +includes/gw_matio.h: + +includes/dynlib_matio.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: diff --git a/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_listvar.Plo b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_listvar.Plo new file mode 100755 index 000000000..17d44414b --- /dev/null +++ b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_listvar.Plo @@ -0,0 +1,325 @@ +sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo: \ + sci_gateway/c/sci_matfile_listvar.c /usr/include/stdc-predef.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h includes/gw_matio.h includes/dynlib_matio.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/core/includes/freeArrayOfString.h + +/usr/include/stdc-predef.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +includes/gw_matio.h: + +includes/dynlib_matio.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/core/includes/freeArrayOfString.h: diff --git a/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_open.Plo b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_open.Plo new file mode 100755 index 000000000..e6c2ce9ab --- /dev/null +++ b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_open.Plo @@ -0,0 +1,322 @@ +sci_gateway/c/libscimatio_la-sci_matfile_open.lo: \ + sci_gateway/c/sci_matfile_open.c /usr/include/stdc-predef.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h includes/gw_matio.h includes/dynlib_matio.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h + +/usr/include/stdc-predef.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +includes/gw_matio.h: + +includes/dynlib_matio.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: diff --git a/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_varreadnext.Plo b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_varreadnext.Plo new file mode 100755 index 000000000..ca4df2bb7 --- /dev/null +++ b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_varreadnext.Plo @@ -0,0 +1,331 @@ +sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo: \ + sci_gateway/c/sci_matfile_varreadnext.c /usr/include/stdc-predef.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h includes/gw_matio.h \ + includes/dynlib_matio.h src/c/CreateMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +includes/gw_matio.h: + +includes/dynlib_matio.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_varwrite.Plo b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_varwrite.Plo new file mode 100755 index 000000000..5314d68a3 --- /dev/null +++ b/modules/matio/sci_gateway/c/.deps/libscimatio_la-sci_matfile_varwrite.Plo @@ -0,0 +1,337 @@ +sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo: \ + sci_gateway/c/sci_matfile_varwrite.c /usr/include/stdc-predef.h \ + includes/gw_matio.h includes/dynlib_matio.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h + +/usr/include/stdc-predef.h: + +includes/gw_matio.h: + +includes/dynlib_matio.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: diff --git a/modules/matio/sci_gateway/c/.dirstamp b/modules/matio/sci_gateway/c/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/matio/sci_gateway/c/.dirstamp diff --git a/modules/matio/sci_gateway/c/.libs/libscimatio_la-gw_matio.o b/modules/matio/sci_gateway/c/.libs/libscimatio_la-gw_matio.o Binary files differnew file mode 100755 index 000000000..e927c350d --- /dev/null +++ b/modules/matio/sci_gateway/c/.libs/libscimatio_la-gw_matio.o diff --git a/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_close.o b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_close.o Binary files differnew file mode 100755 index 000000000..83109c889 --- /dev/null +++ b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_close.o diff --git a/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_listvar.o b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_listvar.o Binary files differnew file mode 100755 index 000000000..e369079dc --- /dev/null +++ b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_listvar.o diff --git a/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_open.o b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_open.o Binary files differnew file mode 100755 index 000000000..8b5c29c0c --- /dev/null +++ b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_open.o diff --git a/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_varreadnext.o b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_varreadnext.o Binary files differnew file mode 100755 index 000000000..0b60a135d --- /dev/null +++ b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_varreadnext.o diff --git a/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_varwrite.o b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_varwrite.o Binary files differnew file mode 100755 index 000000000..eac8ed855 --- /dev/null +++ b/modules/matio/sci_gateway/c/.libs/libscimatio_la-sci_matfile_varwrite.o diff --git a/modules/matio/sci_gateway/c/gw_matio.c b/modules/matio/sci_gateway/c/gw_matio.c new file mode 100755 index 000000000..be1409914 --- /dev/null +++ b/modules/matio/sci_gateway/c/gw_matio.c @@ -0,0 +1,45 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +/*-----------------------------------------------------------------------------------*/ +#include <math.h> +#include <string.h> +/*-----------------------------------------------------------------------------------*/ +#include "gw_matio.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "callFunctionFromGateway.h" +/*-----------------------------------------------------------------------------------*/ +static gw_generic_table Tab[] = +{ + {sci_matfile_open, "matfile_open"}, + {sci_matfile_close, "matfile_close"}, + {sci_matfile_listvar, "matfile_listvar"}, + {sci_matfile_varreadnext, "matfile_varreadnext"}, + {sci_matfile_varwrite, "matfile_varwrite"} +}; +/*-----------------------------------------------------------------------------------*/ +int gw_matio(void) +{ + Rhs = Max(0, Rhs); + + if (pvApiCtx == NULL) + { + pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx)); + } + + pvApiCtx->pstName = (char*)Tab[Fin - 1].name; + callFunctionFromGateway(Tab, SIZE_CURRENT_GENERIC_TABLE(Tab)); + return 0; +} +/*-----------------------------------------------------------------------------------*/ + diff --git a/modules/matio/sci_gateway/c/libscimatio_la-gw_matio.lo b/modules/matio/sci_gateway/c/libscimatio_la-gw_matio.lo new file mode 100755 index 000000000..04cd85bf3 --- /dev/null +++ b/modules/matio/sci_gateway/c/libscimatio_la-gw_matio.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscimatio_la-gw_matio.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_la-gw_matio.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_close.lo b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_close.lo new file mode 100755 index 000000000..64bcb817c --- /dev/null +++ b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_close.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscimatio_la-sci_matfile_close.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_la-sci_matfile_close.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo new file mode 100755 index 000000000..9eea41fb6 --- /dev/null +++ b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscimatio_la-sci_matfile_listvar.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_la-sci_matfile_listvar.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_open.lo b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_open.lo new file mode 100755 index 000000000..5c2aedf42 --- /dev/null +++ b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_open.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscimatio_la-sci_matfile_open.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_la-sci_matfile_open.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo new file mode 100755 index 000000000..5366345de --- /dev/null +++ b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscimatio_la-sci_matfile_varreadnext.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_la-sci_matfile_varreadnext.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo new file mode 100755 index 000000000..328d7682e --- /dev/null +++ b/modules/matio/sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo @@ -0,0 +1,12 @@ +# sci_gateway/c/libscimatio_la-sci_matfile_varwrite.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_la-sci_matfile_varwrite.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/sci_gateway/c/sci_matfile_close.c b/modules/matio/sci_gateway/c/sci_matfile_close.c new file mode 100755 index 000000000..34079d94e --- /dev/null +++ b/modules/matio/sci_gateway/c/sci_matfile_close.c @@ -0,0 +1,97 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "matfile_manager.h" +#include "localization.h" +#include "gw_matio.h" +#include "Scierror.h" +#include "sciprint.h" + +#include "api_scilab.h" + +/******************************************************************************* +Interface for MATIO function called Mat_Close +Scilab function name : matfile_close +*******************************************************************************/ +int sci_matfile_close(char *fname, unsigned long fname_len) +{ + mat_t * matfile = NULL; + int fileIndex = 0; + int nbRow = 0, nbCol = 0; + int * fd_addr = NULL; + int flag = 1, var_type; + double * fd_val = NULL; + SciErr sciErr; + + CheckRhs(1, 1); + CheckLhs(1, 1); + + /* First Rhs is the index of the file to close */ + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &fd_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, fd_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_matrix) + { + sciErr = getMatrixOfDouble(pvApiCtx, fd_addr, &nbRow, &nbCol, &fd_val); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + if (nbRow * nbCol != 1) + { + Scierror(999, _("%s: Wrong size for first input argument: Single double expected.\n"), fname); + return FALSE; + } + fileIndex = (int) * fd_val; + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: Double expected.\n"), fname); + return FALSE; + } + + /* Gets the corresponding matfile to close it */ + /* The manager clears its static matfile table */ + matfile_manager(MATFILEMANAGER_DELFILE, &fileIndex, &matfile); + + /* If the file has not already been closed, it's closed */ + if (matfile != NULL) + { + flag = Mat_Close(matfile); + } + else /* The user is informed */ + { + sciprint("File already closed.\n"); + } + + /* Return execution flag */ + var_type = (flag == 0); + createScalarBoolean(pvApiCtx, Rhs + 1, var_type); + + LhsVar(1) = Rhs + 1; + + PutLhsVar(); + + return TRUE; +} diff --git a/modules/matio/sci_gateway/c/sci_matfile_listvar.c b/modules/matio/sci_gateway/c/sci_matfile_listvar.c new file mode 100755 index 000000000..242d22090 --- /dev/null +++ b/modules/matio/sci_gateway/c/sci_matfile_listvar.c @@ -0,0 +1,204 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "api_scilab.h" +#include "matfile_manager.h" +#include "gw_matio.h" +#include "localization.h" +#include "Scierror.h" +#include "MALLOC.h" +#include "freeArrayOfString.h" +#ifdef _MSC_VER +#include "strdup_Windows.h" +#endif + +int sci_matfile_listvar(char *fname, unsigned long fname_len) +{ + int nbRow = 0, nbCol = 0; + mat_t *matfile = NULL; + matvar_t *matvar = NULL; + int fileIndex = 0; + char **varnames = NULL; + double *varclasses = NULL; + double *vartypes = NULL; + int nbvar = 0, var_type; + int * fd_addr = NULL; + double tmp_dbl; + SciErr sciErr; + int iErr = 0; + + CheckRhs(1, 1); + CheckLhs(1, 3); + + /* First Rhs is the index of the file to read */ + + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &fd_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, fd_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_matrix) + { + getScalarDouble(pvApiCtx, fd_addr, &tmp_dbl); + if (!isScalar(pvApiCtx, fd_addr)) + { + Scierror(999, _("%s: Wrong size for first input argument: Single double expected.\n"), fname); + return FALSE; + } + fileIndex = (int)tmp_dbl; + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: Double expected.\n"), fname); + return FALSE; + } + + /* Gets the corresponding matfile */ + matfile_manager(MATFILEMANAGER_GETFILE, &fileIndex, &matfile); + + if (matfile == NULL) + { + Scierror(999, _("%s: Invalid file identifier.\n"), fname); + return FALSE; + } + + /* Back to the beginning of the file */ + if (Mat_Rewind(matfile) != 0) + { + Scierror(999, _("%s: Could not rewind the file %s.\n"), "matfile_listvar", Mat_GetFilename(matfile)); + return FALSE; + } + + matvar = Mat_VarReadNext(matfile); + while (matvar != NULL && matvar->name != NULL) + { + nbvar++; + varnames = (char**) REALLOC(varnames, nbvar * sizeof(char*)); + if (varnames == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "matfile_listvar"); + return FALSE; + } + varnames[nbvar - 1] = strdup(matvar->name); + varclasses = (double*) REALLOC(varclasses, nbvar * sizeof(double)); + if (varclasses == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "matfile_listvar"); + return FALSE; + } + varclasses[nbvar - 1] = (double) matvar->class_type; + vartypes = (double*) REALLOC(vartypes, nbvar * sizeof(double)); + if (vartypes == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "matfile_listvar"); + return FALSE; + } + vartypes[nbvar - 1] = (double) matvar->data_type; + + Mat_VarFree(matvar); + matvar = Mat_VarReadNext(matfile); + } + + Mat_VarFree(matvar); + + /* Return the variable names list */ + if (nbvar == 0) + { + /* No variables found in MatFile */ + + /* Return the empty names */ + iErr = createEmptyMatrix(pvApiCtx, Rhs + 1); + if (iErr) + { + Scierror(999, _("%s: Memory allocation error.\n"), fname); + return 0; + } + LhsVar(1) = Rhs + 1; + + /* Return the empty classes if asked */ + if (Lhs >= 2) + { + iErr = createEmptyMatrix(pvApiCtx, Rhs + 2); + if (iErr) + { + Scierror(999, _("%s: Memory allocation error.\n"), fname); + return 0; + } + LhsVar(2) = Rhs + 2; + } + + /* Return the empty types if asked */ + if (Lhs >= 3) + { + iErr = createEmptyMatrix(pvApiCtx, Rhs + 3); + if (iErr) + { + Scierror(999, _("%s: Memory allocation error.\n"), fname); + return 0; + } + LhsVar(3) = Rhs + 3; + } + } + else + { + nbRow = nbvar; + nbCol = 1; + sciErr = createMatrixOfString(pvApiCtx, Rhs + 1, nbRow, nbCol, varnames); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + LhsVar(1) = Rhs + 1; + + /* Return the variable classes */ + if (Lhs >= 2) + { + sciErr = createMatrixOfDouble(pvApiCtx, Rhs + 2, nbRow, nbCol, varclasses); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + LhsVar(2) = Rhs + 2; + } + + /* Return the variable types */ + if (Lhs >= 3) + { + sciErr = createMatrixOfDouble(pvApiCtx, Rhs + 3, nbRow, nbCol, vartypes); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + LhsVar(3) = Rhs + 3; + } + } + + freeArrayOfString(varnames, nbvar); + FREE(varclasses); + FREE(vartypes); + + PutLhsVar(); + + return TRUE; +} diff --git a/modules/matio/sci_gateway/c/sci_matfile_open.c b/modules/matio/sci_gateway/c/sci_matfile_open.c new file mode 100755 index 000000000..39cd5067e --- /dev/null +++ b/modules/matio/sci_gateway/c/sci_matfile_open.c @@ -0,0 +1,231 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2014 - Scilab Enterprises - Paul Bignier: bug #13102 fixed + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "api_scilab.h" +#include "MALLOC.h" +#include "matfile_manager.h" +#include "gw_matio.h" +#include "localization.h" +#include "Scierror.h" + +/******************************************************************************* + Interface for MATIO function called Mat_Open + Scilab function name : matfile_open +*******************************************************************************/ +int sci_matfile_open(char *fname, unsigned long fname_len) +{ + int nbRow = 0, nbCol = 0; + mat_t *matfile; + int fileIndex = 0; + char * filename = NULL; + char * optionStr = NULL; + int option = 0, var_type; + int * filename_addr = NULL, * option_addr = NULL, * version_addr = NULL; + char * versionStr = NULL; + int version = MAT_FT_MAT5; // By default, use MAtlab 5 files + SciErr sciErr; + + CheckRhs(1, 3); + CheckLhs(1, 1); + + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &filename_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, filename_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_strings) + { + getAllocatedSingleString(pvApiCtx, filename_addr, &filename); + sciErr = getVarDimension(pvApiCtx, filename_addr, &nbRow, &nbCol); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (nbCol != 1) + { + Scierror(999, _("%s: Wrong size for first input argument: A string expected.\n"), fname); + freeAllocatedSingleString(filename); + return FALSE; + } + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: A string expected.\n"), fname); + freeAllocatedSingleString(filename); + return FALSE; + } + + if (Rhs >= 2) + { + sciErr = getVarAddressFromPosition(pvApiCtx, 2, &option_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + sciErr = getVarType(pvApiCtx, option_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_strings) + { + getAllocatedSingleString(pvApiCtx, option_addr, &optionStr); + sciErr = getVarDimension(pvApiCtx, option_addr, &nbRow, &nbCol); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (nbCol != 1) + { + Scierror(999, _("%s: Wrong size for second input argument: A string expected.\n"), fname); + freeAllocatedSingleString(filename); + freeAllocatedSingleString(optionStr); + + return FALSE; + } + + if (strcmp(optionStr, "r") == 0) + { + option = MAT_ACC_RDONLY; + } + else if (strcmp(optionStr, "w") == 0) + { + option = MAT_ACC_RDWR; + } + else + { + Scierror(999, _("%s: Wrong value for second input argument: 'r' or 'w' expected.\n"), fname); + freeAllocatedSingleString(filename); + freeAllocatedSingleString(optionStr); + + return FALSE; + } + } + else + { + Scierror(999, _("%s: Wrong type for second input argument: A string expected.\n"), fname); + freeAllocatedSingleString(filename); + freeAllocatedSingleString(optionStr); + + return FALSE; + } + } + else + { + /* Default option value */ + option = MAT_ACC_RDONLY; + } + + if (Rhs >= 3) + { + sciErr = getVarAddressFromPosition(pvApiCtx, 3, &version_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + sciErr = getVarType(pvApiCtx, version_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + printf("sci_strings %d %d\n", var_type, sci_strings); + if (var_type == sci_strings) + { + getAllocatedSingleString(pvApiCtx, version_addr, &versionStr); + sciErr = getVarDimension(pvApiCtx, version_addr, &nbRow, &nbCol); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + if (nbCol != 1) + { + Scierror(999, _("%s: Wrong size for input argument #%d: A string expected.\n"), fname, 3); + freeAllocatedSingleString(filename); + freeAllocatedSingleString(optionStr); + freeAllocatedSingleString(versionStr); + + return FALSE; + } + + if (strcmp(versionStr, "7.3") == 0) + { + version = MAT_FT_MAT73; // Matlab 7.3 file + } + else + { + version = MAT_FT_MAT5; // Default, Matlab 5 file + } + } + else + { + Scierror(999, _("%s: Wrong type for input argument #%d: A string expected.\n"), fname, 3); + return 0; + } + } + + if (option == MAT_ACC_RDWR) // Write, option = "w" + { + /* create a Matlab 5 or 7.3 file */ + matfile = Mat_CreateVer(filename, NULL, version); + } + else // Read, option = "r" + { + /* Try to open the file (as a Matlab 5 file) */ + matfile = Mat_Open(filename, option); + } + + if (matfile == NULL) /* Opening failed */ + { + /* Function returns -1 */ + fileIndex = -1; + } + + if (matfile != NULL) /* Opening succeed */ + { + /* Add the file to the manager */ + matfile_manager(MATFILEMANAGER_ADDFILE, &fileIndex, &matfile); + } + + /* Return the index */ + createScalarDouble(pvApiCtx, Rhs + 1, (double)fileIndex); + + freeAllocatedSingleString(filename); + freeAllocatedSingleString(optionStr); + freeAllocatedSingleString(versionStr); + + LhsVar(1) = Rhs + 1; + PutLhsVar(); + + return TRUE; +} diff --git a/modules/matio/sci_gateway/c/sci_matfile_varreadnext.c b/modules/matio/sci_gateway/c/sci_matfile_varreadnext.c new file mode 100755 index 000000000..fe7ee0931 --- /dev/null +++ b/modules/matio/sci_gateway/c/sci_matfile_varreadnext.c @@ -0,0 +1,137 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ +#include "api_scilab.h" +#include "gw_matio.h" + +#include "CreateMatlabVariable.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + +enum matfile_errors +{ + NO_MORE_VARIABLES = -1, + UNKNOWN_VARIABLE_TYPE = 0 +}; + +int sci_matfile_varreadnext(char *fname, unsigned long fname_len) +{ + mat_t *matfile = NULL; + matvar_t *matvar = NULL; + int fileIndex = 0; + int returnedClass = 0, var_type; + int * fd_addr = NULL; + double tmp_dbl; + SciErr sciErr; + + CheckRhs(1, 1); + CheckLhs(1, 3); + + /* Input argument is the index of the file to read */ + + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &fd_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, fd_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_matrix) + { + getScalarDouble(pvApiCtx, fd_addr, &tmp_dbl); + if (!isScalar(pvApiCtx, fd_addr)) + { + Scierror(999, _("%s: Wrong size for first input argument: Single double expected.\n"), fname); + return FALSE; + } + fileIndex = (int)tmp_dbl; + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: Double expected.\n"), fname); + return FALSE; + } + + /* Gets the corresponding matfile */ + matfile_manager(MATFILEMANAGER_GETFILE, &fileIndex, &matfile); + + if (matfile == NULL) + { + Scierror(999, _("%s: Invalid file identifier.\n"), fname); + return FALSE; + } + + matvar = Mat_VarReadNext(matfile); + if ((matvar == NULL) || (matvar->name == NULL)) + { + /* Return empty name */ + createSingleString(pvApiCtx, Rhs + 1, "\0"); + LhsVar(1) = Rhs + 1; + + if (Lhs >= 2) + { + /* Return empty value */ + createEmptyMatrix(pvApiCtx, Rhs + 2); + LhsVar(2) = Rhs + 2; + } + + if (Lhs == 3) + { + /* Return error flag instead of variable class */ + createScalarDouble(pvApiCtx, Rhs + 3, NO_MORE_VARIABLES); + LhsVar(3) = Rhs + 3; + } + + PutLhsVar(); + + return TRUE; + } + + /* To be sure isComplex is 0 or 1 */ + matvar->isComplex = matvar->isComplex != 0; + + /* Return the variable name */ + createSingleString(pvApiCtx, Rhs + 1, matvar->name); + LhsVar(1) = Rhs + 1; + + returnedClass = matvar->class_type; + + if (Lhs >= 2) + { + /* Return the values */ + if (!CreateMatlabVariable(pvApiCtx, Rhs + 2, matvar, NULL, -1)) /* Could not Create Variable */ + { + sciprint("Do not know how to read a variable of class %d.\n", matvar->class_type); + returnedClass = UNKNOWN_VARIABLE_TYPE; + } + LhsVar(2) = Rhs + 2; + } + + if (Lhs == 3) + { + /* Create class return value */ + createScalarDouble(pvApiCtx, Rhs + 3, returnedClass); + LhsVar(3) = Rhs + 3; + } + + Mat_VarFree(matvar); + PutLhsVar(); + return TRUE; +} diff --git a/modules/matio/sci_gateway/c/sci_matfile_varwrite.c b/modules/matio/sci_gateway/c/sci_matfile_varwrite.c new file mode 100755 index 000000000..d41910f82 --- /dev/null +++ b/modules/matio/sci_gateway/c/sci_matfile_varwrite.c @@ -0,0 +1,172 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifdef _MSC_VER +#include "strdup_Windows.h" +#endif + +#include "gw_matio.h" +#include "GetMatlabVariable.h" +#include "api_scilab.h" + +enum matfile_errors +{ + NO_MORE_VARIABLES = -1, + UNKNOWN_VARIABLE_TYPE = 0 +}; + +int sci_matfile_varwrite(char *fname, unsigned long fname_len) +{ + int nbRow = 0, nbCol = 0; + mat_t *matfile = NULL; + matvar_t *matvar = NULL; + int fileIndex = 0; + char *varname = NULL; + int flag = 0; + int compressionFlag = 0; + int var_type; + int * fd_addr = NULL, * name_addr = NULL, * cp_flag_addr = NULL; + double tmp_dbl; + SciErr sciErr; + + CheckRhs(4, 4); + CheckLhs(1, 1); + + /* Input argument is the index of the file to write */ + + sciErr = getVarAddressFromPosition(pvApiCtx, 1, &fd_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, fd_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_matrix) + { + getScalarDouble(pvApiCtx, fd_addr, &tmp_dbl); + if (!isScalar(pvApiCtx, fd_addr)) + { + Scierror(999, _("%s: Wrong size for first input argument: An integer value expected.\n"), fname); + return FALSE; + } + fileIndex = (int)tmp_dbl; + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: An integer value expected.\n"), fname); + return FALSE; + } + + /* Gets the corresponding matfile */ + matfile_manager(MATFILEMANAGER_GETFILE, &fileIndex, &matfile); + + /* Second argument is the variable name */ + + sciErr = getVarAddressFromPosition(pvApiCtx, 2, &name_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, name_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_strings) + { + getAllocatedSingleString(pvApiCtx, name_addr, &varname); + sciErr = getVarDimension(pvApiCtx, name_addr, &nbRow, &nbCol); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + if (nbCol != 1) + { + Scierror(999, _("%s: Wrong size for second input argument: A string expected.\n"), fname); + + freeAllocatedSingleString(varname); + + return FALSE; + } + } + else + { + Scierror(999, _("%s: Wrong type for second input argument: A string expected.\n"), fname); + + freeAllocatedSingleString(varname); + + return FALSE; + } + + /* Third argument is the variable data */ + /* TODO update this NULL */ + matvar = GetMatlabVariable(pvApiCtx, 3, varname, Mat_GetVersion(matfile), NULL, -1); + + /* Fourth argument is the compression flag */ + + sciErr = getVarAddressFromPosition(pvApiCtx, 4, &cp_flag_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, cp_flag_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_boolean) + { + getScalarBoolean(pvApiCtx, cp_flag_addr, &compressionFlag); + if (!isScalar(pvApiCtx, cp_flag_addr)) + { + Scierror(999, _("%s: Wrong size for fourth input argument: A boolean expected.\n"), fname); + + freeAllocatedSingleString(varname); + + return FALSE; + } + } + else + { + Scierror(999, _("%s: Wrong type for fourth input argument: A boolean expected.\n"), fname); + + freeAllocatedSingleString(varname); + + return FALSE; + } + + flag = Mat_VarWrite(matfile, matvar, compressionFlag); + + /* Return execution flag */ + var_type = (flag == 0); + createScalarBoolean(pvApiCtx, Rhs + 1, var_type); + + freeAllocatedSingleString(varname); + LhsVar(1) = Rhs + 1; + PutLhsVar(); + + return TRUE; +} diff --git a/modules/matio/sci_gateway/matio_gateway.xml b/modules/matio/sci_gateway/matio_gateway.xml new file mode 100755 index 000000000..585466fc3 --- /dev/null +++ b/modules/matio/sci_gateway/matio_gateway.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2007 - INRIA - Allan CORNET + * Copyright (C) 2007 - INRIA - Sylvestre LEDRU + * Copyright (C) 2007-2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + --> +<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd"> +<GATEWAY name="matio"> + <!-- =================== --> + <!-- + Scilab + Interface description. In this file, we define the list of the function which + will be available into Scilab and the link to the "native" function. + + gatewayId is the position in the hashtable 'Interfaces' defined in the + file SCI/modules/core/src/c/callinterf.h + + primitiveId is the position in the hashtable '<module>Table Tab[]' defined + in the file modules/<module>/sci_gateway/c/gw_<module>.c + + primitiveName is the name of the Scilab function + =================== + Don't touch if you do not know what you are doing +--> + <!-- =================== --> + + <PRIMITIVE gatewayId="59" primitiveId="1" primitiveName="matfile_open"/> + <PRIMITIVE gatewayId="59" primitiveId="2" primitiveName="matfile_close"/> + <PRIMITIVE gatewayId="59" primitiveId="3" primitiveName="matfile_listvar"/> + <PRIMITIVE gatewayId="59" primitiveId="4" primitiveName="matfile_varreadnext"/> + <PRIMITIVE gatewayId="59" primitiveId="5" primitiveName="matfile_varwrite"/> +</GATEWAY> diff --git a/modules/matio/sparse_f_Import.def b/modules/matio/sparse_f_Import.def new file mode 100755 index 000000000..cb8361f3e --- /dev/null +++ b/modules/matio/sparse_f_Import.def @@ -0,0 +1,6 @@ +LIBRARY sparse_f.dll + + +EXPORTS + +spt_
\ No newline at end of file diff --git a/modules/matio/src/c/.deps/.dirstamp b/modules/matio/src/c/.deps/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/matio/src/c/.deps/.dirstamp diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateBooleanVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateBooleanVariable.Plo new file mode 100755 index 000000000..9a67f2f3d --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateBooleanVariable.Plo @@ -0,0 +1,326 @@ +src/c/libscimatio_algo_la-CreateBooleanVariable.lo: \ + src/c/CreateBooleanVariable.c /usr/include/stdc-predef.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h src/c/CreateMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateCellVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateCellVariable.Plo new file mode 100755 index 000000000..4f3886614 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateCellVariable.Plo @@ -0,0 +1,327 @@ +src/c/libscimatio_algo_la-CreateCellVariable.lo: \ + src/c/CreateCellVariable.c /usr/include/stdc-predef.h \ + src/c/CreateMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateCharVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateCharVariable.Plo new file mode 100755 index 000000000..579f85bd0 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateCharVariable.Plo @@ -0,0 +1,324 @@ +src/c/libscimatio_algo_la-CreateCharVariable.lo: \ + src/c/CreateCharVariable.c /usr/include/stdc-predef.h \ + /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h /usr/include/wchar.h \ + /usr/include/stdio.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/wchar.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h src/c/CreateMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/libio.h /usr/include/_G_config.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h ../../modules/core/includes/freeArrayOfString.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/wchar.h: + +/usr/include/stdio.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +../../modules/core/includes/freeArrayOfString.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateDoubleVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateDoubleVariable.Plo new file mode 100755 index 000000000..11b106fab --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateDoubleVariable.Plo @@ -0,0 +1,302 @@ +src/c/libscimatio_algo_la-CreateDoubleVariable.lo: \ + src/c/CreateDoubleVariable.c /usr/include/stdc-predef.h \ + src/c/CreateMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h + +/usr/include/stdc-predef.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateHyperMatrixVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateHyperMatrixVariable.Plo new file mode 100755 index 000000000..7635cd0aa --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateHyperMatrixVariable.Plo @@ -0,0 +1,327 @@ +src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo: \ + src/c/CreateHyperMatrixVariable.c /usr/include/stdc-predef.h \ + src/c/CreateMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateIntegerVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateIntegerVariable.Plo new file mode 100755 index 000000000..5c1de7310 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateIntegerVariable.Plo @@ -0,0 +1,327 @@ +src/c/libscimatio_algo_la-CreateIntegerVariable.lo: \ + src/c/CreateIntegerVariable.c /usr/include/stdc-predef.h \ + src/c/CreateMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateMatlabVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateMatlabVariable.Plo new file mode 100755 index 000000000..d9a41028a --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateMatlabVariable.Plo @@ -0,0 +1,296 @@ +src/c/libscimatio_algo_la-CreateMatlabVariable.lo: \ + src/c/CreateMatlabVariable.c /usr/include/stdc-predef.h \ + src/c/CreateMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h + +/usr/include/stdc-predef.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateSparseVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateSparseVariable.Plo new file mode 100755 index 000000000..8d69674d8 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateSparseVariable.Plo @@ -0,0 +1,327 @@ +src/c/libscimatio_algo_la-CreateSparseVariable.lo: \ + src/c/CreateSparseVariable.c /usr/include/stdc-predef.h \ + src/c/CreateMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/xlocale.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-CreateStructVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateStructVariable.Plo new file mode 100755 index 000000000..faa678a0c --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-CreateStructVariable.Plo @@ -0,0 +1,330 @@ +src/c/libscimatio_algo_la-CreateStructVariable.lo: \ + src/c/CreateStructVariable.c /usr/include/stdc-predef.h \ + src/c/CreateMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/freeArrayOfString.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h + +/usr/include/stdc-predef.h: + +src/c/CreateMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/freeArrayOfString.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/core/includes/BOOL.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetCellVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetCellVariable.Plo new file mode 100755 index 000000000..26b08e18c --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetCellVariable.Plo @@ -0,0 +1,335 @@ +src/c/libscimatio_algo_la-GetCellVariable.lo: src/c/GetCellVariable.c \ + /usr/include/stdc-predef.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/freeArrayOfString.h + +/usr/include/stdc-predef.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/freeArrayOfString.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetCharVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetCharVariable.Plo new file mode 100755 index 000000000..c81a0e807 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetCharVariable.Plo @@ -0,0 +1,334 @@ +src/c/libscimatio_algo_la-GetCharVariable.lo: src/c/GetCharVariable.c \ + /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/freeArrayOfString.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/freeArrayOfString.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetDoubleVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetDoubleVariable.Plo new file mode 100755 index 000000000..67f70cb2a --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetDoubleVariable.Plo @@ -0,0 +1,332 @@ +src/c/libscimatio_algo_la-GetDoubleVariable.lo: src/c/GetDoubleVariable.c \ + /usr/include/stdc-predef.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h + +/usr/include/stdc-predef.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetIntegerVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetIntegerVariable.Plo new file mode 100755 index 000000000..34b24b98d --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetIntegerVariable.Plo @@ -0,0 +1,332 @@ +src/c/libscimatio_algo_la-GetIntegerVariable.lo: \ + src/c/GetIntegerVariable.c /usr/include/stdc-predef.h \ + src/c/GetMatlabVariable.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h + +/usr/include/stdc-predef.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetMatlabVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetMatlabVariable.Plo new file mode 100755 index 000000000..2d7a621fc --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetMatlabVariable.Plo @@ -0,0 +1,332 @@ +src/c/libscimatio_algo_la-GetMatlabVariable.lo: src/c/GetMatlabVariable.c \ + /usr/include/stdc-predef.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h + +/usr/include/stdc-predef.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetMlistVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetMlistVariable.Plo new file mode 100755 index 000000000..d309cb0d6 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetMlistVariable.Plo @@ -0,0 +1,334 @@ +src/c/libscimatio_algo_la-GetMlistVariable.lo: src/c/GetMlistVariable.c \ + /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/freeArrayOfString.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/freeArrayOfString.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetSparseVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetSparseVariable.Plo new file mode 100755 index 000000000..cfaa36d65 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetSparseVariable.Plo @@ -0,0 +1,331 @@ +src/c/libscimatio_algo_la-GetSparseVariable.lo: src/c/GetSparseVariable.c \ + /usr/include/stdc-predef.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h ../../modules/core/includes/stack-c.h \ + /usr/include/string.h /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h + +/usr/include/stdc-predef.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-GetStructVariable.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-GetStructVariable.Plo new file mode 100755 index 000000000..4f7f0f75e --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-GetStructVariable.Plo @@ -0,0 +1,335 @@ +src/c/libscimatio_algo_la-GetStructVariable.lo: src/c/GetStructVariable.c \ + /usr/include/stdc-predef.h src/c/GetMatlabVariable.h \ + src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/stdlib.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h \ + ../../modules/localization/includes/localization.h \ + ../../modules/core/includes/machine.h /usr/include/libintl.h \ + /usr/include/locale.h /usr/include/x86_64-linux-gnu/bits/locale.h \ + /usr/include/xlocale.h ../../modules/output_stream/includes/Scierror.h \ + ../../modules/output_stream/includes/do_error_number.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/core/includes/stack-c.h /usr/include/string.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h \ + ../../modules/core/includes/core_math.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h \ + /usr/include/limits.h /usr/include/x86_64-linux-gnu/bits/posix1_lim.h \ + /usr/include/x86_64-linux-gnu/bits/local_lim.h \ + /usr/include/linux/limits.h \ + /usr/include/x86_64-linux-gnu/bits/posix2_lim.h /usr/include/math.h \ + /usr/include/x86_64-linux-gnu/bits/math-vector.h \ + /usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h \ + /usr/include/x86_64-linux-gnu/bits/huge_val.h \ + /usr/include/x86_64-linux-gnu/bits/huge_valf.h \ + /usr/include/x86_64-linux-gnu/bits/huge_vall.h \ + /usr/include/x86_64-linux-gnu/bits/inf.h \ + /usr/include/x86_64-linux-gnu/bits/nan.h \ + /usr/include/x86_64-linux-gnu/bits/mathdef.h \ + /usr/include/x86_64-linux-gnu/bits/mathcalls.h \ + /usr/include/x86_64-linux-gnu/bits/mathinline.h /usr/include/values.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/float.h \ + ../../modules/core/includes/stack-def.h \ + ../../modules/core/includes/machine.h \ + ../../modules/core/includes/stackTypeVariable.h \ + ../../modules/core/includes/BOOL.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/core/includes/stack1.h \ + ../../modules/core/includes/scisparse.h \ + ../../modules/core/includes/stack2.h \ + ../../modules/core/includes/stack3.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/api_scilab/includes/api_common.h \ + ../../modules/api_scilab/includes/api_scilab.h \ + ../../modules/api_scilab/includes/api_double.h \ + ../../modules/core/includes/doublecomplex.h \ + ../../modules/api_scilab/includes/api_string.h \ + /usr/include/x86_64-linux-gnu/bits/wchar2.h \ + ../../modules/api_scilab/includes/api_int.h \ + ../../modules/api_scilab/includes/api_poly.h \ + ../../modules/api_scilab/includes/api_sparse.h \ + ../../modules/api_scilab/includes/api_boolean.h \ + ../../modules/api_scilab/includes/api_boolean_sparse.h \ + ../../modules/api_scilab/includes/api_pointer.h \ + ../../modules/api_scilab/includes/api_list.h \ + ../../modules/api_scilab/includes/api_error.h \ + ../../modules/api_scilab/includes/api_handle.h \ + ../../modules/api_scilab/includes/api_optional.h \ + ../../modules/core/includes/stack-optional.h \ + ../../modules/api_scilab/includes/api_hypermat.h \ + ../../modules/core/includes/core_math.h \ + ../../modules/core/includes/sci_types.h \ + ../../modules/core/includes/freeArrayOfString.h + +/usr/include/stdc-predef.h: + +src/c/GetMatlabVariable.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/stdlib.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: + +../../modules/localization/includes/localization.h: + +../../modules/core/includes/machine.h: + +/usr/include/libintl.h: + +/usr/include/locale.h: + +/usr/include/x86_64-linux-gnu/bits/locale.h: + +/usr/include/xlocale.h: + +../../modules/output_stream/includes/Scierror.h: + +../../modules/output_stream/includes/do_error_number.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/core/includes/stack-c.h: + +/usr/include/string.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +../../modules/core/includes/core_math.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h: + +/usr/include/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix1_lim.h: + +/usr/include/x86_64-linux-gnu/bits/local_lim.h: + +/usr/include/linux/limits.h: + +/usr/include/x86_64-linux-gnu/bits/posix2_lim.h: + +/usr/include/math.h: + +/usr/include/x86_64-linux-gnu/bits/math-vector.h: + +/usr/include/x86_64-linux-gnu/bits/libm-simd-decl-stubs.h: + +/usr/include/x86_64-linux-gnu/bits/huge_val.h: + +/usr/include/x86_64-linux-gnu/bits/huge_valf.h: + +/usr/include/x86_64-linux-gnu/bits/huge_vall.h: + +/usr/include/x86_64-linux-gnu/bits/inf.h: + +/usr/include/x86_64-linux-gnu/bits/nan.h: + +/usr/include/x86_64-linux-gnu/bits/mathdef.h: + +/usr/include/x86_64-linux-gnu/bits/mathcalls.h: + +/usr/include/x86_64-linux-gnu/bits/mathinline.h: + +/usr/include/values.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/float.h: + +../../modules/core/includes/stack-def.h: + +../../modules/core/includes/machine.h: + +../../modules/core/includes/stackTypeVariable.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/core/includes/stack1.h: + +../../modules/core/includes/scisparse.h: + +../../modules/core/includes/stack2.h: + +../../modules/core/includes/stack3.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/core/includes/sci_types.h: + +../../modules/api_scilab/includes/api_common.h: + +../../modules/api_scilab/includes/api_scilab.h: + +../../modules/api_scilab/includes/api_double.h: + +../../modules/core/includes/doublecomplex.h: + +../../modules/api_scilab/includes/api_string.h: + +/usr/include/x86_64-linux-gnu/bits/wchar2.h: + +../../modules/api_scilab/includes/api_int.h: + +../../modules/api_scilab/includes/api_poly.h: + +../../modules/api_scilab/includes/api_sparse.h: + +../../modules/api_scilab/includes/api_boolean.h: + +../../modules/api_scilab/includes/api_boolean_sparse.h: + +../../modules/api_scilab/includes/api_pointer.h: + +../../modules/api_scilab/includes/api_list.h: + +../../modules/api_scilab/includes/api_error.h: + +../../modules/api_scilab/includes/api_handle.h: + +../../modules/api_scilab/includes/api_optional.h: + +../../modules/core/includes/stack-optional.h: + +../../modules/api_scilab/includes/api_hypermat.h: + +../../modules/core/includes/core_math.h: + +../../modules/core/includes/sci_types.h: + +../../modules/core/includes/freeArrayOfString.h: diff --git a/modules/matio/src/c/.deps/libscimatio_algo_la-matfile_manager.Plo b/modules/matio/src/c/.deps/libscimatio_algo_la-matfile_manager.Plo new file mode 100755 index 000000000..367bc2140 --- /dev/null +++ b/modules/matio/src/c/.deps/libscimatio_algo_la-matfile_manager.Plo @@ -0,0 +1,149 @@ +src/c/libscimatio_algo_la-matfile_manager.lo: src/c/matfile_manager.c \ + /usr/include/stdc-predef.h /usr/include/string.h /usr/include/features.h \ + /usr/include/x86_64-linux-gnu/sys/cdefs.h \ + /usr/include/x86_64-linux-gnu/bits/wordsize.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs.h \ + /usr/include/x86_64-linux-gnu/gnu/stubs-64.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h /usr/include/xlocale.h \ + /usr/include/x86_64-linux-gnu/bits/string.h \ + /usr/include/x86_64-linux-gnu/bits/string2.h /usr/include/endian.h \ + /usr/include/x86_64-linux-gnu/bits/endian.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap.h \ + /usr/include/x86_64-linux-gnu/bits/types.h \ + /usr/include/x86_64-linux-gnu/bits/typesizes.h \ + /usr/include/x86_64-linux-gnu/bits/byteswap-16.h /usr/include/stdlib.h \ + /usr/include/x86_64-linux-gnu/bits/string3.h src/c/matfile_manager.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio.h \ + /usr/include/x86_64-linux-gnu/bits/waitflags.h \ + /usr/include/x86_64-linux-gnu/bits/waitstatus.h \ + /usr/include/x86_64-linux-gnu/sys/types.h /usr/include/time.h \ + /usr/include/x86_64-linux-gnu/sys/select.h \ + /usr/include/x86_64-linux-gnu/bits/select.h \ + /usr/include/x86_64-linux-gnu/bits/sigset.h \ + /usr/include/x86_64-linux-gnu/bits/time.h \ + /usr/include/x86_64-linux-gnu/bits/select2.h \ + /usr/include/x86_64-linux-gnu/sys/sysmacros.h \ + /usr/include/x86_64-linux-gnu/bits/pthreadtypes.h /usr/include/alloca.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib-float.h \ + /usr/include/x86_64-linux-gnu/bits/stdlib.h /usr/include/stdio.h \ + /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \ + /usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h \ + /usr/include/x86_64-linux-gnu/bits/stdio_lim.h \ + /usr/include/x86_64-linux-gnu/bits/sys_errlist.h \ + /usr/include/x86_64-linux-gnu/bits/stdio.h \ + /usr/include/x86_64-linux-gnu/bits/stdio2.h \ + /home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h \ + /usr/include/inttypes.h /usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h \ + /usr/include/stdint.h /usr/include/x86_64-linux-gnu/bits/wchar.h \ + ../../modules/output_stream/includes/sciprint.h \ + ../../modules/core/includes/BOOL.h ../../modules/core/includes/MALLOC.h \ + ../../modules/core/includes/sci_mem_alloc.h + +/usr/include/stdc-predef.h: + +/usr/include/string.h: + +/usr/include/features.h: + +/usr/include/x86_64-linux-gnu/sys/cdefs.h: + +/usr/include/x86_64-linux-gnu/bits/wordsize.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs.h: + +/usr/include/x86_64-linux-gnu/gnu/stubs-64.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h: + +/usr/include/xlocale.h: + +/usr/include/x86_64-linux-gnu/bits/string.h: + +/usr/include/x86_64-linux-gnu/bits/string2.h: + +/usr/include/endian.h: + +/usr/include/x86_64-linux-gnu/bits/endian.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap.h: + +/usr/include/x86_64-linux-gnu/bits/types.h: + +/usr/include/x86_64-linux-gnu/bits/typesizes.h: + +/usr/include/x86_64-linux-gnu/bits/byteswap-16.h: + +/usr/include/stdlib.h: + +/usr/include/x86_64-linux-gnu/bits/string3.h: + +src/c/matfile_manager.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio.h: + +/usr/include/x86_64-linux-gnu/bits/waitflags.h: + +/usr/include/x86_64-linux-gnu/bits/waitstatus.h: + +/usr/include/x86_64-linux-gnu/sys/types.h: + +/usr/include/time.h: + +/usr/include/x86_64-linux-gnu/sys/select.h: + +/usr/include/x86_64-linux-gnu/bits/select.h: + +/usr/include/x86_64-linux-gnu/bits/sigset.h: + +/usr/include/x86_64-linux-gnu/bits/time.h: + +/usr/include/x86_64-linux-gnu/bits/select2.h: + +/usr/include/x86_64-linux-gnu/sys/sysmacros.h: + +/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h: + +/usr/include/alloca.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib-float.h: + +/usr/include/x86_64-linux-gnu/bits/stdlib.h: + +/usr/include/stdio.h: + +/usr/include/libio.h: + +/usr/include/_G_config.h: + +/usr/include/wchar.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h: + +/usr/include/x86_64-linux-gnu/bits/stdio_lim.h: + +/usr/include/x86_64-linux-gnu/bits/sys_errlist.h: + +/usr/include/x86_64-linux-gnu/bits/stdio.h: + +/usr/include/x86_64-linux-gnu/bits/stdio2.h: + +/home/shashank/scilab-master_5.5.2/usr/include/matio_pubconf.h: + +/usr/include/inttypes.h: + +/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h: + +/usr/include/stdint.h: + +/usr/include/x86_64-linux-gnu/bits/wchar.h: + +../../modules/output_stream/includes/sciprint.h: + +../../modules/core/includes/BOOL.h: + +../../modules/core/includes/MALLOC.h: + +../../modules/core/includes/sci_mem_alloc.h: diff --git a/modules/matio/src/c/.dirstamp b/modules/matio/src/c/.dirstamp new file mode 100755 index 000000000..e69de29bb --- /dev/null +++ b/modules/matio/src/c/.dirstamp diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateBooleanVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateBooleanVariable.o Binary files differnew file mode 100755 index 000000000..424a46796 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateBooleanVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateCellVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateCellVariable.o Binary files differnew file mode 100755 index 000000000..61610ce82 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateCellVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateCharVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateCharVariable.o Binary files differnew file mode 100755 index 000000000..2ba1a67d7 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateCharVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateDoubleVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateDoubleVariable.o Binary files differnew file mode 100755 index 000000000..1fce8c510 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateDoubleVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateHyperMatrixVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateHyperMatrixVariable.o Binary files differnew file mode 100755 index 000000000..fdf6e29c5 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateHyperMatrixVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateIntegerVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateIntegerVariable.o Binary files differnew file mode 100755 index 000000000..32fb842f7 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateIntegerVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateMatlabVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateMatlabVariable.o Binary files differnew file mode 100755 index 000000000..d3bfbbaec --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateMatlabVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateSparseVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateSparseVariable.o Binary files differnew file mode 100755 index 000000000..690f601c8 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateSparseVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-CreateStructVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateStructVariable.o Binary files differnew file mode 100755 index 000000000..28a35ec81 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-CreateStructVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetCellVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetCellVariable.o Binary files differnew file mode 100755 index 000000000..d8566752d --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetCellVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetCharVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetCharVariable.o Binary files differnew file mode 100755 index 000000000..283c452fb --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetCharVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetDoubleVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetDoubleVariable.o Binary files differnew file mode 100755 index 000000000..24a7de233 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetDoubleVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetIntegerVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetIntegerVariable.o Binary files differnew file mode 100755 index 000000000..3b8c47a81 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetIntegerVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetMatlabVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetMatlabVariable.o Binary files differnew file mode 100755 index 000000000..b06d26d84 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetMatlabVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetMlistVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetMlistVariable.o Binary files differnew file mode 100755 index 000000000..8ae704b73 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetMlistVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetSparseVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetSparseVariable.o Binary files differnew file mode 100755 index 000000000..79514d34e --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetSparseVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-GetStructVariable.o b/modules/matio/src/c/.libs/libscimatio_algo_la-GetStructVariable.o Binary files differnew file mode 100755 index 000000000..a80a8b031 --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-GetStructVariable.o diff --git a/modules/matio/src/c/.libs/libscimatio_algo_la-matfile_manager.o b/modules/matio/src/c/.libs/libscimatio_algo_la-matfile_manager.o Binary files differnew file mode 100755 index 000000000..7d605aeed --- /dev/null +++ b/modules/matio/src/c/.libs/libscimatio_algo_la-matfile_manager.o diff --git a/modules/matio/src/c/CreateBooleanVariable.c b/modules/matio/src/c/CreateBooleanVariable.c new file mode 100755 index 000000000..d5c220613 --- /dev/null +++ b/modules/matio/src/c/CreateBooleanVariable.c @@ -0,0 +1,124 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2010 - DIGITEO - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "api_scilab.h" +#include "CreateMatlabVariable.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + +int CreateBooleanVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position) +{ + int nbRow = 0, nbCol = 0; + int *piDims = NULL; + int * intPtr = NULL; + double * dblPtr = NULL; + int K = 0; + SciErr sciErr; + + if (matVariable->rank == 2) /* 2-D array */ + { + nbRow = (int)matVariable->dims[0]; + nbCol = (int)matVariable->dims[1]; + + if (nbRow * nbCol != 0) + { + if ((intPtr = (int*) MALLOC(sizeof(int) * nbRow * nbCol)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateBooleanVariable"); + return FALSE; + } + + for (K = 0; K < nbRow * nbCol; K++) + { + intPtr[K] = ((unsigned char*)matVariable->data)[K]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfBoolean(pvApiCtx, iVar, nbRow, nbCol, intPtr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createMatrixOfBooleanInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, intPtr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + FREE(intPtr); + } + else + { + if ((dblPtr = (double *)MALLOC(sizeof(double) * nbRow * nbCol)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateBooleanVariable"); + return FALSE; + } + + for (K = 0; K < nbRow * nbCol; K++) + { + dblPtr[K] = ((unsigned char*)matVariable->data)[K]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfDouble(pvApiCtx, iVar, nbRow, nbCol, dblPtr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createMatrixOfDoubleInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, dblPtr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + FREE(dblPtr); + } + } + else /* Multi-dimension array -> Scilab HyperMatrix */ + { + piDims = (int*) MALLOC(matVariable->rank * sizeof(int)); + if (piDims == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateBooleanVariable"); + return FALSE; + } + for (K = 0; K < matVariable->rank; K++) + { + piDims[K] = (int)matVariable->dims[K]; + } + + CreateHyperMatrixVariable(pvApiCtx, iVar, MATRIX_OF_BOOLEAN_DATATYPE, NULL, &matVariable->rank, piDims, (double*)matVariable->data, NULL, parent, item_position); + + FREE(piDims); + } + + return TRUE; +} + diff --git a/modules/matio/src/c/CreateCellVariable.c b/modules/matio/src/c/CreateCellVariable.c new file mode 100755 index 000000000..41e928fe8 --- /dev/null +++ b/modules/matio/src/c/CreateCellVariable.c @@ -0,0 +1,126 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "CreateMatlabVariable.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + +int CreateCellVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position) +{ + static const char *fieldNames[] = {"ce", "dims", "entries"}; + int nbFields = 3; + int K = 0; + int prodDims = 0; + int valueIndex = 0, type; + int * cell_addr = NULL; + int * cell_entry_addr = NULL; + matvar_t ** allData = NULL; + SciErr sciErr; + + int *piDims = NULL; + int i = 0; + + /* Returned mlist initialization */ + if (parent == NULL) + { + sciErr = createMList(pvApiCtx, iVar, nbFields, &cell_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createMListInList(pvApiCtx, iVar, parent, item_position, nbFields, &cell_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + /* FIRST LIST ENTRY: fieldnames */ + sciErr = createMatrixOfStringInList(pvApiCtx, iVar, cell_addr, 1, 1, nbFields, (const char **)fieldNames); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + piDims = (int *) MALLOC(matVariable->rank * sizeof(int)); + for (i = 0 ; i < matVariable->rank ; ++i) + { + piDims[i] = (int)matVariable->dims[i]; // Copy dims to make size_t values fit int + } + + /* SECOND LIST ENTRY: Dimensions (int32 type) */ + if (matVariable->rank == 2) /* Two dimensions */ + { + sciErr = createMatrixOfInteger32InList(pvApiCtx, iVar, cell_addr, 2, 1, matVariable->rank, piDims); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else /* 3 or more dimensions -> Scilab HyperMatrix */ + { + type = I_INT32; + CreateHyperMatrixVariable(pvApiCtx, iVar, MATRIX_OF_VARIABLE_SIZE_INTEGER_DATATYPE, + &type, &matVariable->rank, piDims, (double*)matVariable->data, + NULL, cell_addr, 2); + } + + FREE(piDims); + + /* ALL OTHER ENTRIES: Fields data */ + prodDims = 1; + for (K = 0; K < matVariable->rank; K++) + { + prodDims *= (int)matVariable->dims[K]; + } + + allData = (matvar_t**) (matVariable->data); + + if (prodDims == 1) /* Scalar cell */ + { + /* Create list entry in the stack */ + if (!CreateMatlabVariable(pvApiCtx, iVar, allData[0], cell_addr, 3)) /* Could not Create Variable */ + { + sciprint("Do not know how to read a variable of class %d.\n", allData[0]->class_type); + } + } + else + { + sciErr = createListInList(pvApiCtx, iVar, cell_addr, 3, prodDims, &cell_entry_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + for (valueIndex = 0; valueIndex < prodDims; valueIndex++) + { + /* Create list entry in the stack */ + if (!CreateMatlabVariable(pvApiCtx, iVar, allData[valueIndex], cell_entry_addr, valueIndex + 1)) /* Could not Create Variable */ + { + sciprint("Do not know how to read a variable of class %d.\n", allData[valueIndex]->class_type); + } + } + } + + return TRUE; +} diff --git a/modules/matio/src/c/CreateCharVariable.c b/modules/matio/src/c/CreateCharVariable.c new file mode 100755 index 000000000..8e669b8c4 --- /dev/null +++ b/modules/matio/src/c/CreateCharVariable.c @@ -0,0 +1,117 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ +#include <string.h> + +#include "api_scilab.h" +#include "CreateMatlabVariable.h" +#include "freeArrayOfString.h" +#ifdef _MSC_VER +#include "strdup_windows.h" +#endif +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" + +int CreateCharVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position) +{ + int nbRow = 0, nbCol = 0; + char **charData = NULL; + int K = 0, L = 0; + SciErr sciErr; + + if (matVariable->rank == 2) /* 2-D array */ + { + nbRow = (int)matVariable->dims[0]; + nbCol = nbRow == 0 ? 0 : 1; /* In Scilab empty string has size 0x0 */ + + if (nbRow != 0) + { + charData = (char**) MALLOC(sizeof(char*) * nbRow); + if (charData == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateCharVariable"); + return FALSE; + } + } + + for (K = 0; K < nbRow; K++) + { + charData[K] = (char*) MALLOC(sizeof(char*) * (matVariable->dims[1] + 1)); + if (charData[K] == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateCharVariable"); + return FALSE; + } + } + + /* Fill items: data in Matlab file is stored columnwise */ + for (K = 0; K < (int)matVariable->dims[0]; K++) /* Loop over items */ + { + for (L = 0; L < (int)matVariable->dims[1]; L++) /* Loop over chars */ + { + charData[K][L] = ((char *)matVariable->data)[L * matVariable->dims[0] + K]; + } + charData[K][L] = '\0'; + } + + if (nbRow * nbCol != 0) + { + if (parent == NULL) + { + sciErr = createMatrixOfString(pvApiCtx, iVar, nbRow, nbCol, charData); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createMatrixOfStringInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, charData); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + } + else /* Empty character string */ + { + if (parent == NULL) + { + createSingleString(pvApiCtx, iVar, "\0"); + } + else + { + char ** tmp_char = (char **)MALLOC(sizeof(char *)); + tmp_char[0] = strdup("\0"); + sciErr = createMatrixOfStringInList(pvApiCtx, iVar, parent, item_position, 1, 1, tmp_char); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + freeArrayOfString(tmp_char, 1); + } + } + + freeArrayOfString(charData, nbRow * nbCol); + } + else /* Multi-dimension array -> Scilab HyperMatrix */ + { + Scierror(999, _("%s: N-D arrays of chars not implemented.\n"), "CreateCharVariable"); + return FALSE; + } + + return TRUE; +} diff --git a/modules/matio/src/c/CreateDoubleVariable.c b/modules/matio/src/c/CreateDoubleVariable.c new file mode 100755 index 000000000..2128923d0 --- /dev/null +++ b/modules/matio/src/c/CreateDoubleVariable.c @@ -0,0 +1,89 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "CreateMatlabVariable.h" +#include "api_scilab.h" +#include "MALLOC.h" + +int CreateDoubleVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position) +{ + int nbRow = 0, nbCol = 0; + mat_complex_split_t *mat5ComplexData = NULL; + SciErr sciErr; + int *piDims = NULL; + int i = 0; + + if (matVariable->rank == 2) /* 2-D array */ + { + nbRow = (int)matVariable->dims[0]; + nbCol = (int)matVariable->dims[1]; + if (matVariable->isComplex == 0) + { + if (parent == NULL) + { + sciErr = createMatrixOfDouble(pvApiCtx, iVar, nbRow, nbCol, (double*)matVariable->data); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createMatrixOfDoubleInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, (double*)matVariable->data); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + } + else + { + /* Since MATIO 1.3.2 data is a ComplexSplit for MAT4 and MAT5 formats */ + mat5ComplexData = matVariable->data; + if (parent == NULL) + { + sciErr = createComplexMatrixOfDouble(pvApiCtx, iVar, nbRow, nbCol, (double*)mat5ComplexData->Re, (double*)mat5ComplexData->Im); + } + else + { + sciErr = createComplexMatrixOfDoubleInList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, + (double*)mat5ComplexData->Re, (double*)mat5ComplexData->Im); + } + } + } + else /* Multi-dimension array -> Scilab HyperMatrix */ + { + piDims = (int *) MALLOC(matVariable->rank * sizeof(int)); + for (i = 0 ; i < matVariable->rank ; ++i) + { + piDims[i] = (int)matVariable->dims[i]; + } + + if (matVariable->isComplex == 0) + { + CreateHyperMatrixVariable(pvApiCtx, iVar, MATRIX_OF_DOUBLE_DATATYPE, &matVariable->isComplex, &matVariable->rank, + piDims, (double*)matVariable->data, NULL, parent, item_position); + } + else + { + mat5ComplexData = (mat_complex_split_t*)matVariable->data; + CreateHyperMatrixVariable(pvApiCtx, iVar, MATRIX_OF_DOUBLE_DATATYPE, &matVariable->isComplex, &matVariable->rank, + piDims, (double*)mat5ComplexData->Re, (double*)mat5ComplexData->Im, parent, item_position); + } + + FREE(piDims); + } + return TRUE; +} diff --git a/modules/matio/src/c/CreateHyperMatrixVariable.c b/modules/matio/src/c/CreateHyperMatrixVariable.c new file mode 100755 index 000000000..0d7ac79da --- /dev/null +++ b/modules/matio/src/c/CreateHyperMatrixVariable.c @@ -0,0 +1,290 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "CreateMatlabVariable.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + + +int CreateHyperMatrixVariable(void *pvApiCtx, int iVar, const char *type, int *iscomplex, int * rank, int *dims, double *realdata, double *complexdata, int * parent, int item_position) +{ + static const char *tlistFields[] = {"hm", "dims", "entries"}; + int nbRow = 0, nbCol = 0; + int K = 0, i; + int * hm_addr = NULL; + SciErr sciErr; + + /* Used for integer hypermatrices */ + char * tmp_int8 = NULL; + short * tmp_int16 = NULL; + int * tmp_int32 = NULL; + unsigned char * tmp_uint8 = NULL; + unsigned short * tmp_uint16 = NULL; + unsigned int * tmp_uint32 = NULL; +#ifdef __SCILAB_INT64__ + long long * tmp_int64 = NULL; + unsigned long long * tmp_uint64 = NULL; +#endif + + if (parent == NULL) + { + sciErr = createMList(pvApiCtx, iVar, 3, &hm_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return FALSE; + } + } + else + { + sciErr = createMListInList(pvApiCtx, iVar, parent, item_position, 3, &hm_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return FALSE; + } + } + + /* mlist fields */ + nbRow = 1; + nbCol = 3; + sciErr = createMatrixOfStringInList(pvApiCtx, iVar, hm_addr, 1, nbRow, nbCol, (const char **)tlistFields); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return FALSE; + } + + /* hm dimensions */ + sciErr = createMatrixOfInteger32InList(pvApiCtx, iVar, hm_addr, 2, 1, *rank, dims); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return FALSE; + } + + /* hm entries */ + nbRow = 1; + nbCol = 1; + for (K = 0; K < *rank; K++) + { + nbRow *= dims[K]; + } + + if (strcmp(type, MATRIX_OF_VARIABLE_SIZE_INTEGER_DATATYPE) == 0) + { + switch (*iscomplex) + { + case I_CHAR: + tmp_int8 = (char *)MALLOC(nbRow * nbCol * sizeof(char)); + if (tmp_int8 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int8[i] = ((char *)realdata)[i]; + } + sciErr = createMatrixOfInteger8InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_int8); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_int8); + return FALSE; + } + FREE(tmp_int8); + break; + case I_INT16: + tmp_int16 = (short *)MALLOC(nbRow * nbCol * sizeof(short)); + if (tmp_int16 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int16[i] = ((short *)realdata)[i]; + } + sciErr = createMatrixOfInteger16InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_int16); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_int16); + return FALSE; + } + + FREE(tmp_int16); + break; + case I_INT32: + tmp_int32 = (int *)MALLOC(nbRow * nbCol * sizeof(int)); + if (tmp_int32 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int32[i] = ((int *)realdata)[i]; + } + sciErr = createMatrixOfInteger32InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_int32); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_int32); + return FALSE; + } + FREE(tmp_int32); + break; +#ifdef __SCILAB_INT64__ + case I_INT64: + tmp_int64 = (long long *)MALLOC(nbRow * nbCol * sizeof(long long)); + if (tmp_int64 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int64[i] = ((long long *)realdata)[i]; + } + qciErr = createMatrixOfInteger64InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_int64); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_int64); + return FALSE; + } + FREE(tmp_int64); + break; +#endif + case I_UCHAR: + tmp_uint8 = (unsigned char *)MALLOC(nbRow * nbCol * sizeof(unsigned char)); + if (tmp_uint8 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint8[i] = ((unsigned char *)realdata)[i]; + } + sciErr = createMatrixOfUnsignedInteger8InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_uint8); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_uint8); + return FALSE; + } + FREE(tmp_uint8); + break; + case I_UINT16: + tmp_uint16 = (unsigned short *)MALLOC(nbRow * nbCol * sizeof(unsigned short)); + if (tmp_uint16 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint16[i] = ((unsigned short *)realdata)[i]; + } + sciErr = createMatrixOfUnsignedInteger16InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_uint16); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_uint16); + return FALSE; + } + FREE(tmp_uint16); + break; + case I_UINT32: + tmp_uint32 = (unsigned int *)MALLOC(nbRow * nbCol * sizeof(unsigned int)); + if (tmp_uint32 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint32[i] = ((unsigned int *)realdata)[i]; + } + sciErr = createMatrixOfUnsignedInteger32InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_uint32); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_uint32); + return FALSE; + } + FREE(tmp_uint32); + break; +#ifdef __SCILAB_INT64__ + case I_UINT64: + tmp_uint64 = (unsigned long long *)MALLOC(nbRow * nbCol * sizeof(unsigned long long)); + if (tmp_uint64 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateHyperMatrixVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint64[i] = ((unsigned long long *)realdata)[i]; + } + sciErr = createMatrixOfUnsignedInteger64InList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, tmp_uint64); + if (sciErr.iErr) + { + printError(&sciErr, 0); + FREE(tmp_uint64); + return FALSE; + } + FREE(tmp_uint64); + break; +#endif + } + } + else if (strcmp(type, MATRIX_OF_BOOLEAN_DATATYPE) == 0) + { + sciErr = createMatrixOfDoubleInList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, realdata); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return FALSE; + } + } + else + { + if (*iscomplex == 0) + { + sciErr = createMatrixOfDoubleInList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, realdata); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return FALSE; + } + } + else + { + sciErr = createComplexMatrixOfDoubleInList(pvApiCtx, iVar, hm_addr, 3, nbRow, nbCol, realdata, complexdata); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return FALSE; + } + } + } + + return TRUE; +} diff --git a/modules/matio/src/c/CreateIntegerVariable.c b/modules/matio/src/c/CreateIntegerVariable.c new file mode 100755 index 000000000..d01965888 --- /dev/null +++ b/modules/matio/src/c/CreateIntegerVariable.c @@ -0,0 +1,303 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "CreateMatlabVariable.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + +int CreateIntegerVariable(void *pvApiCtx, int iVar, int integerType, matvar_t *matVariable, int * parent, int item_position) +{ + int nbRow, nbCol, i; + SciErr sciErr; + char * tmp_int8 = NULL; + short * tmp_int16 = NULL; + int * tmp_int32 = NULL; + int *piDims = NULL; + unsigned char * tmp_uint8 = NULL; + unsigned short * tmp_uint16 = NULL; + unsigned int * tmp_uint32 = NULL; +#ifdef __SCILAB_INT64__ + long long * tmp_int64 = NULL; + unsigned long long * tmp_uint64 = NULL; +#endif + + // Matrix dimensions + nbRow = (int)matVariable->dims[0]; + nbCol = (int)matVariable->dims[1]; + + if (matVariable->rank == 2) /* 2-D array */ + { + switch (integerType) + { + case I_CHAR: + tmp_int8 = (char *)MALLOC(nbRow * nbCol * sizeof(char)); + if (tmp_int8 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int8[i] = ((char *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfInteger8(pvApiCtx, iVar, nbRow, nbCol, tmp_int8); + } + else + { + sciErr = createMatrixOfInteger8InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_int8); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_int8); + break; + case I_INT16: + tmp_int16 = (short *)MALLOC(nbRow * nbCol * sizeof(short)); + if (tmp_int16 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int16[i] = ((short *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfInteger16(pvApiCtx, iVar, nbRow, nbCol, tmp_int16); + } + else + { + sciErr = createMatrixOfInteger16InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_int16); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_int16); + break; + case I_INT32: + tmp_int32 = (int *)MALLOC(nbRow * nbCol * sizeof(int)); + if (tmp_int32 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int32[i] = ((int *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfInteger32(pvApiCtx, iVar, nbRow, nbCol, tmp_int32); + } + else + { + sciErr = createMatrixOfInteger32InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_int32); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_int32); + break; +#ifdef __SCILAB_INT64__ + case I_INT64: + tmp_int64 = (long long *)MALLOC(nbRow * nbCol * sizeof(long long)); + if (tmp_int64 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_int64[i] = ((long long *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfInteger64(pvApiCtx, iVar, nbRow, nbCol, tmp_int64); + } + else + { + sciErr = createMatrixOfInteger64InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_int64); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_int64); + break; +#endif + case I_UCHAR: + tmp_uint8 = (unsigned char *)MALLOC(nbRow * nbCol * sizeof(unsigned char)); + if (tmp_uint8 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint8[i] = ((unsigned char *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfUnsignedInteger8(pvApiCtx, iVar, nbRow, nbCol, tmp_uint8); + } + else + { + sciErr = createMatrixOfUnsignedInteger8InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_uint8); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_uint8); + break; + case I_UINT16: + tmp_uint16 = (unsigned short *)MALLOC(nbRow * nbCol * sizeof(unsigned short)); + if (tmp_uint16 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint16[i] = ((unsigned short *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfUnsignedInteger16(pvApiCtx, iVar, nbRow, nbCol, tmp_uint16); + } + else + { + sciErr = createMatrixOfUnsignedInteger16InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_uint16); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_uint16); + break; + case I_UINT32: + tmp_uint32 = (unsigned int *)MALLOC(nbRow * nbCol * sizeof(unsigned int)); + if (tmp_uint32 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint32[i] = ((unsigned int *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfUnsignedInteger32(pvApiCtx, iVar, nbRow, nbCol, tmp_uint32); + } + else + { + sciErr = createMatrixOfUnsignedInteger32InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_uint32); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_uint32); + break; +#ifdef __SCILAB_INT64__ + case I_UINT64: + tmp_uint64 = (unsigned long long *)MALLOC(nbRow * nbCol * sizeof(unsigned long long)); + if (tmp_uint64 == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateIntegerVariable"); + return FALSE; + } + for (i = 0; i < nbRow * nbCol; i++) + { + tmp_uint64[i] = ((unsigned long long *)matVariable->data)[i]; + } + + if (parent == NULL) + { + sciErr = createMatrixOfUnsignedInteger64(pvApiCtx, iVar, nbRow, nbCol, tmp_uint64); + } + else + { + sciErr = createMatrixOfUnsignedInteger64InList(pvApiCtx, iVar, parent, item_position, nbRow, nbCol, tmp_uint64); + } + + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + FREE(tmp_uint64); + break; +#endif + } + } + else /* Multi-dimension array -> Scilab HyperMatrix */ + { + piDims = (int*) MALLOC(matVariable->rank * sizeof(int)); + if (piDims == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateBooleanVariable"); + return FALSE; + } + for (i = 0; i < matVariable->rank; i++) + { + piDims[i] = (int)matVariable->dims[i]; + } + + CreateHyperMatrixVariable(pvApiCtx, iVar, MATRIX_OF_VARIABLE_SIZE_INTEGER_DATATYPE, &integerType, &matVariable->rank, + piDims, (double*)matVariable->data, NULL, parent, item_position); + + FREE(piDims); + } + + return TRUE; +} diff --git a/modules/matio/src/c/CreateMatlabVariable.c b/modules/matio/src/c/CreateMatlabVariable.c new file mode 100755 index 000000000..15977f965 --- /dev/null +++ b/modules/matio/src/c/CreateMatlabVariable.c @@ -0,0 +1,90 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "CreateMatlabVariable.h" +#include "api_scilab.h" + +int CreateMatlabVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position) +{ + SciErr sciErr; + + /* To be sure isComplex is 0 or 1 */ + matVariable->isComplex = matVariable->isComplex != 0; + + switch (matVariable->class_type) + { + case MAT_C_CELL: /* 1 */ + CreateCellVariable(pvApiCtx, iVar, matVariable, parent, item_position); + break; + case MAT_C_STRUCT: /* 2 */ + CreateStructVariable(pvApiCtx, iVar, matVariable, parent, item_position); + break; + case MAT_C_CHAR: /* 4 */ + CreateCharVariable(pvApiCtx, iVar, matVariable, parent, item_position); + break; + case MAT_C_SPARSE: /* 5 */ + CreateSparseVariable(pvApiCtx, iVar, matVariable, parent, item_position); + break; + case MAT_C_DOUBLE: /* 6 */ + case MAT_C_SINGLE: /* 7 */ + CreateDoubleVariable(pvApiCtx, iVar, matVariable, parent, item_position); + break; + case MAT_C_INT8: /* 8 */ + CreateIntegerVariable(pvApiCtx, iVar, I_CHAR, matVariable, parent, item_position); + break; + case MAT_C_UINT8: /* 9 */ + if (matVariable->isLogical != 0) + { + CreateBooleanVariable(pvApiCtx, iVar, matVariable, parent, item_position); + } + else + { + CreateIntegerVariable(pvApiCtx, iVar, I_UCHAR, matVariable, parent, item_position); + } + break; + case MAT_C_INT16: /* 10 */ + CreateIntegerVariable(pvApiCtx, iVar, I_INT16, matVariable, parent, item_position); + break; + case MAT_C_UINT16: /* 11 */ + CreateIntegerVariable(pvApiCtx, iVar, I_UINT16, matVariable, parent, item_position); + break; + case MAT_C_INT32: /* 12 */ + CreateIntegerVariable(pvApiCtx, iVar, I_INT32, matVariable, parent, item_position); + break; + case MAT_C_UINT32: /* 13 */ + CreateIntegerVariable(pvApiCtx, iVar, I_UINT32, matVariable, parent, item_position); + break; + case MAT_C_OBJECT: /* 3 to be written */ + case MAT_C_INT64: /* 14: no Scilab equivalent */ + case MAT_C_UINT64: /* 15: no Scilab equivalent */ + case MAT_C_FUNCTION: /* 16 to be written */ + default: + /* Empty matrix returned */ + if (parent == NULL) + { + createEmptyMatrix(pvApiCtx, iVar); + } + else + { + sciErr = createMatrixOfDoubleInList(pvApiCtx, iVar, parent, item_position, 0, 0, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + return FALSE; + } + + return TRUE; +} diff --git a/modules/matio/src/c/CreateMatlabVariable.h b/modules/matio/src/c/CreateMatlabVariable.h new file mode 100755 index 000000000..39e2a5c6d --- /dev/null +++ b/modules/matio/src/c/CreateMatlabVariable.h @@ -0,0 +1,145 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifndef __CREATEMATLABVARIABLE_H__ +#define __CREATEMATLABVARIABLE_H__ + +#include "matfile_manager.h" + +/* + * Create a Scilab variable on stack from a Matlab variable + * This function write nothing on stack but calls the function which + * does the work according to Matlab Variable type + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateMatlabVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position); + + +/* + * Create a Scilab Integer variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param integerType Scilab int type (See stack-c.h) + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateIntegerVariable(void *pvApiCtx, int iVar, int integerType, matvar_t *matVariable, int * parent, int item_position); + +/* + * Create a Scilab HyperMatrix variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param type contents data type + * @param iscomplex TRUE if the variable is Complex + * @param rank number of dimensions of the variable + * @param dims variable dimensions + * @param realdata pointer to real data + * @param complexdata pointer to complex data + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateHyperMatrixVariable(void *pvApiCtx, int iVar, const char *type, int *iscomplex, int * rank, int *dims, double *realdata, double *complexdata, int * parent, int item_position); + +/* + * Create a Scilab Struct variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateStructVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position); + +/* + * Create a Scilab Cell variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateCellVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position); + +/* + * Create a Scilab Char variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateCharVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position); + +/* + * Create a Scilab Sparse variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateSparseVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position); + +/* + * Create a Scilab Double variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateDoubleVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position); + +/* + * Create a Scilab Boolean variable on stack from a Matlab variable + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param matVariable Matlab variable (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @param item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return TRUE if the variable has been written without problem + */ +int CreateBooleanVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position); + +#endif /* !__CREATEMATLABVARIABLE_H__ */ diff --git a/modules/matio/src/c/CreateSparseVariable.c b/modules/matio/src/c/CreateSparseVariable.c new file mode 100755 index 000000000..f64f28cd5 --- /dev/null +++ b/modules/matio/src/c/CreateSparseVariable.c @@ -0,0 +1,257 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "CreateMatlabVariable.h" +#include "stack-c.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + +/* Defined in SCI/modules/sparse/src/fortran/spt.f */ +extern int C2F(spt)(int *m, int *n, int *nel, int *it, int *workArray, + double *A_R, double *A_I, int *A_mnel, int *A_icol, + double *At_R, double *At_I, int *At_mnel, int *At_icol); + +int CreateSparseVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position) +{ + int K = 0; + mat_sparse_t *sparseData = NULL; + SciSparse *scilabSparse = NULL; + SciSparse *scilabSparseT = NULL; /* Transpose */ + int *colIndexes = NULL; + int *rowIndexes = NULL; + int *workArray = NULL; + struct mat_complex_split_t *complexData = NULL; + SciErr sciErr; + + sparseData = (mat_sparse_t*) matVariable->data; + + scilabSparse = (SciSparse*) MALLOC(sizeof(SciSparse)); + if (scilabSparse == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + + /* Computes column indexes from Matlab indexes */ + if (sparseData->njc > 1) + { + colIndexes = (int*) MALLOC(sizeof(int) * (sparseData->njc - 1)); + if (colIndexes == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + + for (K = 0; K < sparseData->njc - 1; K++) + { + colIndexes[K] = sparseData->jc[K + 1] - sparseData->jc[K]; + } + } + + /* Computes row indexes from Matlab indexes */ + rowIndexes = (int*) MALLOC(sizeof(int) * sparseData->nir); + if (rowIndexes == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + + for (K = 0; K < sparseData->nir; K++) + { + rowIndexes[K] = sparseData->ir[K] + 1; + } + + /* Create sparse matrix to be transposed */ + scilabSparse->m = (int)matVariable->dims[1]; + scilabSparse->n = (int)matVariable->dims[0]; + scilabSparse->it = matVariable->isComplex; + scilabSparse->nel = sparseData->ndata; + scilabSparse->mnel = colIndexes; + scilabSparse->icol = rowIndexes; + + if (scilabSparse->it == 0) + { + scilabSparse->R = (double*) sparseData->data; + scilabSparse->I = NULL; + } + else + { + complexData = (struct mat_complex_split_t *) sparseData->data; + scilabSparse->R = (double *) complexData->Re; + scilabSparse->I = (double *) complexData->Im; + } + + /* Create transpose */ + scilabSparseT = (SciSparse*) MALLOC(sizeof(SciSparse)); + if (scilabSparseT == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + + scilabSparseT->m = scilabSparse->n; + scilabSparseT->n = scilabSparse->m; + scilabSparseT->it = scilabSparse->it; + scilabSparseT->nel = scilabSparse->nel; + + if (scilabSparseT->m == 0) + { + workArray = (int*) MALLOC(sizeof(int)); + } + else + { + workArray = (int*) MALLOC(sizeof(int) * scilabSparseT->m); + } + + if (workArray == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + + if (scilabSparseT->m != 0) + { + scilabSparseT->mnel = (int*) MALLOC(sizeof(int) * scilabSparseT->m); + if (scilabSparseT->mnel == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + } + + if (scilabSparseT->nel != 0) + { + scilabSparseT->icol = (int*) MALLOC(sizeof(int) * scilabSparseT->nel); + if (scilabSparseT->icol == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + } + + if (scilabSparseT->nel != 0) + { + scilabSparseT->R = (double*) MALLOC(sizeof(double) * scilabSparseT->nel); + if (scilabSparseT->R == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + } + + if (scilabSparseT->it) + { + scilabSparseT->I = (double*) MALLOC(sizeof(double) * scilabSparseT->nel); + if (scilabSparseT->I == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateSparseVariable"); + return FALSE; + } + } + + C2F(spt)(&scilabSparse->m, &scilabSparse->n, &scilabSparse->nel, &scilabSparse->it, workArray, + scilabSparse->R, scilabSparse->I, scilabSparse->mnel, scilabSparse->icol, + scilabSparseT->R, scilabSparseT->I, scilabSparseT->mnel, scilabSparseT->icol); + + if (scilabSparse->it) + { + if (parent == NULL) + { + sciErr = createComplexSparseMatrix(pvApiCtx, iVar, scilabSparse->m, scilabSparse->n, scilabSparse->nel, + scilabSparseT->mnel, scilabSparseT->icol, scilabSparseT->R, scilabSparseT->I); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createComplexSparseMatrixInList(pvApiCtx, iVar, parent, item_position, + scilabSparse->m, scilabSparse->n, scilabSparse->nel, + scilabSparseT->mnel, scilabSparseT->icol, scilabSparseT->R, scilabSparseT->I); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + } + else + { + if (parent == NULL) + { + sciErr = createSparseMatrix(pvApiCtx, iVar, scilabSparseT->m, scilabSparseT->n, scilabSparseT->nel, + scilabSparseT->mnel, scilabSparseT->icol, scilabSparseT->R); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createSparseMatrixInList(pvApiCtx, iVar, parent, item_position, + scilabSparseT->m, scilabSparseT->n, scilabSparseT->nel, + scilabSparseT->mnel, scilabSparseT->icol, scilabSparseT->R); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + } + + /* Free all arrays */ + if (scilabSparse != NULL) + { + FREE(scilabSparse); + } + if (colIndexes != NULL) + { + FREE(colIndexes); + } + if (rowIndexes != NULL) + { + FREE(rowIndexes); + } + if (workArray != NULL) + { + FREE(workArray); + } + if (scilabSparseT->m != 0) + { + FREE(scilabSparseT->mnel); + } + if (scilabSparseT->nel != 0) + { + FREE(scilabSparseT->icol); + } + if (scilabSparseT->nel != 0) + { + FREE(scilabSparseT->R); + } + if ((scilabSparseT->nel != 0) && (scilabSparseT->it != 0)) + { + FREE(scilabSparseT->I); + } + if (scilabSparseT != NULL) + { + FREE(scilabSparseT); + } + + return TRUE; +} diff --git a/modules/matio/src/c/CreateStructVariable.c b/modules/matio/src/c/CreateStructVariable.c new file mode 100755 index 000000000..b325def6c --- /dev/null +++ b/modules/matio/src/c/CreateStructVariable.c @@ -0,0 +1,190 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifdef _MSC_VER +#include "strdup_Windows.h" +#endif + +#include "CreateMatlabVariable.h" +#include "freeArrayOfString.h" +#include "api_scilab.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + +int CreateStructVariable(void *pvApiCtx, int iVar, matvar_t *matVariable, int * parent, int item_position) +{ + char **fieldNames = NULL; + int nbFields = 0; + int fieldIndex = 0; + int K = 0; + int prodDims = 0; + int valueIndex = 0; + matvar_t *fieldMatVar = NULL; + matvar_t ** allData = NULL; + int * cell_addr = NULL; + int * cell_entry_addr = NULL; + int type; + SciErr sciErr; + int *piDims = NULL; + int i = 0; + + /* Fields of the struct */ + nbFields = 2; /* "st" "dims" */ + nbFields += Mat_VarGetNumberOfFields(matVariable); + + fieldNames = (char**) MALLOC(sizeof(char*) * nbFields); + if (fieldNames == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateStructVariable"); + return FALSE; + } + + fieldNames[0] = strdup("st"); + if (fieldNames[0] == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateStructVariable"); + return FALSE; + } + fieldNames[1] = strdup("dims"); + if (fieldNames[1] == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateStructVariable"); + return FALSE; + } + + for (fieldIndex = 1; fieldIndex < nbFields - 1; fieldIndex++) + { + fieldMatVar = Mat_VarGetStructField(matVariable, &fieldIndex, MAT_BY_INDEX, 0); + fieldNames[fieldIndex + 1] = strdup(fieldMatVar->name); + if (fieldNames[fieldIndex + 1] == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "CreateStructVariable"); + return FALSE; + } + } + + /* Returned mlist initialization */ + if (parent == NULL) + { + sciErr = createMList(pvApiCtx, iVar, nbFields, &cell_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = createMListInList(pvApiCtx, iVar, parent, item_position, nbFields, &cell_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + /* FIRST LIST ENTRY: fieldnames */ + sciErr = createMatrixOfStringInList(pvApiCtx, iVar, cell_addr, 1, 1, nbFields, fieldNames); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + /* SECOND LIST ENTRY: Dimensions (int32 type) */ + if (nbFields == 2) /* Empty struct must have size 0x0 in Scilab */ + { + matVariable->dims[0] = 0; + matVariable->dims[1] = 0; + } + + piDims = (int *) MALLOC(matVariable->rank * sizeof(int)); + for (i = 0 ; i < matVariable->rank ; ++i) + { + piDims[i] = (int)matVariable->dims[i]; + } + + if (matVariable->rank == 2) /* Two dimensions */ + { + sciErr = createMatrixOfInteger32InList(pvApiCtx, iVar, cell_addr, 2, 1, matVariable->rank, piDims); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else /* 3 or more dimensions -> Scilab HyperMatrix */ + { + type = I_INT32; + CreateHyperMatrixVariable(pvApiCtx, iVar, MATRIX_OF_VARIABLE_SIZE_INTEGER_DATATYPE, + &type, &matVariable->rank, piDims, (double*)matVariable->data, + NULL, cell_addr, 2); + } + + FREE(piDims); + + /* ALL OTHER ENTRIES: Fields data */ + prodDims = 1; + for (K = 0; K < matVariable->rank; K++) + { + prodDims *= (int)matVariable->dims[K]; + } + + allData = (matvar_t**) (matVariable->data); + + if (prodDims == 1) /* Scalar struct */ + { + for (fieldIndex = 0; fieldIndex < nbFields - 2; fieldIndex++) + { + /* Create list entry in the stack */ + if (!CreateMatlabVariable(pvApiCtx, iVar, allData[fieldIndex], cell_addr, fieldIndex + 3)) /* Could not Create Variable */ + { + if (allData[fieldIndex]->class_type != 0) /* class is 0 for not initialized fields */ + { + sciprint("Do not know how to read a variable of class %d.\n", allData[fieldIndex]->class_type); + } + } + } + } + else + { + for (fieldIndex = 0; fieldIndex < nbFields - 2; fieldIndex++) + { + sciErr = createListInList(pvApiCtx, iVar, cell_addr, fieldIndex + 3, prodDims, &cell_entry_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + for (valueIndex = 0; valueIndex < prodDims; valueIndex++) + { + /* Create list entry in the stack */ + if (!CreateMatlabVariable(pvApiCtx, iVar, allData[(fieldIndex) + (nbFields - 2)*valueIndex], cell_entry_addr, valueIndex + 1)) /* Could not Create Variable */ + { + if (allData[(fieldIndex) + (nbFields - 2)*valueIndex]->class_type != 0) /* class is 0 for not initialized fields */ + { + sciprint("Do not know how to read a variable of class %d.\n", allData[(fieldIndex) + (nbFields - 2)*valueIndex]->class_type); + } + } + } + } + } + + freeArrayOfString(fieldNames, nbFields); + + return TRUE; +} + diff --git a/modules/matio/src/c/DllmainMatio.c b/modules/matio/src/c/DllmainMatio.c new file mode 100755 index 000000000..ce0916b4e --- /dev/null +++ b/modules/matio/src/c/DllmainMatio.c @@ -0,0 +1,34 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006 - INRIA - Allan CORNET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ +/*--------------------------------------------------------------------------*/ +#include <windows.h> +/*--------------------------------------------------------------------------*/ +#pragma comment(lib,"../../bin/libintl.lib") +#pragma comment(lib,"../../bin/libmatio.lib") +/*--------------------------------------------------------------------------*/ +int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved) +{ + switch (reason) + { + case DLL_PROCESS_ATTACH: + break; + case DLL_PROCESS_DETACH: + break; + case DLL_THREAD_ATTACH: + break; + case DLL_THREAD_DETACH: + break; + } + return 1; +} +/*--------------------------------------------------------------------------*/ + diff --git a/modules/matio/src/c/GetCellVariable.c b/modules/matio/src/c/GetCellVariable.c new file mode 100755 index 000000000..b7d5e87c7 --- /dev/null +++ b/modules/matio/src/c/GetCellVariable.c @@ -0,0 +1,117 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "GetMatlabVariable.h" +#include "sci_types.h" +#include "api_scilab.h" + +#include "freeArrayOfString.h" +#include "MALLOC.h" + +matvar_t *GetCellVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, int * parent, int item_position) +{ + int nbFields = 0; + int K = 0; + size_t *pszDims = NULL; + int prodDims = 1; + matvar_t *dimensionsVariable = NULL; + matvar_t **cellEntries = NULL; + int * var_addr = NULL; + int var_type; + SciErr sciErr; + + if ((parent == NULL) && (item_position == -1)) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else if ((parent != NULL) && (item_position == -1)) + { + var_addr = parent; + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + sciErr = getVarType(pvApiCtx, var_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + if (var_type != sci_mlist) + { + Scierror(999, _("%s: Wrong type for first input argument: Mlist expected.\n"), "GetCellVariable"); + return FALSE; + } + + sciErr = getListItemNumber(pvApiCtx, var_addr, &nbFields); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + /* FIRST LIST ENTRY: fieldnames --> NO NEED TO BE READ */ + + /* SECOND LIST ENTRY: dimensions */ + dimensionsVariable = GetMatlabVariable(pvApiCtx, iVar, "data", 0, var_addr, 2); + + /* OTHERS LIST ENTRIES: ALL CELL VALUES */ + + pszDims = (size_t*) MALLOC(dimensionsVariable->rank * sizeof(size_t)); + if (pszDims == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetCellVariable"); + return NULL; + } + + /* Total number of entries */ + for (K = 0; K < dimensionsVariable->rank; K++) + { + prodDims *= ((int*)dimensionsVariable->data)[K]; + pszDims[K] = ((int*)dimensionsVariable->data)[K]; + } + + cellEntries = (matvar_t **) MALLOC(sizeof(matvar_t*) * prodDims); + if (cellEntries == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetCellVariable"); + return NULL; + } + + if (prodDims == 1) /* Scalar cell array */ + { + cellEntries[0] = GetMatlabVariable(pvApiCtx, iVar , "data", matfile_version, var_addr, 3); + } + else + { + /* Read all entries */ + for (K = 0; K < prodDims; K++) + { + cellEntries[K] = GetMatlabVariable(pvApiCtx, iVar , "data", matfile_version, var_addr, 3 + K); + } + } + + return Mat_VarCreate(name, MAT_C_CELL, MAT_T_CELL, dimensionsVariable->rank, pszDims, cellEntries, 0); +} diff --git a/modules/matio/src/c/GetCharVariable.c b/modules/matio/src/c/GetCharVariable.c new file mode 100755 index 000000000..fd52203cc --- /dev/null +++ b/modules/matio/src/c/GetCharVariable.c @@ -0,0 +1,238 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * Copyright (C) 2010 - DIGITEO - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ +#include <string.h> +#include "GetMatlabVariable.h" +#include "api_scilab.h" +#include "sci_types.h" +#include "freeArrayOfString.h" +#ifdef _MSC_VER +#include "strdup_windows.h" +#endif +#include "MALLOC.h" +#include "localization.h" + +matvar_t *GetCharVariable(void *pvApiCtx, int iVar, const char *name, int * parent, int item_position) +{ + int rank = 0, i = 0, j = 0; + size_t *pszDims = NULL; + int *piDims = NULL; + matvar_t *createdVar = NULL; + int* piLen = NULL; + char** pstData = NULL; + char* pstMatData = NULL; + int * piAddr = NULL; + int * item_addr = NULL; + int var_type; + int saveDim = 0; /* Used to save old dimension before restoring it */ + SciErr sciErr; + + if (parent == NULL) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &piAddr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + sciErr = getVarType(pvApiCtx, piAddr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &item_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + sciErr = getVarType(pvApiCtx, item_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + } + + if (var_type == sci_strings) /* 2-D array */ + { + rank = 2; + piDims = (int*)MALLOC(sizeof(int) * rank); + if (piDims == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetCharVariable"); + return NULL; + } + + if (parent == NULL) + { + // First call to retrieve dimensions + sciErr = getMatrixOfString(pvApiCtx, piAddr, &piDims[0], &piDims[1], NULL, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + piLen = (int *)MALLOC(piDims[0] * piDims[1] * sizeof(int)); + // Second call to retrieve length of each string + sciErr = getMatrixOfString(pvApiCtx, piAddr, &piDims[0], &piDims[1], piLen, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + pstData = (char**)MALLOC(sizeof(char*) * piDims[0] * piDims[1]); + for (i = 0 ; i < piDims[0] * piDims[1] ; i++) + { + pstData[i] = (char*)MALLOC(sizeof(char) * (piLen[i] + 1)); //+ 1 for null termination + } + // Third call to retrieve data + sciErr = getMatrixOfString(pvApiCtx, piAddr, &piDims[0], &piDims[1], piLen, pstData); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + // First call to retrieve dimensions + sciErr = getMatrixOfStringInList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], NULL, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + piLen = (int *)MALLOC(piDims[0] * piDims[1] * sizeof(int)); + // Second call to retrieve length of each string + sciErr = getMatrixOfStringInList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], piLen, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + pstData = (char**)MALLOC(sizeof(char*) * piDims[0] * piDims[1]); + for (i = 0 ; i < piDims[0] * piDims[1] ; i++) + { + pstData[i] = (char*)MALLOC(sizeof(char) * (piLen[i] + 1)); //+ 1 for null termination + } + // Third call to retrieve data + sciErr = getMatrixOfStringInList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], piLen, pstData); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + } + + pszDims = (size_t*) MALLOC(rank * sizeof(size_t)); + if (pszDims == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetCharVariable"); + return NULL; + } + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + if (piDims[0] == 0) /* Empty character string */ + { + createdVar = Mat_VarCreate(name, MAT_C_CHAR, MAT_T_UINT8, rank, pszDims, pstData[0], 0); + } + else if (piDims[0]*piDims[1] == 1) /* Scalar character string */ + { + saveDim = piDims[1]; + pszDims[1] = piLen[0]; + createdVar = Mat_VarCreate(name, MAT_C_CHAR, MAT_T_UINT8, rank, pszDims, pstData[0], 0); + pszDims[1] = saveDim; + } + else /* More than one character string -> save as a Cell */ + { + if (piDims[0] == 1) + { + /* TODO: Should be saved as a cell */ + Scierror(999, _("%s: Row array of strings saving is not implemented.\n"), "GetCharVariable"); + freeArrayOfString(pstData, piDims[0]*piDims[1]); + FREE(pszDims); + FREE(piDims); + FREE(piLen); + return NULL; + } + else if (piDims[1] == 1) + { + /* Check that all strings have the same length */ + for (i = 0 ; i < piDims[0] ; i++) + { + if (piLen[0] != piLen[i]) + { + /* TODO: Should be saved as a cell */ + Scierror(999, _("%s: Column array of strings with different lengths saving is not implemented.\n"), "GetCharVariable"); + freeArrayOfString(pstData, piDims[0]*piDims[1]); + FREE(pszDims); + FREE(piDims); + FREE(piLen); + return NULL; + } + } + + /* Reorder characters */ + pstMatData = (char*)MALLOC(sizeof(char) * piDims[0] * piLen[0]); + for (i = 0 ; i < piDims[0] ; i++) + { + for (j = 0 ; j < piLen[0] ; j++) + { + pstMatData[i + j * piDims[0]] = pstData[i][j]; + } + } + + /* Save the variable */ + saveDim = piDims[1]; + pszDims[1] = piLen[0]; + createdVar = Mat_VarCreate(name, MAT_C_CHAR, MAT_T_UINT8, rank, pszDims, pstMatData, 0); + pszDims[1] = saveDim; + + freeArrayOfString(pstData, piDims[0]*piDims[1]); /* FREE now because dimensions are changed just below */ + FREE(pstMatData); + FREE(pszDims); + FREE(piDims); + FREE(piLen); + } + else + { + /* TODO: Should be saved as a cell */ + Scierror(999, _("%s: 2D array of strings saving is not implemented.\n"), "GetCharVariable"); + freeArrayOfString(pstData, piDims[0]*piDims[1]); + FREE(pszDims); + FREE(piDims); + FREE(piLen); + return NULL; + } + } + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: String matrix expected.\n"), "GetCharVariable"); + freeArrayOfString(pstData, piDims[0]*piDims[1]); + FREE(pszDims); + FREE(piDims); + FREE(piLen); + return NULL; + } + + return createdVar; +} diff --git a/modules/matio/src/c/GetDoubleVariable.c b/modules/matio/src/c/GetDoubleVariable.c new file mode 100755 index 000000000..48906091d --- /dev/null +++ b/modules/matio/src/c/GetDoubleVariable.c @@ -0,0 +1,157 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "GetMatlabVariable.h" +#include "sci_types.h" +#include "api_scilab.h" + +matvar_t * GetDoubleVariable(void *pvApiCtx, int iVar, const char* name, int matfile_version, int * parent, int item_position) +{ + double * realDataAdr = NULL, * complexDataAdr = NULL; + int i = 0; + int rank = 0; + int *piDims = NULL; + size_t *pszDims = NULL; + int isComplex = 0; + struct mat_complex_split_t mat5ComplexData; + matvar_t *createdVar = NULL; + int * var_addr = NULL; + int * item_addr = NULL; + int var_type; + SciErr sciErr; + + if (parent == NULL) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, var_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + isComplex = isVarComplex(pvApiCtx, var_addr); + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &item_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, item_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + isComplex = isVarComplex(pvApiCtx, item_addr); + } + + if (var_type == sci_matrix) /* 2-D array */ + { + rank = 2; + if ((piDims = (int*)MALLOC(sizeof(int) * rank)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetDoubleVariable"); + return NULL; + } + if ((pszDims = (size_t*)MALLOC(sizeof(size_t) * rank)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetDoubleVariable"); + return NULL; + } + + if (isComplex) + { + if (parent == NULL) + { + sciErr = getComplexMatrixOfDouble(pvApiCtx, var_addr, &piDims[0], &piDims[1], &realDataAdr, &complexDataAdr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = getComplexMatrixOfDoubleInList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], + &realDataAdr, &complexDataAdr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + } + else + { + if (parent == NULL) + { + sciErr = getMatrixOfDouble(pvApiCtx, var_addr, &piDims[0], &piDims[1], &realDataAdr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = getMatrixOfDoubleInList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], &realDataAdr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + } + + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + if (isComplex == 0) + { + createdVar = Mat_VarCreate(name, MAT_C_DOUBLE, MAT_T_DOUBLE, rank, pszDims, realDataAdr, 0); + } + else + { + if (matfile_version == MAT_FT_MAT4) /* MATLAB4: data is a table of value */ + { + createdVar = Mat_VarCreate(name, MAT_C_DOUBLE, MAT_T_DOUBLE, rank, pszDims, realDataAdr, MAT_F_COMPLEX); + } + else /* MATLAB5 file: data is a mat_complex_split_t */ + { + mat5ComplexData.Re = realDataAdr; + mat5ComplexData.Im = complexDataAdr; + createdVar = Mat_VarCreate(name, MAT_C_DOUBLE, MAT_T_DOUBLE, rank, pszDims, &mat5ComplexData, MAT_F_COMPLEX); + } + createdVar->isComplex = 1; + } + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: Double matrix expected.\n"), "GetDoubleVariable"); + } + + FREE(piDims); + FREE(pszDims); + + return createdVar; +} diff --git a/modules/matio/src/c/GetIntegerVariable.c b/modules/matio/src/c/GetIntegerVariable.c new file mode 100755 index 000000000..9f434057c --- /dev/null +++ b/modules/matio/src/c/GetIntegerVariable.c @@ -0,0 +1,213 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "GetMatlabVariable.h" +#include "sci_types.h" +#include "api_scilab.h" + +matvar_t *GetIntegerVariable(void *pvApiCtx, int iVar, const char *name, int * parent, int item_position) +{ + int rank = 0; + size_t *pszDims = NULL; + int *piDims = NULL; + matvar_t *createdVar = NULL; + int * var_addr = NULL; + int i; + int var_type; + int integerType; + SciErr sciErr; + char * tmp_int8 = NULL; + short * tmp_int16 = NULL; + int * tmp_int32 = NULL; + int * item_addr = NULL; + unsigned char * tmp_uint8 = NULL; + unsigned short * tmp_uint16 = NULL; + unsigned int * tmp_uint32 = NULL; +#ifdef __SCILAB_INT64__ + long long * tmp_int64 = NULL; + unsigned long long * tmp_uint64 = NULL; +#endif + + if (parent == NULL) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, var_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &item_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, item_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + if (var_type == sci_ints) /* 2-D array */ + { + rank = 2; + if ((pszDims = (size_t*)MALLOC(sizeof(size_t) * rank)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetIntegerVariable"); + return NULL; + } + if ((piDims = (int*)MALLOC(sizeof(int) * rank)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetIntegerVariable"); + return NULL; + } + + if (parent == NULL) + { + sciErr = getMatrixOfIntegerPrecision(pvApiCtx, var_addr, &integerType); + } + else + { + sciErr = getMatrixOfIntegerPrecision(pvApiCtx, item_addr, &integerType); + } + + switch (integerType) + { + case SCI_INT8: /* INT8 */ + if (parent == NULL) + { + sciErr = getMatrixOfInteger8(pvApiCtx, var_addr, &piDims[0], &piDims[1], &tmp_int8); + } + else + { + sciErr = getMatrixOfInteger8InList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], &tmp_int8); + } + + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + createdVar = Mat_VarCreate(name, MAT_C_INT8, MAT_T_INT8, rank, pszDims, tmp_int8, 0); + break; + case SCI_INT16: /* INT16 */ + if (parent == NULL) + { + sciErr = getMatrixOfInteger16(pvApiCtx, var_addr, &piDims[0], &piDims[1], &tmp_int16); + } + else + { + sciErr = getMatrixOfInteger16InList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], &tmp_int16); + } + + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + createdVar = Mat_VarCreate(name, MAT_C_INT16, MAT_T_INT16, rank, pszDims, tmp_int16, 0); + break; + case SCI_INT32: /* INT32 */ + if (parent == NULL) + { + sciErr = getMatrixOfInteger32(pvApiCtx, var_addr, &piDims[0], &piDims[1], &tmp_int32); + } + else + { + sciErr = getMatrixOfInteger32InList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], &tmp_int32); + } + + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + createdVar = Mat_VarCreate(name, MAT_C_INT32, MAT_T_INT32, rank, pszDims, tmp_int32, 0); + break; + case SCI_UINT8: /* UINT8 */ + if (parent == NULL) + { + sciErr = getMatrixOfUnsignedInteger8(pvApiCtx, var_addr, &piDims[0], &piDims[1], &tmp_uint8); + } + else + { + sciErr = getMatrixOfUnsignedInteger8InList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], &tmp_uint8); + } + + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + createdVar = Mat_VarCreate(name, MAT_C_UINT8, MAT_T_UINT8, rank, pszDims, tmp_uint8, 0); + break; + case SCI_UINT16: /* UINT16 */ + if (parent == NULL) + { + sciErr = getMatrixOfUnsignedInteger16(pvApiCtx, var_addr, &piDims[0], &piDims[1], &tmp_uint16); + } + else + { + sciErr = getMatrixOfUnsignedInteger16InList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], &tmp_uint16); + } + + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + createdVar = Mat_VarCreate(name, MAT_C_UINT16, MAT_T_UINT16, rank, pszDims, tmp_uint16, 0); + break; + case SCI_UINT32: /* UINT32 */ + if (parent == NULL) + { + sciErr = getMatrixOfUnsignedInteger32(pvApiCtx, var_addr, &piDims[0], &piDims[1], &tmp_uint32); + } + else + { + sciErr = getMatrixOfUnsignedInteger32InList(pvApiCtx, parent, item_position, &piDims[0], &piDims[1], &tmp_uint32); + } + + for (i = 0; i < rank; i++) + { + pszDims[i] = piDims[i]; + } + + createdVar = Mat_VarCreate(name, MAT_C_UINT32, MAT_T_UINT32, rank, pszDims, tmp_uint32, 0); + break; + default: + createdVar = NULL; + break; + } + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: Integer matrix expected.\n"), "GetIntegerVariable"); + } + + FREE(pszDims); + FREE(piDims); + + return createdVar; +} diff --git a/modules/matio/src/c/GetMatlabVariable.c b/modules/matio/src/c/GetMatlabVariable.c new file mode 100755 index 000000000..12f4ee70d --- /dev/null +++ b/modules/matio/src/c/GetMatlabVariable.c @@ -0,0 +1,95 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * Copyright (C) 2011 - DIGITEO - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "GetMatlabVariable.h" +#include "sci_types.h" +#include "api_scilab.h" + +matvar_t *GetMatlabVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, int * parent, int item_position) +{ + int * var_addr = NULL; + int var_type; + SciErr sciErr; + matvar_t * tmp_res = NULL; + + if (parent == NULL) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + sciErr = getVarType(pvApiCtx, var_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + sciErr = getVarType(pvApiCtx, var_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + } + + switch (var_type) + { + case sci_matrix: + tmp_res = GetDoubleVariable(pvApiCtx, iVar, name, matfile_version, parent, item_position); + break; + case sci_strings: + tmp_res = GetCharVariable(pvApiCtx, iVar, name, parent, item_position); + break; + case sci_ints: + tmp_res = GetIntegerVariable(pvApiCtx, iVar, name, parent, item_position); + break; + case sci_mlist: + /* Only cells structs and hypermatrices are managed */ + if (item_position > 0) + { + tmp_res = GetMlistVariable(pvApiCtx, iVar, name, matfile_version, parent, item_position); + } + else + { + tmp_res = GetMlistVariable(pvApiCtx, iVar, name, matfile_version, parent, -1); + } + break; + case sci_sparse: + if (item_position > 0) + { + tmp_res = GetSparseVariable(pvApiCtx, iVar, name, parent, item_position); + } + else + { + tmp_res = GetSparseVariable(pvApiCtx, iVar, name, parent, -1); + } + break; + default: + sciprint("Do not known how to get variable of type %d\n", var_type); + tmp_res = NULL; + } + + return tmp_res; +} diff --git a/modules/matio/src/c/GetMatlabVariable.h b/modules/matio/src/c/GetMatlabVariable.h new file mode 100755 index 000000000..c6a4b3f41 --- /dev/null +++ b/modules/matio/src/c/GetMatlabVariable.h @@ -0,0 +1,136 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#ifndef __GETMATLABVARIABLE_H__ +#define __GETMATLABVARIABLE_H__ + +#include "matfile_manager.h" +#include "MALLOC.h" +#include "localization.h" +#include "Scierror.h" +#include "sciprint.h" + +/* + * Get a Matlab variable from a Scilab variable on stack + * This function reads nothing on stack but calls the function which + * does the work according to Scilab Variable type + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param matfile_version version of the file to write (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetMatlabVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, int * parent, int item_position); + +/* + * Get a Matlab Integer variable from stack + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetIntegerVariable(void *pvApiCtx, int iVar, const char *name, int * parent, int item_position); + +/* + * Get a Matlab Mlist-equivalent variable from stack + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param matfile_version version of the file to write (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetMlistVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, int * parent, int item_position); + +/* + * Get a Matlab Struct variable from stack + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param matfile_version version of the file to write (See MATIO library) + * @param fieldNames structure fields names including "st" and "dims" + * @param nbFields number of fields including "st" and "dims" + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetStructVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, char **fieldNames, int nbFields, int * parent, int item_position); + +/* + * Get a Matlab Cell variable from stack + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param matfile_version version of the file to write (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetCellVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, int * parent, int item_position); + +/* + * Get a Matlab Char variable from stack + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetCharVariable(void *pvApiCtx, int iVar, const char *name, int * parent, int item_position); + +/* + * Get a Matlab Sparse variable from stack + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetSparseVariable(void *pvApiCtx, int iVar, const char *name, int * parent, int item_position); + +/* + * Get a Matlab Double variable from stack + * + * @param pvApiCtx Scilab context + * @param iVar position on the stack + * @param name the name of the variable + * @param matfile_version version of the file to write (See MATIO library) + * @param parent parent mlist. If NULL, a normal variable is created. + * @parem item_position position of the variable in the mlist. Only effective if parent !=NULL + * + * @return Matlab variable (See MATIO library) + */ +matvar_t *GetDoubleVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, int * parent, int item_position); + +#endif /* !__GETMATLABVARIABLE_H__ */ diff --git a/modules/matio/src/c/GetMlistVariable.c b/modules/matio/src/c/GetMlistVariable.c new file mode 100755 index 000000000..0e5ef2727 --- /dev/null +++ b/modules/matio/src/c/GetMlistVariable.c @@ -0,0 +1,122 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include <string.h> + +#include "GetMatlabVariable.h" +#include "sci_types.h" +#include "api_scilab.h" + +#include "freeArrayOfString.h" +#include "MALLOC.h" + +matvar_t *GetMlistVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, int * parent, int item_position) +{ + char **fieldNames = NULL; + int * pilen = NULL; + int nbRow = 0, nbFields = 0, i; + int * var_addr = NULL; + int var_type; + SciErr sciErr; + matvar_t * tmp_res = NULL; + + if ((parent == NULL) && (item_position == -1)) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else if ((parent != NULL) && (item_position == -1)) + { + var_addr = parent; + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + sciErr = getVarType(pvApiCtx, var_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + + if (var_type == sci_mlist) + { + /* FIRST LIST ENTRY: fieldnames */ + sciErr = getMatrixOfStringInList(pvApiCtx, var_addr, 1, &nbRow, &nbFields, NULL, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + pilen = (int *)MALLOC(nbRow * nbFields * sizeof(int)); + fieldNames = (char **)MALLOC(nbRow * nbFields * sizeof(char *)); + sciErr = getMatrixOfStringInList(pvApiCtx, var_addr, 1, &nbRow, &nbFields, pilen, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + for (i = 0; i < nbRow * nbFields; i++) + { + fieldNames[i] = (char *)MALLOC((pilen[i] + 1) * sizeof(char)); + } + sciErr = getMatrixOfStringInList(pvApiCtx, var_addr, 1, &nbRow, &nbFields, pilen, fieldNames); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + FREE(pilen); + + if (strcmp(fieldNames[0], "ce") == 0) + { + freeArrayOfString(fieldNames, nbRow * nbFields); + return GetCellVariable(pvApiCtx, iVar, name, matfile_version, parent, item_position); + } + else if (strcmp(fieldNames[0], "st") == 0) + { + tmp_res = GetStructVariable(pvApiCtx, iVar, name, matfile_version, fieldNames, nbFields, parent, item_position); + freeArrayOfString(fieldNames, nbFields); + return tmp_res; + } + else if (strcmp(fieldNames[0], "hm") == 0) + { + /* TODO */ + Scierror(999, _("%s: Mlists of type %s can not be written to Matlab binary files.\n"), "GetMlistVariable", fieldNames[0]); + freeArrayOfString(fieldNames, nbFields); + return NULL; + } + else + { + Scierror(999, _("%s: Mlists of type %s can not be written to Matlab binary files.\n"), "GetMlistVariable", fieldNames[0]); + freeArrayOfString(fieldNames, nbFields); + return NULL; + } + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: Mlist expected.\n"), "GetMlistVariable"); + return NULL; + } +} diff --git a/modules/matio/src/c/GetSparseVariable.c b/modules/matio/src/c/GetSparseVariable.c new file mode 100755 index 000000000..476f1e2c8 --- /dev/null +++ b/modules/matio/src/c/GetSparseVariable.c @@ -0,0 +1,389 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "GetMatlabVariable.h" +#include "stack-c.h" +#include "api_scilab.h" + +matvar_t *GetSparseVariable(void *pvApiCtx, int iVar, const char *name, int * parent, int item_position) +{ + int K = 0; + int rank = 0; + size_t* pszDims = NULL; + int *dims = NULL; + double *data = NULL; + matvar_t *createdVar = NULL; + mat_sparse_t *sparseData = NULL; + SciSparse scilabSparse; + int *colIndexes = NULL; + int *rowIndexes = NULL; + int * var_addr = NULL; + int * item_addr = NULL; + int var_type; + SciErr sciErr; + + if (parent == NULL) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &var_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, var_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &item_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + sciErr = getVarType(pvApiCtx, item_addr, &var_type); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + if (var_type == sci_sparse) + { + sparseData = (mat_sparse_t*) MALLOC(sizeof(mat_sparse_t)); + if (sparseData == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + return FALSE; + } + + rank = 2; + if ((dims = (int*) MALLOC (sizeof(int) * rank)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + return NULL; + } + + if (isVarComplex(pvApiCtx, var_addr)) + { + if (parent == NULL) + { + getAllocatedComplexSparseMatrix(pvApiCtx, var_addr, &dims[1], &dims[0], + &scilabSparse.nel, &scilabSparse.mnel, + &scilabSparse.icol, &scilabSparse.R, + &scilabSparse.I); + } + else + { + sciErr = getSparseMatrixInList(pvApiCtx, parent, item_position, &dims[1], &dims[0], + &scilabSparse.nel, NULL, NULL, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + scilabSparse.mnel = (int *)MALLOC(dims[1] * sizeof(int)); + if (scilabSparse.mnel == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + FREE(scilabSparse.mnel); + + return FALSE; + } + scilabSparse.icol = (int *)MALLOC(scilabSparse.nel * sizeof(int)); + if (scilabSparse.icol == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + FREE(scilabSparse.mnel); + FREE(scilabSparse.icol); + + return FALSE; + } + scilabSparse.R = (double *)MALLOC(scilabSparse.nel * sizeof(double)); + if (scilabSparse.R == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + FREE(scilabSparse.mnel); + FREE(scilabSparse.icol); + FREE(scilabSparse.R); + + return FALSE; + } + scilabSparse.I = (double *)MALLOC(scilabSparse.nel * sizeof(double)); + if (scilabSparse.I == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + FREE(scilabSparse.mnel); + FREE(scilabSparse.icol); + FREE(scilabSparse.R); + FREE(scilabSparse.I); + + return FALSE; + } + sciErr = getComplexSparseMatrixInList(pvApiCtx, parent, item_position, &dims[1], &dims[0], + &scilabSparse.nel, &scilabSparse.mnel, + &scilabSparse.icol, &scilabSparse.R, &scilabSparse.I); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + scilabSparse.it = 1; + + } + else + { + if (parent == NULL) + { + getAllocatedSparseMatrix(pvApiCtx, var_addr, &dims[1], &dims[0], + &scilabSparse.nel, &scilabSparse.mnel, + &scilabSparse.icol, &scilabSparse.R); + } + else + { + sciErr = getSparseMatrixInList(pvApiCtx, parent, item_position, &dims[1], &dims[0], + &scilabSparse.nel, NULL, NULL, NULL); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + scilabSparse.mnel = (int *)MALLOC(dims[1] * sizeof(int)); + if (scilabSparse.mnel == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + FREE(scilabSparse.mnel); + + return FALSE; + } + scilabSparse.icol = (int *)MALLOC(scilabSparse.nel * sizeof(int)); + if (scilabSparse.icol == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + FREE(scilabSparse.mnel); + FREE(scilabSparse.icol); + + return FALSE; + } + scilabSparse.R = (double *)MALLOC(scilabSparse.nel * sizeof(double)); + if (scilabSparse.R == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + FREE(scilabSparse.mnel); + FREE(scilabSparse.icol); + FREE(scilabSparse.R); + + return FALSE; + } + sciErr = getSparseMatrixInList(pvApiCtx, parent, item_position, &dims[1], &dims[0], + &scilabSparse.nel, &scilabSparse.mnel, + &scilabSparse.icol, &scilabSparse.R); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return 0; + } + } + + scilabSparse.it = 0; + } + + scilabSparse.m = dims[1]; + scilabSparse.n = dims[0]; + + /* colIndexes = (int*) MALLOC(sizeof(int) * (scilabSparse.nel + 1)); */ + colIndexes = (int*) MALLOC(sizeof(int) * (scilabSparse.m + 1)); + if (colIndexes == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + if (scilabSparse.it) + { + freeAllocatedComplexSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R, scilabSparse.I); + } + else + { + freeAllocatedSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R); + } + + return FALSE; + } + + colIndexes[0] = 0; + /* for (K=0; K<scilabSparse.nel; K++) */ + for (K = 0; K < scilabSparse.m; K++) + { + colIndexes[K + 1] = colIndexes[K] + scilabSparse.mnel[K]; + } + + rowIndexes = (int*) MALLOC(sizeof(int) * scilabSparse.nel); + if (rowIndexes == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + if (scilabSparse.it) + { + freeAllocatedComplexSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R, scilabSparse.I); + } + else + { + freeAllocatedSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R); + } + + return FALSE; + } + + for (K = 0; K < scilabSparse.nel; K++) + { + rowIndexes[K] = scilabSparse.icol[K] - 1; + } + + if (scilabSparse.it == 0) /* Real sparse */ + { + if ((data = (double*) MALLOC(sizeof(double) * scilabSparse.nel)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + FREE(rowIndexes); + FREE(colIndexes); + if (scilabSparse.it) + { + freeAllocatedComplexSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R, scilabSparse.I); + } + else + { + freeAllocatedSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R); + } + + return 0; + } + + for (K = 0; K < scilabSparse.nel; K++) + { + data[K] = scilabSparse.R[K]; + } + } + else + { + if ((data = (double*) MALLOC(2 * sizeof(double) * scilabSparse.nel)) == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + FREE(rowIndexes); + FREE(colIndexes); + if (scilabSparse.it) + { + freeAllocatedComplexSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R, scilabSparse.I); + } + else + { + freeAllocatedSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R); + } + + return FALSE; + } + + for (K = 0; K < scilabSparse.nel; K++) + { + data[K] = scilabSparse.R[K]; + } + + for (K = 0; K < scilabSparse.nel; K++) + { + data[K + scilabSparse.nel] = scilabSparse.I[K]; + } + } + + /* Create Matlab Sparse matrix data */ + sparseData->nzmax = scilabSparse.nel; + sparseData->nir = scilabSparse.nel; + sparseData->ir = rowIndexes; + /* sparseData->njc = scilabSparse.nel + 1; */ + sparseData->njc = scilabSparse.m + 1; + sparseData->jc = colIndexes; + sparseData->ndata = scilabSparse.nel; + sparseData->data = (void*) data; + + pszDims = (size_t*) MALLOC(rank * sizeof(size_t)); + if (pszDims == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetSparseVariable"); + + if (scilabSparse.it) + { + freeAllocatedComplexSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R, scilabSparse.I); + } + else + { + freeAllocatedSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R); + } + + return 0; + } + + for (K = 0; K < rank; K++) + { + pszDims[K] = dims[K]; + } + + if (scilabSparse.it == 0) + { + createdVar = Mat_VarCreate(name, MAT_C_SPARSE, MAT_T_DOUBLE, rank, pszDims, sparseData, 0 | MAT_F_DONT_COPY_DATA); + } + else + { + createdVar = Mat_VarCreate(name, MAT_C_SPARSE, MAT_T_DOUBLE, rank, pszDims, sparseData, MAT_F_COMPLEX | MAT_F_DONT_COPY_DATA); + + if (data) + { + FREE(data); + } + } + + if (dims) + { + FREE(dims); + } + + if (pszDims) + { + FREE(pszDims); + } + } + else + { + Scierror(999, _("%s: Wrong type for first input argument: Sparse matrix expected.\n"), "GetSparseVariable"); + } + + if (scilabSparse.it) + { + freeAllocatedComplexSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R, scilabSparse.I); + } + else + { + freeAllocatedSparseMatrix(scilabSparse.mnel, scilabSparse.icol, scilabSparse.R); + } + + return createdVar; +} diff --git a/modules/matio/src/c/GetStructVariable.c b/modules/matio/src/c/GetStructVariable.c new file mode 100755 index 000000000..387a9c0b6 --- /dev/null +++ b/modules/matio/src/c/GetStructVariable.c @@ -0,0 +1,109 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * Copyright (C) 2011 - DIGITEO - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "GetMatlabVariable.h" +#include "api_scilab.h" +#include "freeArrayOfString.h" + +matvar_t *GetStructVariable(void *pvApiCtx, int iVar, const char *name, int matfile_version, char **fieldNames, int nbFields, int * parent, int item_position) +{ + int fieldIndex = 0; + int valueIndex = 0; + int K = 0; + size_t *pszDims = NULL; + int prodDims = 1; + matvar_t *dimensionsVariable = NULL; + matvar_t **structEntries = NULL; + int * var_addr = NULL; + int * list_addr = NULL; + SciErr sciErr; + + if (parent == NULL) + { + sciErr = getVarAddressFromPosition(pvApiCtx, iVar, &var_addr); + } + else + { + sciErr = getListItemAddress(pvApiCtx, parent, item_position, &var_addr); + } + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + + /* FIRST LIST ENTRY: fieldnames --> NO NEED TO BE READ */ + + /* SECOND LIST ENTRY: dimensions */ + /* Second input argument = "data" because we do not need to give the format because this variable is just temp */ + dimensionsVariable = GetMatlabVariable(pvApiCtx, iVar, "data", 0, var_addr, 2); + + pszDims = (size_t*) MALLOC(dimensionsVariable->rank * sizeof(size_t)); + if (pszDims == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetStructVariable"); + freeArrayOfString(fieldNames, nbFields); + return NULL; + } + + /* Total number of entries */ + for (K = 0; K < dimensionsVariable->rank; K++) + { + prodDims *= ((int*)dimensionsVariable->data)[K]; + pszDims[K] = ((int*)dimensionsVariable->data)[K]; + } + + /* OTHERS LIST ENTRIES: ALL STRUCT VALUES */ + structEntries = (matvar_t **) MALLOC (sizeof(matvar_t*) * (prodDims * (nbFields - 2) + 1)); + if (structEntries == NULL) + { + Scierror(999, _("%s: No more memory.\n"), "GetStructVariable"); + freeArrayOfString(fieldNames, nbFields); + return NULL; + } + for (K = 0; K < prodDims * (nbFields - 2) + 1; K++) + { + structEntries[K] = NULL; + } + + if (prodDims == 1) /* Scalar struct array */ + { + for (fieldIndex = 2; fieldIndex < nbFields; fieldIndex++) + { + structEntries[fieldIndex - 2] = GetMatlabVariable(pvApiCtx, iVar , fieldNames[fieldIndex], matfile_version, var_addr, fieldIndex + 1); + } + } + else + { + /* All the values of each field are stored in a list */ + + /* Read all entries */ + for (fieldIndex = 2; fieldIndex < nbFields; fieldIndex++) + { + sciErr = getListInList(pvApiCtx, var_addr, fieldIndex + 1, &list_addr); + if (sciErr.iErr) + { + printError(&sciErr, 0); + return NULL; + } + + for (valueIndex = 0; valueIndex < prodDims; valueIndex++) + { + structEntries[(fieldIndex - 1) + (nbFields - 2)*valueIndex] = GetMatlabVariable(pvApiCtx, iVar , fieldNames[fieldIndex], matfile_version, list_addr, valueIndex + 1); + } + } + } + + return Mat_VarCreate(name, MAT_C_STRUCT, MAT_T_STRUCT, dimensionsVariable->rank, pszDims, structEntries, 0); +} diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateBooleanVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateBooleanVariable.lo new file mode 100755 index 000000000..70879c0bf --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateBooleanVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateBooleanVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateBooleanVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateCellVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateCellVariable.lo new file mode 100755 index 000000000..8e643ac14 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateCellVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateCellVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateCellVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateCharVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateCharVariable.lo new file mode 100755 index 000000000..67639ecab --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateCharVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateCharVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateCharVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateDoubleVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateDoubleVariable.lo new file mode 100755 index 000000000..abe4b2205 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateDoubleVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateDoubleVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateDoubleVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo new file mode 100755 index 000000000..8b4b1aa05 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateHyperMatrixVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateHyperMatrixVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateIntegerVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateIntegerVariable.lo new file mode 100755 index 000000000..13d5927e6 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateIntegerVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateIntegerVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateIntegerVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateMatlabVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateMatlabVariable.lo new file mode 100755 index 000000000..c86dcad49 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateMatlabVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateMatlabVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateMatlabVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateSparseVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateSparseVariable.lo new file mode 100755 index 000000000..e55f8f8ef --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateSparseVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateSparseVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateSparseVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-CreateStructVariable.lo b/modules/matio/src/c/libscimatio_algo_la-CreateStructVariable.lo new file mode 100755 index 000000000..63e8c7f7d --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-CreateStructVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-CreateStructVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-CreateStructVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetCellVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetCellVariable.lo new file mode 100755 index 000000000..29a3fe5d5 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetCellVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetCellVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetCellVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetCharVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetCharVariable.lo new file mode 100755 index 000000000..8faac0f64 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetCharVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetCharVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetCharVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetDoubleVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetDoubleVariable.lo new file mode 100755 index 000000000..194adc21d --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetDoubleVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetDoubleVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetDoubleVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetIntegerVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetIntegerVariable.lo new file mode 100755 index 000000000..4d8812b21 --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetIntegerVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetIntegerVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetIntegerVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetMatlabVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetMatlabVariable.lo new file mode 100755 index 000000000..b898284bc --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetMatlabVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetMatlabVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetMatlabVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetMlistVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetMlistVariable.lo new file mode 100755 index 000000000..eee194aaa --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetMlistVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetMlistVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetMlistVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetSparseVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetSparseVariable.lo new file mode 100755 index 000000000..ea91b5d9b --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetSparseVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetSparseVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetSparseVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-GetStructVariable.lo b/modules/matio/src/c/libscimatio_algo_la-GetStructVariable.lo new file mode 100755 index 000000000..a7660365a --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-GetStructVariable.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-GetStructVariable.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-GetStructVariable.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/libscimatio_algo_la-matfile_manager.lo b/modules/matio/src/c/libscimatio_algo_la-matfile_manager.lo new file mode 100755 index 000000000..0d6c416bc --- /dev/null +++ b/modules/matio/src/c/libscimatio_algo_la-matfile_manager.lo @@ -0,0 +1,12 @@ +# src/c/libscimatio_algo_la-matfile_manager.lo - a libtool object file +# Generated by libtool (GNU libtool) 2.4.2 +# +# Please DO NOT delete this file! +# It is necessary for linking the library. + +# Name of the PIC object. +pic_object='.libs/libscimatio_algo_la-matfile_manager.o' + +# Name of the non-PIC object +non_pic_object=none + diff --git a/modules/matio/src/c/matfile_manager.c b/modules/matio/src/c/matfile_manager.c new file mode 100755 index 000000000..c13c43c0e --- /dev/null +++ b/modules/matio/src/c/matfile_manager.c @@ -0,0 +1,110 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * Copyright (C) 2010 - DIGITEO - Yann COLLETTE + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include <string.h> + +#include "matfile_manager.h" + +#include "sciprint.h" +#include "MALLOC.h" + +static mat_t **openedMatfiles = NULL; +static int numberOfMatfiles = 0; + +/******************************************************************************* + This function manages the set of files: + - opened using matfile_open + - closed using matfile_closed + All pointers to opened files are stored in a static variable +*******************************************************************************/ +void matfile_manager(int action, int *fileIndex, mat_t **matfile) +{ + int K = 0; /* Loop index */ + + if (action == MATFILEMANAGER_GETFILE) /* Get the mat_t structure corresponding to the fileIndex (fileIndex is an input) */ + { + if ((*fileIndex >= numberOfMatfiles) || (*fileIndex < 0)) /* FileIndex is too big or invalid */ + { + *matfile = NULL; /* Return NULL */ + } + else /* Return corresponding matfile */ + { + *matfile = openedMatfiles[*fileIndex]; + } + } + else if (action == MATFILEMANAGER_ADDFILE) /* Add matfile to the list of opened matfiles (fileIndex is an output) */ + { + if (numberOfMatfiles == 0) /* No file opened */ + { + numberOfMatfiles++; + if (openedMatfiles) + { + openedMatfiles = (mat_t**)REALLOC(openedMatfiles, numberOfMatfiles * sizeof(mat_t*)); + } + else + { + openedMatfiles = (mat_t**)MALLOC(numberOfMatfiles * sizeof(mat_t*)); + } + *fileIndex = numberOfMatfiles - 1; + openedMatfiles[*fileIndex] = *matfile; + } + else + { + /* Search for an empty space in openedMatfiles */ + for (K = 0; K < numberOfMatfiles; K++) + { + if (openedMatfiles[K] == NULL) + { + openedMatfiles[K] = *matfile; + *fileIndex = K; + return; + } + } + numberOfMatfiles++; + openedMatfiles = (mat_t**)REALLOC(openedMatfiles, numberOfMatfiles * sizeof(mat_t*)); + *fileIndex = numberOfMatfiles - 1; + openedMatfiles[*fileIndex] = *matfile; + } + } + else if (action == MATFILEMANAGER_DELFILE) /* Close matfile (fileIndex is an input) */ + { + if ((*fileIndex >= numberOfMatfiles) || (*fileIndex < 0)) /* FileIndex is too big or invalid */ + { + matfile = NULL; /* Return NULL */ + } + else /* Return corresponding matfile */ + { + *matfile = openedMatfiles[*fileIndex]; + //sciprint("Have to Close %s\n", (*matfile)->filename); + openedMatfiles[*fileIndex] = NULL; + } + } + else if (action == MATFILEMANAGER_VIEWFILE) /* Display names of opened matfiles */ + { + for (K = 0; K < numberOfMatfiles; K++) + { + if (openedMatfiles[K] != NULL) + { + sciprint("%d -> %s\n", K, Mat_GetFilename(openedMatfiles[K])); + } + else + { + sciprint("%d -> Empty\n", K); + } + } + } + else /* Unknown action */ + { + /* Return NULL */ + } +} diff --git a/modules/matio/src/c/matfile_manager.h b/modules/matio/src/c/matfile_manager.h new file mode 100755 index 000000000..fdcc87178 --- /dev/null +++ b/modules/matio/src/c/matfile_manager.h @@ -0,0 +1,28 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +#include "matio.h" /* mat_t */ + +#define MATFILEMANAGER_ADDFILE 0 +#define MATFILEMANAGER_DELFILE 1 +#define MATFILEMANAGER_VIEWFILE 2 +#define MATFILEMANAGER_GETFILE 3 + +/** + * Manage the set of files opened using matio + * + * @param action one of the upper define value + * @param fileIndex the file index in the table of files openend + * @param matfile a pointer to the matfile entity to close + */ +void matfile_manager(int action, int *fileIndex, mat_t **matfile); + diff --git a/modules/matio/src/c/matio.rc b/modules/matio/src/c/matio.rc new file mode 100755 index 000000000..3a3221931 --- /dev/null +++ b/modules/matio/src/c/matio.rc @@ -0,0 +1,97 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "CompanyName", "Scilab" + VALUE "FileDescription", "matio module" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "matio" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "matio.rc" + VALUE "ProductName", " matio" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/matio/src/nomatio/.deps/libscimatio_algo_la-nomatio.Plo b/modules/matio/src/nomatio/.deps/libscimatio_algo_la-nomatio.Plo new file mode 100755 index 000000000..9ce06a81e --- /dev/null +++ b/modules/matio/src/nomatio/.deps/libscimatio_algo_la-nomatio.Plo @@ -0,0 +1 @@ +# dummy diff --git a/modules/matio/src/nomatio/core_Import.def b/modules/matio/src/nomatio/core_Import.def new file mode 100755 index 000000000..74554c5f3 --- /dev/null +++ b/modules/matio/src/nomatio/core_Import.def @@ -0,0 +1,5 @@ +LIBRARY core.dll + + +EXPORTS + Scierror diff --git a/modules/matio/src/nomatio/nomatio.c b/modules/matio/src/nomatio/nomatio.c new file mode 100755 index 000000000..10b992d49 --- /dev/null +++ b/modules/matio/src/nomatio/nomatio.c @@ -0,0 +1,24 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008 - INRIA - Vincent COUVERT + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt + * + */ + +/*-----------------------------------------------------------------------------------*/ +#include "Scierror.h" +#include "localization.h" +#include "gw_matio.h" +/*-----------------------------------------------------------------------------------*/ +int gw_matio(void) +{ + Scierror(999, _("Scilab matio module not installed.\n")); + return 0; +} +/*-----------------------------------------------------------------------------------*/ + diff --git a/modules/matio/src/nomatio/nomatio.rc b/modules/matio/src/nomatio/nomatio.rc new file mode 100755 index 000000000..ff42848fc --- /dev/null +++ b/modules/matio/src/nomatio/nomatio.rc @@ -0,0 +1,97 @@ +// Microsoft Visual C++ generated resource script. +// + + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +//#include "afxres.h" +#define APSTUDIO_HIDDEN_SYMBOLS +#include "windows.h" +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// French (France) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FRA) +#ifdef _WIN32 +LANGUAGE LANG_FRENCH, SUBLANG_FRENCH +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE +BEGIN + "resource.h\0" +END + + +3 TEXTINCLUDE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 5,5,2,0 + PRODUCTVERSION 5,5,2,0 + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040c04b0" + BEGIN + VALUE "FileDescription", "nomatio" + VALUE "FileVersion", "5, 5, 2, 0" + VALUE "InternalName", "nomatio" + VALUE "LegalCopyright", "Copyright (C) 2017" + VALUE "OriginalFilename", "nomatio.dll" + VALUE "ProductName", " nomatio" + VALUE "ProductVersion", "5, 5, 2, 0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x40c, 1200 + END +END + +#endif // French (France) resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED + diff --git a/modules/matio/tests/nonreg_tests/bug_11035.dia.ref b/modules/matio/tests/nonreg_tests/bug_11035.dia.ref new file mode 100755 index 000000000..1a7e8dc9f --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_11035.dia.ref @@ -0,0 +1,18 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Charlotte HECQUET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 11035 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=11035 +// +// <-- Short Description --> +// Scilab crashes when loading a mat file created with Matlab 7.12 +path_file = fullfile(SCI, "modules","matio","tests","nonreg_tests","bug_11035.mat"); +assert_checktrue(execstr("loadmatfile(path_file)","errcatch") == 0); diff --git a/modules/matio/tests/nonreg_tests/bug_11035.mat b/modules/matio/tests/nonreg_tests/bug_11035.mat Binary files differnew file mode 100755 index 000000000..c4ed1deef --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_11035.mat diff --git a/modules/matio/tests/nonreg_tests/bug_11035.tst b/modules/matio/tests/nonreg_tests/bug_11035.tst new file mode 100755 index 000000000..8fdd777ad --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_11035.tst @@ -0,0 +1,19 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Charlotte HECQUET +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 11035 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=11035 +// +// <-- Short Description --> +// Scilab crashes when loading a mat file created with Matlab 7.12 + +path_file = fullfile(SCI, "modules","matio","tests","nonreg_tests","bug_11035.mat"); +assert_checktrue(execstr("loadmatfile(path_file)","errcatch") == 0); diff --git a/modules/matio/tests/nonreg_tests/bug_12168.dia.ref b/modules/matio/tests/nonreg_tests/bug_12168.dia.ref new file mode 100755 index 000000000..bed0857a8 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_12168.dia.ref @@ -0,0 +1,23 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2013 - Scilab Enterprises - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 12168 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=12168 +// +// <-- Short Description --> +// Segfault when listing a closed matfile. +A = rand(10,10); +testfile = fullfile(TMPDIR, "bug_12168.mat"); +savematfile(testfile, "A", "-v6"); +fd = matfile_open(testfile); +matfile_close(fd); +refMsg = msprintf(_("%s: Invalid file identifier.\n"), "matfile_listvar"); +assert_checkerror("matfile_listvar(fd);", refMsg); diff --git a/modules/matio/tests/nonreg_tests/bug_12168.tst b/modules/matio/tests/nonreg_tests/bug_12168.tst new file mode 100755 index 000000000..478def49a --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_12168.tst @@ -0,0 +1,25 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2013 - Scilab Enterprises - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 12168 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=12168 +// +// <-- Short Description --> +// Segfault when listing a closed matfile. + + +A = rand(10,10); +testfile = fullfile(TMPDIR, "bug_12168.mat"); +savematfile(testfile, "A", "-v6"); +fd = matfile_open(testfile); +matfile_close(fd); +refMsg = msprintf(_("%s: Invalid file identifier.\n"), "matfile_listvar"); +assert_checkerror("matfile_listvar(fd);", refMsg); diff --git a/modules/matio/tests/nonreg_tests/bug_12170.dia.ref b/modules/matio/tests/nonreg_tests/bug_12170.dia.ref new file mode 100755 index 000000000..ffe7aa72b --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_12170.dia.ref @@ -0,0 +1,41 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Pierre-Aime Agnel +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 12170 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=12170 +// +// <-- Short Description --> +// matfile_open with option "w" causes matfile_listvar error +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; +filename=TMPDIR+"/test_matfile.mat"; +savematfile(filename,'A','B','C','D','-v6'); +clear(); +filename=TMPDIR+"/test_matfile.mat"; +//Open files in different modes +fd = matfile_open(filename, "w"); +//Checking if matfile_listvar generates an error on a "w" opened file +if execstr('[name, classes, types]=matfile_listvar(fd)','errcatch','n')<>0 + genErr = %t //matfile_listvar generated an error +else + genErr = %f //matfile_listvar did not generate an error + genErr = + + F +end +assert_checkfalse(genErr); +assert_checkequal(matfile_close(fd), %t); +//Listvar on an empty file should not give error but empty matrices +assert_checktrue(isempty(name)); +assert_checktrue(isempty(classes)); +assert_checktrue(isempty(types)); diff --git a/modules/matio/tests/nonreg_tests/bug_12170.tst b/modules/matio/tests/nonreg_tests/bug_12170.tst new file mode 100755 index 000000000..9bb734517 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_12170.tst @@ -0,0 +1,46 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Pierre-Aime Agnel +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 12170 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=12170 +// +// <-- Short Description --> +// matfile_open with option "w" causes matfile_listvar error + + +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; + +filename=TMPDIR+"/test_matfile.mat"; +savematfile(filename,'A','B','C','D','-v6'); + +clear(); + +filename=TMPDIR+"/test_matfile.mat"; +//Open files in different modes +fd = matfile_open(filename, "w"); + +//Checking if matfile_listvar generates an error on a "w" opened file +if execstr('[name, classes, types]=matfile_listvar(fd)','errcatch','n')<>0 + genErr = %t //matfile_listvar generated an error +else + genErr = %f //matfile_listvar did not generate an error +end + +assert_checkfalse(genErr); +assert_checkequal(matfile_close(fd), %t); + +//Listvar on an empty file should not give error but empty matrices +assert_checktrue(isempty(name)); +assert_checktrue(isempty(classes)); +assert_checktrue(isempty(types)); diff --git a/modules/matio/tests/nonreg_tests/bug_13102.dia.ref b/modules/matio/tests/nonreg_tests/bug_13102.dia.ref new file mode 100755 index 000000000..c1c43b154 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_13102.dia.ref @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Paul Bignier +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 13102 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=13102 +// +// <-- Short Description --> +// savematfile did not support "-v7.3" option. +A = rand(10,10); +testfile = fullfile(TMPDIR, "bug_13102.mat"); +savematfile(testfile, "A", "-v7.3"); +refA = A; +clear A; +loadmatfile(testfile); +assert_checkequal(refA, A); +deletefile(testfile); +// Create an empty Matlab 7.3 file ready for writing +fd = matfile_open(testfile, "w", "7.3"); +assert_checkequal(fd, 0); +matfile_close(fd); +assert_checktrue(isfile(testfile)); +deletefile(testfile); diff --git a/modules/matio/tests/nonreg_tests/bug_13102.tst b/modules/matio/tests/nonreg_tests/bug_13102.tst new file mode 100755 index 000000000..1260cfa0d --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_13102.tst @@ -0,0 +1,37 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2014 - Scilab Enterprises - Paul Bignier +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 13102 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=13102 +// +// <-- Short Description --> +// savematfile did not support "-v7.3" option. + +A = rand(10,10); + +testfile = fullfile(TMPDIR, "bug_13102.mat"); +savematfile(testfile, "A", "-v7.3"); + +refA = A; +clear A; + +loadmatfile(testfile); +assert_checkequal(refA, A); +deletefile(testfile); + + +// Create an empty Matlab 7.3 file ready for writing +fd = matfile_open(testfile, "w", "7.3"); +assert_checkequal(fd, 0); + +matfile_close(fd); +assert_checktrue(isfile(testfile)); +deletefile(testfile); diff --git a/modules/matio/tests/nonreg_tests/bug_2731.dia.ref b/modules/matio/tests/nonreg_tests/bug_2731.dia.ref new file mode 100755 index 000000000..3f0cecbb0 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_2731.dia.ref @@ -0,0 +1,17 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - DIGITEO - Simon LIPP <simon.lipp@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- Non-regression test for bug 2731 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2731 +// +// <-- Short Description --> +// On 64bit linux, the loadmatfile function does not work with v4 MAT files, +// complaining about exceeded stacksize. +// <-- CLI SHELL MODE --> +ierr = execstr('loadmatfile(SCI+''/modules/matio/tests/nonreg_tests/t-circle.mat'')', 'errcatch'); +if ierr <> 0 then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_2731.tst b/modules/matio/tests/nonreg_tests/bug_2731.tst new file mode 100755 index 000000000..b825cd1e1 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_2731.tst @@ -0,0 +1,20 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008-2008 - DIGITEO - Simon LIPP <simon.lipp@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 2731 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=2731 +// +// <-- Short Description --> +// On 64bit linux, the loadmatfile function does not work with v4 MAT files, +// complaining about exceeded stacksize. + +// <-- CLI SHELL MODE --> + +ierr = execstr('loadmatfile(SCI+''/modules/matio/tests/nonreg_tests/t-circle.mat'')', 'errcatch'); +if ierr <> 0 then pause,end diff --git a/modules/matio/tests/nonreg_tests/bug_3674.dia.ref b/modules/matio/tests/nonreg_tests/bug_3674.dia.ref new file mode 100755 index 000000000..cade0a4fa --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_3674.dia.ref @@ -0,0 +1,51 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Vincent COUVERT <vincent.couvert@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +// <-- Non-regression test for bug 3674 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3674 +// +// <-- Short Description --> +// Scilab 5.0.2 has issues with the new "MAT-file Format" (functions "savematfile" and "loadmatfile") : +// - loading a same variable from different files: the existing variables are not erased. +// - saving file on another one is always on an appending mode: the existing files are not erased. +// +// Test savematfile +// +// Create a matrix +M = rand(400,400); +// Save the variable +savematfile(TMPDIR + "/bug_3674.mat", "M", "-v6"); +// Read file size +[x, ierr]=fileinfo(TMPDIR + "/bug_3674.mat"); +sizeFileRef = x(1); +// Try to erase original file +savematfile(TMPDIR + "/bug_3674.mat", "M", "-v6"); +// Compare size +[x, ierr]=fileinfo(TMPDIR + "/bug_3674.mat"); +newSizeFile = x(1); +if newSizeFile<>sizeFileRef then bugmes();quit;end +// Test loadmatfile +// Create a matrix +M=rand(400,400); +// Saving same var in 3 separate files +savematfile(TMPDIR + "/bug_3674_1.mat", "M", "-v6"); +savematfile(TMPDIR + "/bug_3674_2.mat", "M", "-v6"); +savematfile(TMPDIR + "/bug_3674_3.mat", "M", "-v6"); +clear; +allVarNames = who("get"); +if or(allVarNames=="M") then bugmes();quit;end +execstr("loadmatfile(TMPDIR + ""/bug_3674_1.mat"");") +allVarNames = who("get"); +if size(find(allVarNames=="M"), "*") > 1 then bugmes();quit;end +execstr("loadmatfile(TMPDIR + ""/bug_3674_2.mat"");") +allVarNames = who("get"); +if size(find(allVarNames=="M"), "*") > 1 then bugmes();quit;end +execstr("loadmatfile(TMPDIR + ""/bug_3674_3.mat"");") +allVarNames = who("get"); +if size(find(allVarNames=="M"), "*") > 1 then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_3674.tst b/modules/matio/tests/nonreg_tests/bug_3674.tst new file mode 100755 index 000000000..6b4866904 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_3674.tst @@ -0,0 +1,71 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Vincent COUVERT <vincent.couvert@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +// <-- Non-regression test for bug 3674 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3674 +// +// <-- Short Description --> +// Scilab 5.0.2 has issues with the new "MAT-file Format" (functions "savematfile" and "loadmatfile") : +// - loading a same variable from different files: the existing variables are not erased. +// - saving file on another one is always on an appending mode: the existing files are not erased. + +// +// Test savematfile +// + +// Create a matrix +M = rand(400,400); + +// Save the variable +savematfile(TMPDIR + "/bug_3674.mat", "M", "-v6"); + +// Read file size +[x, ierr]=fileinfo(TMPDIR + "/bug_3674.mat"); +sizeFileRef = x(1); + +// Try to erase original file +savematfile(TMPDIR + "/bug_3674.mat", "M", "-v6"); + +// Compare size +[x, ierr]=fileinfo(TMPDIR + "/bug_3674.mat"); +newSizeFile = x(1); + +if newSizeFile<>sizeFileRef then pause;end + + +// Test loadmatfile + +// Create a matrix +M=rand(400,400); + +// Saving same var in 3 separate files +savematfile(TMPDIR + "/bug_3674_1.mat", "M", "-v6"); +savematfile(TMPDIR + "/bug_3674_2.mat", "M", "-v6"); +savematfile(TMPDIR + "/bug_3674_3.mat", "M", "-v6"); + +clear; + +allVarNames = who("get"); +if or(allVarNames=="M") then pause;end + +execstr("loadmatfile(TMPDIR + ""/bug_3674_1.mat"");") +allVarNames = who("get"); +if size(find(allVarNames=="M"), "*") > 1 then pause;end + +execstr("loadmatfile(TMPDIR + ""/bug_3674_2.mat"");") +allVarNames = who("get"); +if size(find(allVarNames=="M"), "*") > 1 then pause;end + +execstr("loadmatfile(TMPDIR + ""/bug_3674_3.mat"");") +allVarNames = who("get"); +if size(find(allVarNames=="M"), "*") > 1 then pause;end + + diff --git a/modules/matio/tests/nonreg_tests/bug_3780.dia.ref b/modules/matio/tests/nonreg_tests/bug_3780.dia.ref new file mode 100755 index 000000000..e8aae9231 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_3780.dia.ref @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- Non-regression test for bug 3780 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3780 +// +// <-- Short Description --> +// The function loadmatfile does not ignore comments found in ASCII files while loading them, resulting in an error message. +// Moreover, for Matlab compatibility, when this function is called with one input argument load(filename), it must look for filename (as a binary file), filename.mat (as a binary file) or as an ASCII file otherwise. +// Check that comment are ignored +// <-- CLI SHELL MODE --> +loadmatfile("SCI/modules/matio/tests/nonreg_tests/bug_3780.txt", "-ascii"); +if ~exists("bug_3780", "local") then bugmes();quit;end +refvalue = [0,1,2,3,4; + 10,11,12,13,14; + 20,21,22,23,24; + 30,31,32,33,34; + 40,41,42,43,44; + 50,51,52,53,54; + 30,61,62,63,64]; +if or(bug_3780<>refvalue) then bugmes();quit;end +clear bug_3780 +// Check that loadmatfile can be call with an ASCII file without -ascii option +loadmatfile("SCI/modules/matio/tests/nonreg_tests/bug_3780.txt"); +if or(bug_3780<>refvalue) then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_3780.tst b/modules/matio/tests/nonreg_tests/bug_3780.tst new file mode 100755 index 000000000..72478f45b --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_3780.tst @@ -0,0 +1,37 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- Non-regression test for bug 3780 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=3780 +// +// <-- Short Description --> +// The function loadmatfile does not ignore comments found in ASCII files while loading them, resulting in an error message. +// Moreover, for Matlab compatibility, when this function is called with one input argument load(filename), it must look for filename (as a binary file), filename.mat (as a binary file) or as an ASCII file otherwise. + +// Check that comment are ignored + +// <-- CLI SHELL MODE --> + +loadmatfile("SCI/modules/matio/tests/nonreg_tests/bug_3780.txt", "-ascii"); + +if ~exists("bug_3780", "local") then pause;end +refvalue = [0,1,2,3,4; + 10,11,12,13,14; + 20,21,22,23,24; + 30,31,32,33,34; + 40,41,42,43,44; + 50,51,52,53,54; + 30,61,62,63,64]; +if or(bug_3780<>refvalue) then pause;end + +clear bug_3780 + +// Check that loadmatfile can be call with an ASCII file without -ascii option +loadmatfile("SCI/modules/matio/tests/nonreg_tests/bug_3780.txt"); +if or(bug_3780<>refvalue) then pause;end diff --git a/modules/matio/tests/nonreg_tests/bug_3780.txt b/modules/matio/tests/nonreg_tests/bug_3780.txt new file mode 100755 index 000000000..8e8331abd --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_3780.txt @@ -0,0 +1,9 @@ +% VAR1 VAR2 VAR3 VAR4 +0 1 2 3 4 % comment on line 2 +10 11 12 13 14 +20 21 22 23 24 +% VAR1 VAR2 VAR3 VAR4 +30 31 32 33 34 +40 41 42 43 44 +50 51 52 53 54 +30 61 62 63 64 % comment on last line diff --git a/modules/matio/tests/nonreg_tests/bug_4926.dia.ref b/modules/matio/tests/nonreg_tests/bug_4926.dia.ref new file mode 100755 index 000000000..c2f6a85b2 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_4926.dia.ref @@ -0,0 +1,26 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Vincent COUVERT <vincent.couvert@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- ENGLISH IMPOSED --> +// +// <-- Non-regression test for bug 4926 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4926 +// +// <-- Short Description --> +// Can not save a structure in a MAT-file using savematfile. +s.name = "NAME"; +s.firstname = "FIRSTNAME"; +s.age = 25; +s.address = "TOWN"; +ierr = execstr("savematfile(TMPDIR + filesep() + ""bug_4926.tst"", ""s"")", "errcatch"); +WARNING: Option -v7 added. +WARNING: Variable s can not be saved in ASCII file: IGNORED. +if ierr <> 0 then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_4926.tst b/modules/matio/tests/nonreg_tests/bug_4926.tst new file mode 100755 index 000000000..946edf8e6 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_4926.tst @@ -0,0 +1,25 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Vincent COUVERT <vincent.couvert@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- ENGLISH IMPOSED --> +// +// <-- Non-regression test for bug 4926 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=4926 +// +// <-- Short Description --> +// Can not save a structure in a MAT-file using savematfile. + +s.name = "NAME"; +s.firstname = "FIRSTNAME"; +s.age = 25; +s.address = "TOWN"; +ierr = execstr("savematfile(TMPDIR + filesep() + ""bug_4926.tst"", ""s"")", "errcatch"); +if ierr <> 0 then pause,end diff --git a/modules/matio/tests/nonreg_tests/bug_5462.dia.ref b/modules/matio/tests/nonreg_tests/bug_5462.dia.ref new file mode 100755 index 000000000..8fb3d45a9 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_5462.dia.ref @@ -0,0 +1,24 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Yann COLLETTE <yann.collette@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +// +// <-- ENGLISH IMPOSED --> +// +// <-- Non-regression test for bug 5462 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=5462 +// +// <-- Short Description --> +// Can not save correctly a sparse matrix in a MAT-file using savematfile. +A = sprand(1000,1000,0.01); +savematfile(TMPDIR + filesep() + "bug_5462.mat", "A"); +WARNING: Option -v7 added. +A1 = A; +clear A +loadmatfile(TMPDIR + filesep() + "bug_5462.mat", "A"); +if (norm(A1 - A)>=10*%eps) then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_5462.tst b/modules/matio/tests/nonreg_tests/bug_5462.tst new file mode 100755 index 000000000..5497bc451 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_5462.tst @@ -0,0 +1,25 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Yann COLLETTE <yann.collette@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +// +// <-- ENGLISH IMPOSED --> +// +// <-- Non-regression test for bug 5462 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=5462 +// +// <-- Short Description --> +// Can not save correctly a sparse matrix in a MAT-file using savematfile. + +A = sprand(1000,1000,0.01); +savematfile(TMPDIR + filesep() + "bug_5462.mat", "A"); +A1 = A; +clear A +loadmatfile(TMPDIR + filesep() + "bug_5462.mat", "A"); + +if (norm(A1 - A)>=10*%eps) then pause,end diff --git a/modules/matio/tests/nonreg_tests/bug_5466.dia.ref b/modules/matio/tests/nonreg_tests/bug_5466.dia.ref new file mode 100755 index 000000000..ef49f5901 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_5466.dia.ref @@ -0,0 +1,31 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Vincent COUVERT <vincent.couvert@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- ENGLISH IMPOSED --> +// <-- CLI SHELL MODE --> +// <-- Non-regression test for bug 5466 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=5466 +// +// <-- Short Description --> +// I met some problems while saving scilab variables in a Matlab data file. +// Some times, the variables are not written in the data file. +A = sprand(400,400,0.01); +B = sprand(100,100,0.1); +savematfile(TMPDIR + filesep() + "bug_5466.mat","A","B"); +WARNING: Option -v7 added. +clear +loadmatfile(TMPDIR + filesep() + "bug_5466.mat","A","B"); +if or(size(A)<>[400 400]) then bugmes();quit;end +if or(size(B)<>[100 100]) then bugmes();quit;end +clear +A = rand(10,10); +savematfile(TMPDIR + filesep() + "bug_5466.mat","A"); +WARNING: Option -v7 added. +clear +loadmatfile(TMPDIR + filesep() + "bug_5466.mat","A"); +if or(size(A)<>[10 10]) then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_5466.tst b/modules/matio/tests/nonreg_tests/bug_5466.tst new file mode 100755 index 000000000..8f7a227a6 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_5466.tst @@ -0,0 +1,34 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2009 - DIGITEO - Vincent COUVERT <vincent.couvert@scilab.org> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- ENGLISH IMPOSED --> +// <-- CLI SHELL MODE --> + +// <-- Non-regression test for bug 5466 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=5466 +// +// <-- Short Description --> +// I met some problems while saving scilab variables in a Matlab data file. +// Some times, the variables are not written in the data file. + +A = sprand(400,400,0.01); +B = sprand(100,100,0.1); +savematfile(TMPDIR + filesep() + "bug_5466.mat","A","B"); +clear +loadmatfile(TMPDIR + filesep() + "bug_5466.mat","A","B"); + +if or(size(A)<>[400 400]) then pause;end +if or(size(B)<>[100 100]) then pause;end + +clear +A = rand(10,10); +savematfile(TMPDIR + filesep() + "bug_5466.mat","A"); +clear +loadmatfile(TMPDIR + filesep() + "bug_5466.mat","A"); +if or(size(A)<>[10 10]) then pause;end diff --git a/modules/matio/tests/nonreg_tests/bug_7862.dia.ref b/modules/matio/tests/nonreg_tests/bug_7862.dia.ref new file mode 100755 index 000000000..84a41dc5c --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_7862.dia.ref @@ -0,0 +1,57 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- ENGLISH IMPOSED --> +// +// <-- Non-regression test for bug 7862 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7862 +// +// <-- Short Description --> +// "savematfile" only saved the first string in the vector (or matrix) when variable is a vector (or matrix) of strings. +a0x0 = ""; +savematfile(TMPDIR + filesep() + "a0x0.mat", "a0x0"); +WARNING: Option -v7 added. +a0x0_saved = a0x0; +clear a0x0 +loadmatfile(TMPDIR + filesep() + "a0x0.mat"); +if or(a0x0<>a0x0_saved) then bugmes();quit;end +clear a0x0 a0x0_saved +a1x1 = "abcde"; +savematfile(TMPDIR + filesep() + "a1x1.mat", "a1x1"); +WARNING: Option -v7 added. +a1x1_saved = a1x1; +clear a1x1 +loadmatfile(TMPDIR + filesep() + "a1x1.mat"); +if or(a1x1<>a1x1_saved) then bugmes();quit;end +clear a1x1 a1x1_saved +a1x3 = ["aaaa", "bbbb", "cccc"]; +ierr = execstr("savematfile(TMPDIR + filesep() + ""a1x3.mat"", ""a1x3"");", "errcatch"); +WARNING: Option -v7 added. +msg = lasterror(); +if ierr<>999 | msg<>msprintf(_("%s: Row array of strings saving is not implemented.\n"), "GetCharVariable") then bugmes();quit;end +a3x1 = ["aaaa"; "bbbb"; "cccc"]; +savematfile(TMPDIR + filesep() + "a3x1.mat", "a3x1"); +WARNING: Option -v7 added. +a3x1_saved = a3x1; +clear a3x1 +loadmatfile(TMPDIR + filesep() + "a3x1.mat"); +if or(a3x1<>a3x1_saved) then bugmes();quit;end +clear a3x1 a3x1_saved +a3x1 = ["aa"; "bbb"; "cccc"]; +ierr = execstr("savematfile(TMPDIR + filesep() + ""a3x1.mat"", ""a3x1"");", "errcatch"); +WARNING: Option -v7 added. +msg = lasterror(); +if ierr<>999 | msg<>msprintf(_("%s: Column array of strings with different lengths saving is not implemented.\n"), "GetCharVariable") then bugmes();quit;end +a2x3 = ["aaaa", "bbbb", "cccc"; "dddd", "eeee", "ffff"]; +ierr = execstr("savematfile(TMPDIR + filesep() + ""a2x3.mat"", ""a2x3"");", "errcatch"); +WARNING: Option -v7 added. +msg = lasterror(); +if ierr<>999 | msg<>msprintf(_("%s: 2D array of strings saving is not implemented.\n"), "GetCharVariable") then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_7862.tst b/modules/matio/tests/nonreg_tests/bug_7862.tst new file mode 100755 index 000000000..ee0b9aef2 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_7862.tst @@ -0,0 +1,57 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2010 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- ENGLISH IMPOSED --> +// +// <-- Non-regression test for bug 7862 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=7862 +// +// <-- Short Description --> +// "savematfile" only saved the first string in the vector (or matrix) when variable is a vector (or matrix) of strings. + +a0x0 = ""; +savematfile(TMPDIR + filesep() + "a0x0.mat", "a0x0"); +a0x0_saved = a0x0; +clear a0x0 +loadmatfile(TMPDIR + filesep() + "a0x0.mat"); +if or(a0x0<>a0x0_saved) then pause; end +clear a0x0 a0x0_saved + +a1x1 = "abcde"; +savematfile(TMPDIR + filesep() + "a1x1.mat", "a1x1"); +a1x1_saved = a1x1; +clear a1x1 +loadmatfile(TMPDIR + filesep() + "a1x1.mat"); +if or(a1x1<>a1x1_saved) then pause; end +clear a1x1 a1x1_saved + +a1x3 = ["aaaa", "bbbb", "cccc"]; +ierr = execstr("savematfile(TMPDIR + filesep() + ""a1x3.mat"", ""a1x3"");", "errcatch"); +msg = lasterror(); +if ierr<>999 | msg<>msprintf(_("%s: Row array of strings saving is not implemented.\n"), "GetCharVariable") then pause;end + +a3x1 = ["aaaa"; "bbbb"; "cccc"]; +savematfile(TMPDIR + filesep() + "a3x1.mat", "a3x1"); +a3x1_saved = a3x1; +clear a3x1 +loadmatfile(TMPDIR + filesep() + "a3x1.mat"); +if or(a3x1<>a3x1_saved) then pause; end +clear a3x1 a3x1_saved + +a3x1 = ["aa"; "bbb"; "cccc"]; +ierr = execstr("savematfile(TMPDIR + filesep() + ""a3x1.mat"", ""a3x1"");", "errcatch"); +msg = lasterror(); +if ierr<>999 | msg<>msprintf(_("%s: Column array of strings with different lengths saving is not implemented.\n"), "GetCharVariable") then pause;end + +a2x3 = ["aaaa", "bbbb", "cccc"; "dddd", "eeee", "ffff"]; +ierr = execstr("savematfile(TMPDIR + filesep() + ""a2x3.mat"", ""a2x3"");", "errcatch"); +msg = lasterror(); +if ierr<>999 | msg<>msprintf(_("%s: 2D array of strings saving is not implemented.\n"), "GetCharVariable") then pause;end diff --git a/modules/matio/tests/nonreg_tests/bug_8783.dia.ref b/modules/matio/tests/nonreg_tests/bug_8783.dia.ref new file mode 100755 index 000000000..3dcbb6da1 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_8783.dia.ref @@ -0,0 +1,143 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 8783 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8783 +// +// <-- Short Description --> +// loadmatfile could not load hypermatrices of integer types. +loadmatfile(SCI + "/modules/matio/tests/nonreg_tests/bug_8783.mat") +int8hmref(:,:,1) = [ + 127 127 127 127; + 127 127 127 127; + 127 98 127 127]; +int8hmref(:,:,2) = [ + 127 127 127 36; + 127 127 127 127 + 127 127 127 127]; +int8hmref(:,:,3) = [ + 127 127 127 46; + 127 127 32 97; + 127 127 127 127]; +int8hmref(:,:,4) = [ + 127 34 127 127; + 127 127 127 127; + 127 127 127 127]; +int8hmref(:,:,5) = [ + 127 127 119 127; + 127 127 127 127; + 127 127 127 127]; +if or(int8hm<>int8hmref) then bugmes();quit;end +int16hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +int16hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +int16hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +int16hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +int16hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; +if or(int16hm<>int16hmref) then bugmes();quit;end +int32hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +int32hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +int32hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +int32hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +int32hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; +if or(int32hm<>int32hmref) then bugmes();quit;end +uint8hmref(:,:,1) = [ + 255 255 255 255; + 255 255 255 158; + 127 98 255 255]; +uint8hmref(:,:,2) = [ + 255 142 255 36; + 255 255 255 255; + 255 255 255 255]; +uint8hmref(:,:,3) = [ + 255 255 255 46; + 255 255 32 97; + 255 171 255 255]; +uint8hmref(:,:,4) = [ + 255 34 255 255; + 255 255 255 255; + 255 255 187 255]; +uint8hmref(:,:,5) = [ + 255 255 119 255; + 255 255 255 255; + 255 163 255 224]; +if or(uint8hm<>uint8hmref) then bugmes();quit;end +uint16hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +uint16hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +uint16hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +uint16hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +uint16hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; +if or(uint16hm<>uint16hmref) then bugmes();quit;end +uint32hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +uint32hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +uint32hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +uint32hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +uint32hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; +if or(uint32hm<>uint32hmref) then bugmes();quit;end diff --git a/modules/matio/tests/nonreg_tests/bug_8783.mat b/modules/matio/tests/nonreg_tests/bug_8783.mat Binary files differnew file mode 100755 index 000000000..42ab6350a --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_8783.mat diff --git a/modules/matio/tests/nonreg_tests/bug_8783.tst b/modules/matio/tests/nonreg_tests/bug_8783.tst new file mode 100755 index 000000000..604e4246b --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_8783.tst @@ -0,0 +1,156 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 8783 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8783 +// +// <-- Short Description --> +// loadmatfile could not load hypermatrices of integer types. + +loadmatfile(SCI + "/modules/matio/tests/nonreg_tests/bug_8783.mat") + +int8hmref(:,:,1) = [ + 127 127 127 127; + 127 127 127 127; + 127 98 127 127]; +int8hmref(:,:,2) = [ + 127 127 127 36; + 127 127 127 127 + 127 127 127 127]; +int8hmref(:,:,3) = [ + 127 127 127 46; + 127 127 32 97; + 127 127 127 127]; +int8hmref(:,:,4) = [ + 127 34 127 127; + 127 127 127 127; + 127 127 127 127]; +int8hmref(:,:,5) = [ + 127 127 119 127; + 127 127 127 127; + 127 127 127 127]; + +if or(int8hm<>int8hmref) then pause; end + +int16hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +int16hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +int16hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +int16hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +int16hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; + +if or(int16hm<>int16hmref) then pause; end + +int32hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +int32hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +int32hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +int32hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +int32hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; + +if or(int32hm<>int32hmref) then pause; end + +uint8hmref(:,:,1) = [ + 255 255 255 255; + 255 255 255 158; + 127 98 255 255]; +uint8hmref(:,:,2) = [ + 255 142 255 36; + 255 255 255 255; + 255 255 255 255]; +uint8hmref(:,:,3) = [ + 255 255 255 46; + 255 255 32 97; + 255 171 255 255]; +uint8hmref(:,:,4) = [ + 255 34 255 255; + 255 255 255 255; + 255 255 187 255]; +uint8hmref(:,:,5) = [ + 255 255 119 255; + 255 255 255 255; + 255 163 255 224]; + +if or(uint8hm<>uint8hmref) then pause; end + +uint16hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +uint16hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +uint16hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +uint16hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +uint16hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; + +if or(uint16hm<>uint16hmref) then pause; end + +uint32hmref(:,:,1) = [ + 815 913 278 965; + 906 632 547 158; + 127 98 958 971]; +uint32hmref(:,:,2) = [ + 957 142 792 36; + 485 422 959 849; + 800 916 656 934]; +uint32hmref(:,:,3) = [ + 679 392 706 46; + 758 655 32 97; + 743 171 277 823]; +uint32hmref(:,:,4) = [ + 695 34 766 490; + 317 439 795 446; + 950 382 187 646]; +uint32hmref(:,:,5) = [ + 709 680 119 340; + 755 655 498 585; + 276 163 960 224]; + +if or(uint32hm<>uint32hmref) then pause; end diff --git a/modules/matio/tests/nonreg_tests/bug_8828.dia.ref b/modules/matio/tests/nonreg_tests/bug_8828.dia.ref new file mode 100755 index 000000000..9f3a7f260 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_8828.dia.ref @@ -0,0 +1,19 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 8828 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8828 +// +// <-- Short Description --> +// "savematfile" could no more save a structure. +Astruct.str = "example"; +Astruct.num = 123456789; +savematfile(TMPDIR + filesep() + "bug_8828.mat", "Astruct", "-v6"); diff --git a/modules/matio/tests/nonreg_tests/bug_8828.tst b/modules/matio/tests/nonreg_tests/bug_8828.tst new file mode 100755 index 000000000..7d21a07cc --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_8828.tst @@ -0,0 +1,20 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 8828 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=8828 +// +// <-- Short Description --> +// "savematfile" could no more save a structure. + +Astruct.str = "example"; +Astruct.num = 123456789; +savematfile(TMPDIR + filesep() + "bug_8828.mat", "Astruct", "-v6"); diff --git a/modules/matio/tests/nonreg_tests/bug_9354.dia.ref b/modules/matio/tests/nonreg_tests/bug_9354.dia.ref new file mode 100755 index 000000000..09558695f --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_9354.dia.ref @@ -0,0 +1,27 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 9354 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=9354 +// +// <-- Short Description --> +// "savematfile" could not save imbricated structures. +// Try to save the structure +V.a.a = 1; +V.a.b = 2; +V.b.a = 3; +savematfile(TMPDIR + filesep() + "bug_9354.mat", "V", "-v7") +// Try to reload the structure +refV = V; +clear V +loadmatfile(TMPDIR + filesep() + "bug_9354.mat"); +// Compare saved and read variables +assert_checkequal(V, refV); diff --git a/modules/matio/tests/nonreg_tests/bug_9354.tst b/modules/matio/tests/nonreg_tests/bug_9354.tst new file mode 100755 index 000000000..768bb7439 --- /dev/null +++ b/modules/matio/tests/nonreg_tests/bug_9354.tst @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2011 - DIGITEO - Vincent COUVERT +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// +// <-- CLI SHELL MODE --> +// +// <-- Non-regression test for bug 9354 --> +// +// <-- Bugzilla URL --> +// http://bugzilla.scilab.org/show_bug.cgi?id=9354 +// +// <-- Short Description --> +// "savematfile" could not save imbricated structures. + +// Try to save the structure +V.a.a = 1; +V.a.b = 2; +V.b.a = 3; +savematfile(TMPDIR + filesep() + "bug_9354.mat", "V", "-v7") + +// Try to reload the structure +refV = V; +clear V +loadmatfile(TMPDIR + filesep() + "bug_9354.mat"); + +// Compare saved and read variables +assert_checkequal(V, refV); diff --git a/modules/matio/tests/nonreg_tests/t-circle.mat b/modules/matio/tests/nonreg_tests/t-circle.mat Binary files differnew file mode 100755 index 000000000..dc650cfde --- /dev/null +++ b/modules/matio/tests/nonreg_tests/t-circle.mat diff --git a/modules/matio/tests/unit_tests/arraycell-v6.mat b/modules/matio/tests/unit_tests/arraycell-v6.mat Binary files differnew file mode 100755 index 000000000..8821a5024 --- /dev/null +++ b/modules/matio/tests/unit_tests/arraycell-v6.mat diff --git a/modules/matio/tests/unit_tests/arraycell-v7.mat b/modules/matio/tests/unit_tests/arraycell-v7.mat Binary files differnew file mode 100755 index 000000000..6b77cf61d --- /dev/null +++ b/modules/matio/tests/unit_tests/arraycell-v7.mat diff --git a/modules/matio/tests/unit_tests/arraystruct-v6.mat b/modules/matio/tests/unit_tests/arraystruct-v6.mat Binary files differnew file mode 100755 index 000000000..79fa3865b --- /dev/null +++ b/modules/matio/tests/unit_tests/arraystruct-v6.mat diff --git a/modules/matio/tests/unit_tests/arraystruct-v7.mat b/modules/matio/tests/unit_tests/arraystruct-v7.mat Binary files differnew file mode 100755 index 000000000..bc73f63c2 --- /dev/null +++ b/modules/matio/tests/unit_tests/arraystruct-v7.mat diff --git a/modules/matio/tests/unit_tests/colcell-v6.mat b/modules/matio/tests/unit_tests/colcell-v6.mat Binary files differnew file mode 100755 index 000000000..71a9bbe24 --- /dev/null +++ b/modules/matio/tests/unit_tests/colcell-v6.mat diff --git a/modules/matio/tests/unit_tests/colcell-v7.mat b/modules/matio/tests/unit_tests/colcell-v7.mat Binary files differnew file mode 100755 index 000000000..fcd8750dc --- /dev/null +++ b/modules/matio/tests/unit_tests/colcell-v7.mat diff --git a/modules/matio/tests/unit_tests/colstruct-v6.mat b/modules/matio/tests/unit_tests/colstruct-v6.mat Binary files differnew file mode 100755 index 000000000..ed6479b5a --- /dev/null +++ b/modules/matio/tests/unit_tests/colstruct-v6.mat diff --git a/modules/matio/tests/unit_tests/colstruct-v7.mat b/modules/matio/tests/unit_tests/colstruct-v7.mat Binary files differnew file mode 100755 index 000000000..040157261 --- /dev/null +++ b/modules/matio/tests/unit_tests/colstruct-v7.mat diff --git a/modules/matio/tests/unit_tests/complexdoubleNDarray-v6.mat b/modules/matio/tests/unit_tests/complexdoubleNDarray-v6.mat Binary files differnew file mode 100755 index 000000000..94e7e1bc1 --- /dev/null +++ b/modules/matio/tests/unit_tests/complexdoubleNDarray-v6.mat diff --git a/modules/matio/tests/unit_tests/complexdoubleNDarray-v7.mat b/modules/matio/tests/unit_tests/complexdoubleNDarray-v7.mat Binary files differnew file mode 100755 index 000000000..686ab4170 --- /dev/null +++ b/modules/matio/tests/unit_tests/complexdoubleNDarray-v7.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublecolvector-v4.mat b/modules/matio/tests/unit_tests/cplxdoublecolvector-v4.mat Binary files differnew file mode 100755 index 000000000..b76c7146d --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublecolvector-v4.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublecolvector-v6.mat b/modules/matio/tests/unit_tests/cplxdoublecolvector-v6.mat Binary files differnew file mode 100755 index 000000000..69a792e81 --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublecolvector-v6.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublecolvector-v7.mat b/modules/matio/tests/unit_tests/cplxdoublecolvector-v7.mat Binary files differnew file mode 100755 index 000000000..5143d7274 --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublecolvector-v7.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublematrix-v4.mat b/modules/matio/tests/unit_tests/cplxdoublematrix-v4.mat Binary files differnew file mode 100755 index 000000000..36fdbdb79 --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublematrix-v4.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublematrix-v6.mat b/modules/matio/tests/unit_tests/cplxdoublematrix-v6.mat Binary files differnew file mode 100755 index 000000000..9319d1b94 --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublematrix-v6.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublematrix-v7.mat b/modules/matio/tests/unit_tests/cplxdoublematrix-v7.mat Binary files differnew file mode 100755 index 000000000..213dc391d --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublematrix-v7.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublerowvector-v4.mat b/modules/matio/tests/unit_tests/cplxdoublerowvector-v4.mat Binary files differnew file mode 100755 index 000000000..94af8b442 --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublerowvector-v4.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublerowvector-v6.mat b/modules/matio/tests/unit_tests/cplxdoublerowvector-v6.mat Binary files differnew file mode 100755 index 000000000..7ce880645 --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublerowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublerowvector-v7.mat b/modules/matio/tests/unit_tests/cplxdoublerowvector-v7.mat Binary files differnew file mode 100755 index 000000000..7638870bd --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublerowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublescalar-v4.mat b/modules/matio/tests/unit_tests/cplxdoublescalar-v4.mat Binary files differnew file mode 100755 index 000000000..fc71949fc --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublescalar-v4.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublescalar-v6.mat b/modules/matio/tests/unit_tests/cplxdoublescalar-v6.mat Binary files differnew file mode 100755 index 000000000..4b9003fab --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublescalar-v6.mat diff --git a/modules/matio/tests/unit_tests/cplxdoublescalar-v7.mat b/modules/matio/tests/unit_tests/cplxdoublescalar-v7.mat Binary files differnew file mode 100755 index 000000000..1d7501465 --- /dev/null +++ b/modules/matio/tests/unit_tests/cplxdoublescalar-v7.mat diff --git a/modules/matio/tests/unit_tests/emptyNDarray-v6.mat b/modules/matio/tests/unit_tests/emptyNDarray-v6.mat Binary files differnew file mode 100755 index 000000000..081f5ed64 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyNDarray-v6.mat diff --git a/modules/matio/tests/unit_tests/emptyNDarray-v7.mat b/modules/matio/tests/unit_tests/emptyNDarray-v7.mat Binary files differnew file mode 100755 index 000000000..5f63a28db --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyNDarray-v7.mat diff --git a/modules/matio/tests/unit_tests/emptycell-v6.mat b/modules/matio/tests/unit_tests/emptycell-v6.mat Binary files differnew file mode 100755 index 000000000..1aea52320 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptycell-v6.mat diff --git a/modules/matio/tests/unit_tests/emptycell-v7.mat b/modules/matio/tests/unit_tests/emptycell-v7.mat Binary files differnew file mode 100755 index 000000000..84cb2ea76 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptycell-v7.mat diff --git a/modules/matio/tests/unit_tests/emptydoublematrix-v4.mat b/modules/matio/tests/unit_tests/emptydoublematrix-v4.mat Binary files differnew file mode 100755 index 000000000..bbd4b1e34 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptydoublematrix-v4.mat diff --git a/modules/matio/tests/unit_tests/emptydoublematrix-v6.mat b/modules/matio/tests/unit_tests/emptydoublematrix-v6.mat Binary files differnew file mode 100755 index 000000000..5f317d8de --- /dev/null +++ b/modules/matio/tests/unit_tests/emptydoublematrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptydoublematrix-v7.mat b/modules/matio/tests/unit_tests/emptydoublematrix-v7.mat Binary files differnew file mode 100755 index 000000000..c284cd0ce --- /dev/null +++ b/modules/matio/tests/unit_tests/emptydoublematrix-v7.mat diff --git a/modules/matio/tests/unit_tests/emptyint16matrix-v6.mat b/modules/matio/tests/unit_tests/emptyint16matrix-v6.mat Binary files differnew file mode 100755 index 000000000..1d2883269 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyint16matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptyint16matrix-v7.mat b/modules/matio/tests/unit_tests/emptyint16matrix-v7.mat Binary files differnew file mode 100755 index 000000000..ca7d78cb3 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyint16matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/emptyint32matrix-v6.mat b/modules/matio/tests/unit_tests/emptyint32matrix-v6.mat Binary files differnew file mode 100755 index 000000000..7bd2e27fa --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyint32matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptyint32matrix-v7.mat b/modules/matio/tests/unit_tests/emptyint32matrix-v7.mat Binary files differnew file mode 100755 index 000000000..08e61c907 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyint32matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/emptyint8matrix-v6.mat b/modules/matio/tests/unit_tests/emptyint8matrix-v6.mat Binary files differnew file mode 100755 index 000000000..c3f6c3516 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyint8matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptyint8matrix-v7.mat b/modules/matio/tests/unit_tests/emptyint8matrix-v7.mat Binary files differnew file mode 100755 index 000000000..a2efbebcb --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyint8matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/emptysparse-v6.mat b/modules/matio/tests/unit_tests/emptysparse-v6.mat Binary files differnew file mode 100755 index 000000000..d6ca4a5f0 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptysparse-v6.mat diff --git a/modules/matio/tests/unit_tests/emptysparse-v7.mat b/modules/matio/tests/unit_tests/emptysparse-v7.mat Binary files differnew file mode 100755 index 000000000..0e8bfbccc --- /dev/null +++ b/modules/matio/tests/unit_tests/emptysparse-v7.mat diff --git a/modules/matio/tests/unit_tests/emptystringmatrix-v4.mat b/modules/matio/tests/unit_tests/emptystringmatrix-v4.mat Binary files differnew file mode 100755 index 000000000..5e2e5561b --- /dev/null +++ b/modules/matio/tests/unit_tests/emptystringmatrix-v4.mat diff --git a/modules/matio/tests/unit_tests/emptystringmatrix-v6.mat b/modules/matio/tests/unit_tests/emptystringmatrix-v6.mat Binary files differnew file mode 100755 index 000000000..44e55636b --- /dev/null +++ b/modules/matio/tests/unit_tests/emptystringmatrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptystringmatrix-v7.mat b/modules/matio/tests/unit_tests/emptystringmatrix-v7.mat Binary files differnew file mode 100755 index 000000000..921a371d0 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptystringmatrix-v7.mat diff --git a/modules/matio/tests/unit_tests/emptystruct-v6.mat b/modules/matio/tests/unit_tests/emptystruct-v6.mat Binary files differnew file mode 100755 index 000000000..a217cc71b --- /dev/null +++ b/modules/matio/tests/unit_tests/emptystruct-v6.mat diff --git a/modules/matio/tests/unit_tests/emptystruct-v7.mat b/modules/matio/tests/unit_tests/emptystruct-v7.mat Binary files differnew file mode 100755 index 000000000..3fa8dbabb --- /dev/null +++ b/modules/matio/tests/unit_tests/emptystruct-v7.mat diff --git a/modules/matio/tests/unit_tests/emptyuint16matrix-v6.mat b/modules/matio/tests/unit_tests/emptyuint16matrix-v6.mat Binary files differnew file mode 100755 index 000000000..10d265a2c --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyuint16matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptyuint16matrix-v7.mat b/modules/matio/tests/unit_tests/emptyuint16matrix-v7.mat Binary files differnew file mode 100755 index 000000000..16a7fae8d --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyuint16matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/emptyuint32matrix-v6.mat b/modules/matio/tests/unit_tests/emptyuint32matrix-v6.mat Binary files differnew file mode 100755 index 000000000..1f0d08e83 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyuint32matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptyuint32matrix-v7.mat b/modules/matio/tests/unit_tests/emptyuint32matrix-v7.mat Binary files differnew file mode 100755 index 000000000..34861856d --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyuint32matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/emptyuint8matrix-v6.mat b/modules/matio/tests/unit_tests/emptyuint8matrix-v6.mat Binary files differnew file mode 100755 index 000000000..85d75f628 --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyuint8matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/emptyuint8matrix-v7.mat b/modules/matio/tests/unit_tests/emptyuint8matrix-v7.mat Binary files differnew file mode 100755 index 000000000..43e67bd1c --- /dev/null +++ b/modules/matio/tests/unit_tests/emptyuint8matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/eye100x100-v4.mat b/modules/matio/tests/unit_tests/eye100x100-v4.mat Binary files differnew file mode 100755 index 000000000..1a329f193 --- /dev/null +++ b/modules/matio/tests/unit_tests/eye100x100-v4.mat diff --git a/modules/matio/tests/unit_tests/eye100x100-v6.mat b/modules/matio/tests/unit_tests/eye100x100-v6.mat Binary files differnew file mode 100755 index 000000000..69d4082fd --- /dev/null +++ b/modules/matio/tests/unit_tests/eye100x100-v6.mat diff --git a/modules/matio/tests/unit_tests/eye100x100-v7.mat b/modules/matio/tests/unit_tests/eye100x100-v7.mat Binary files differnew file mode 100755 index 000000000..3215db1fe --- /dev/null +++ b/modules/matio/tests/unit_tests/eye100x100-v7.mat diff --git a/modules/matio/tests/unit_tests/int16colvector-v6.mat b/modules/matio/tests/unit_tests/int16colvector-v6.mat Binary files differnew file mode 100755 index 000000000..922813592 --- /dev/null +++ b/modules/matio/tests/unit_tests/int16colvector-v6.mat diff --git a/modules/matio/tests/unit_tests/int16colvector-v7.mat b/modules/matio/tests/unit_tests/int16colvector-v7.mat Binary files differnew file mode 100755 index 000000000..ad39f9958 --- /dev/null +++ b/modules/matio/tests/unit_tests/int16colvector-v7.mat diff --git a/modules/matio/tests/unit_tests/int16matrix-v6.mat b/modules/matio/tests/unit_tests/int16matrix-v6.mat Binary files differnew file mode 100755 index 000000000..165561c03 --- /dev/null +++ b/modules/matio/tests/unit_tests/int16matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/int16matrix-v7.mat b/modules/matio/tests/unit_tests/int16matrix-v7.mat Binary files differnew file mode 100755 index 000000000..fa754aa38 --- /dev/null +++ b/modules/matio/tests/unit_tests/int16matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/int16rowvector-v6.mat b/modules/matio/tests/unit_tests/int16rowvector-v6.mat Binary files differnew file mode 100755 index 000000000..8fba06bc8 --- /dev/null +++ b/modules/matio/tests/unit_tests/int16rowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/int16rowvector-v7.mat b/modules/matio/tests/unit_tests/int16rowvector-v7.mat Binary files differnew file mode 100755 index 000000000..19956b07e --- /dev/null +++ b/modules/matio/tests/unit_tests/int16rowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/int16scalar-v6.mat b/modules/matio/tests/unit_tests/int16scalar-v6.mat Binary files differnew file mode 100755 index 000000000..463a68340 --- /dev/null +++ b/modules/matio/tests/unit_tests/int16scalar-v6.mat diff --git a/modules/matio/tests/unit_tests/int16scalar-v7.mat b/modules/matio/tests/unit_tests/int16scalar-v7.mat Binary files differnew file mode 100755 index 000000000..67ff81346 --- /dev/null +++ b/modules/matio/tests/unit_tests/int16scalar-v7.mat diff --git a/modules/matio/tests/unit_tests/int32colvector-v6.mat b/modules/matio/tests/unit_tests/int32colvector-v6.mat Binary files differnew file mode 100755 index 000000000..f8e672480 --- /dev/null +++ b/modules/matio/tests/unit_tests/int32colvector-v6.mat diff --git a/modules/matio/tests/unit_tests/int32colvector-v7.mat b/modules/matio/tests/unit_tests/int32colvector-v7.mat Binary files differnew file mode 100755 index 000000000..a9419b7f7 --- /dev/null +++ b/modules/matio/tests/unit_tests/int32colvector-v7.mat diff --git a/modules/matio/tests/unit_tests/int32matrix-v6.mat b/modules/matio/tests/unit_tests/int32matrix-v6.mat Binary files differnew file mode 100755 index 000000000..a76e2767c --- /dev/null +++ b/modules/matio/tests/unit_tests/int32matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/int32matrix-v7.mat b/modules/matio/tests/unit_tests/int32matrix-v7.mat Binary files differnew file mode 100755 index 000000000..fe0a932e2 --- /dev/null +++ b/modules/matio/tests/unit_tests/int32matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/int32rowvector-v6.mat b/modules/matio/tests/unit_tests/int32rowvector-v6.mat Binary files differnew file mode 100755 index 000000000..deb1f3acc --- /dev/null +++ b/modules/matio/tests/unit_tests/int32rowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/int32rowvector-v7.mat b/modules/matio/tests/unit_tests/int32rowvector-v7.mat Binary files differnew file mode 100755 index 000000000..d07d8b045 --- /dev/null +++ b/modules/matio/tests/unit_tests/int32rowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/int32scalar-v6.mat b/modules/matio/tests/unit_tests/int32scalar-v6.mat Binary files differnew file mode 100755 index 000000000..ed58aaa59 --- /dev/null +++ b/modules/matio/tests/unit_tests/int32scalar-v6.mat diff --git a/modules/matio/tests/unit_tests/int32scalar-v7.mat b/modules/matio/tests/unit_tests/int32scalar-v7.mat Binary files differnew file mode 100755 index 000000000..6c43a6acd --- /dev/null +++ b/modules/matio/tests/unit_tests/int32scalar-v7.mat diff --git a/modules/matio/tests/unit_tests/int8colvector-v6.mat b/modules/matio/tests/unit_tests/int8colvector-v6.mat Binary files differnew file mode 100755 index 000000000..27bfa9fc9 --- /dev/null +++ b/modules/matio/tests/unit_tests/int8colvector-v6.mat diff --git a/modules/matio/tests/unit_tests/int8colvector-v7.mat b/modules/matio/tests/unit_tests/int8colvector-v7.mat Binary files differnew file mode 100755 index 000000000..54a7ab88f --- /dev/null +++ b/modules/matio/tests/unit_tests/int8colvector-v7.mat diff --git a/modules/matio/tests/unit_tests/int8matrix-v6.mat b/modules/matio/tests/unit_tests/int8matrix-v6.mat Binary files differnew file mode 100755 index 000000000..d6b47ea2f --- /dev/null +++ b/modules/matio/tests/unit_tests/int8matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/int8matrix-v7.mat b/modules/matio/tests/unit_tests/int8matrix-v7.mat Binary files differnew file mode 100755 index 000000000..4094c5d6c --- /dev/null +++ b/modules/matio/tests/unit_tests/int8matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/int8rowvector-v6.mat b/modules/matio/tests/unit_tests/int8rowvector-v6.mat Binary files differnew file mode 100755 index 000000000..0906b4608 --- /dev/null +++ b/modules/matio/tests/unit_tests/int8rowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/int8rowvector-v7.mat b/modules/matio/tests/unit_tests/int8rowvector-v7.mat Binary files differnew file mode 100755 index 000000000..faf8a8a00 --- /dev/null +++ b/modules/matio/tests/unit_tests/int8rowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/int8scalar-v6.mat b/modules/matio/tests/unit_tests/int8scalar-v6.mat Binary files differnew file mode 100755 index 000000000..c430ec8f0 --- /dev/null +++ b/modules/matio/tests/unit_tests/int8scalar-v6.mat diff --git a/modules/matio/tests/unit_tests/int8scalar-v7.mat b/modules/matio/tests/unit_tests/int8scalar-v7.mat Binary files differnew file mode 100755 index 000000000..b78104b84 --- /dev/null +++ b/modules/matio/tests/unit_tests/int8scalar-v7.mat diff --git a/modules/matio/tests/unit_tests/loadmatfile.dia.ref b/modules/matio/tests/unit_tests/loadmatfile.dia.ref new file mode 100755 index 000000000..10c853cb3 --- /dev/null +++ b/modules/matio/tests/unit_tests/loadmatfile.dia.ref @@ -0,0 +1,475 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Vincent Couvert <vincent.couvert@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +// This Scilab script loads MAT-files to test the MATIO module +clear all +// +// Loads all MAT-files +// +binFormats = ["-v4";"-v6";"-v7"]; +for formatIndex = 1:size(binFormats, "*") + matFiles = gsort(listfiles("SCI/modules/matio/tests/unit_tests/*" + binFormats(formatIndex) + ".mat"), "r", "i"); + for fileIndex=1:size(matFiles, "*") + disp(fileparts(matFiles(fileIndex), "fname") + fileparts(matFiles(fileIndex), "extension")); + loadmatfile(matFiles(fileIndex)); + end + // + // TESTS FOR CELL ARRAYS + // + if binFormats(formatIndex) <> "-v4" then // Cell arrays can not be stored in Matlab 4 binary files + assert_checkequal(emptycell , cell()); + assert_checkequal(scalarcell , makecell([1 1], 1.23)); + assert_checkequal(rowcell , makecell([1 3], "abc", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], 1.23)); + assert_checkequal(colcell , makecell([3 1], [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], "abc", 1.23)); + assert_checkequal(arraycell , makecell([2 3], "a", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], int8(1), "abc", 1.23, eye(100,100))); + assert_checkequal(stringcell , makecell([2 3], "abc", "def", "ghi", "jkl", "mno", "pqr")); + clear emptycell scalarcell rowcell colcell arraycell stringcell + end + // + // TESTS FOR STRUCTURE ARRAYS + // + if binFormats(formatIndex) <> "-v4" then // Struct arrays can not be stored in Matlab 4 binary files + sciemptystruct = struct(); + assert_checkequal(emptystruct , sciemptystruct); + sciscalarstruct = struct("f1", 10, "ftwo", "Hello", "field3", int8(12)); + assert_checkequal(scalarstruct , sciscalarstruct); + scirowstruct = struct("field1", 10, "field2", "Hello", "field3", int8(12)); + scirowstruct(1,2).field1 = "test"; + scirowstruct(1,2).field2 = eye(10, 10); + scirowstruct(1,3).field2 = "a field contents"; + scirowstruct(1,3).field3 = 1.23+4.56*%i; + assert_checkequal(rowstruct , scirowstruct); + scicolstruct = struct("name", 10, "phone", "Hello", "address", int8(12)); + scicolstruct(2,1).name = "test"; + scicolstruct(2,1).phone = eye(10, 10); + scicolstruct(3,1).phone = "a field contents"; + scicolstruct(3,1).address = 1.23+4.56*%i; + assert_checkequal(colstruct , scicolstruct); + sciarraystruct = struct("field1", 10, "field2", "Hello", "field3", int8(12)); + sciarraystruct(1,2).field1 = "test"; + sciarraystruct(1,2).field2 = eye(10, 10); + sciarraystruct(1,3).field2 = "a field contents"; + sciarraystruct(1,3).field3 = 1.23+4.56*%i; + sciarraystruct(2,1).name = "test"; + sciarraystruct(2,1).phone = eye(10, 10); + sciarraystruct(3,1).phone = "a field contents"; + sciarraystruct(3,1).address = 1.23+4.56*%i; + assert_checkequal(arraystruct , sciarraystruct); + clear emptystruct scalarstruct rowstruct colstruct arraystruct + clear sciemptystruct sciscalarstruct scirowstruct scicolstruct sciarraystruct + end + // + // TESTS FOR OBJECTS + // + // TODO + // + // TESTS FOR CHARACTER ARRAYS + // + assert_checkequal(emptystringmatrix , ""); + assert_checkequal(stringscalar , "a"); + assert_checkequal(stringrowvector , ["abc"]); + assert_checkequal(stringcolvector , ["a";"b";"c"]); + assert_checkequal(stringmatrix , ["abc";"def"]); + clear emptystringmatrix stringscalar stringrowvector stringcolvector stringmatrix + // + // TESTS FOR DOUBLE PRECISION ARRAYS + // + assert_checkequal(emptydoublematrix , []); + assert_checkequal(realdoublescalar , 1.23); + assert_checkequal(cplxdoublescalar , 1.23 + 4.56*%i); + assert_checkequal(realdoublerowvector , [1.23 -4.56 7.89]); + assert_checkequal(cplxdoublerowvector , [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i]); + assert_checkequal(realdoublecolvector , [1.23;-4.56;7.89]); + assert_checkequal(cplxdoublecolvector , [1.23+7.89*%i;4.56-1.23*%i;7.89+4.56*%i]); + assert_checkequal(realdoublematrix , [1.23 -4.56 7.89;9.87 6.54 -3.21]); + assert_checkequal(cplxdoublematrix , [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i;9.87+3.21*%i 6.54+9.87*%i 3.21-6.54*%i]); + clear emptydoublematrix realdoublescalar cplxdoublescalar realdoublerowvector cplxdoublerowvector realdoublecolvector cplxdoublecolvector realdoublematrix cplxdoublematrix + // + // TESTS FOR SINGLE PRECISION ARRAYS + // + // TODO + // + // TESTS FOR SPARSE MATRICES + // + if binFormats(formatIndex) <> "-v4" then // Integers can not be stored in Matlab 4 binary files + assert_checkequal(emptysparse , []); + assert_checkequal(realscalarsparse , sparse(1.23)); + //assert_checkequal(cplxscalarsparse , sparse(1.23 + 4.56i)); + assert_checkequal(realrowvectorsparse , sparse([1.23 0 7.89])); + //assert_checkequal(cplxrowvectorsparse , sparse([1.23+7.89i 0 7.89+4.56i])); + assert_checkequal(realcolvectorsparse , sparse([1.23;0;7.89])); + //assert_checkequal(cplxcolvectorsparse , sparse([1.23+7.89i;;7.89+4.56i])); + assert_checkequal(realmatrixsparse , sparse([1.23 0 7.89;0 6.54 -3.21])); + //assert_checkequal(cplxmatrixsparse , sparse([1.23+7.89i 0 7.89+4.56i;0 6.54+9.87i 3.21-6.54i])); +end + if binFormats(formatIndex) <> "-v4" then // Integers can not be stored in Matlab 4 binary files + // + // TESTS FOR 8-BITS SIGNED INTEGERS + // + assert_checkequal(emptyint8matrix , int8([])); + assert_checkequal(int8scalar , int8(1)); + assert_checkequal(int8rowvector , int8([1 -4 7])); + assert_checkequal(int8colvector , int8([1;-4;7])); + assert_checkequal(int8matrix , int8([1 -4 7;-9 6 -3])); + clear emptyint8matrix int8scalar int8rowvector int8colvector int8matrix + // + // TESTS FOR 16-BITS SIGNED INTEGERS + // + assert_checkequal(emptyint16matrix , int16([])); + assert_checkequal(int16scalar , int16(1)); + assert_checkequal(int16rowvector , int16([1 -4 7])); + assert_checkequal(int16colvector , int16([1;-4;7])); + assert_checkequal(int16matrix , int16([1 -4 7;-9 6 -3])); + clear emptyint16matrix int16scalar int16rowvector int16colvector int16matrix + // + // TESTS FOR 32-BITS SIGNED INTEGERS + // + assert_checkequal(emptyint32matrix , int32([])); + assert_checkequal(int32scalar , int32(1)); + assert_checkequal(int32rowvector , int32([1 -4 7])); + assert_checkequal(int32colvector , int32([1;-4;7])); + assert_checkequal(int32matrix , int32([1 -4 7;-9 6 -3])); + clear emptyint32matrix int32scalar int32rowvector int32colvector int32matrix + // TODO: int64 tests ? + // + // TESTS FOR 8-BITS UNSIGNED INTEGERS + // + assert_checkequal(emptyuint8matrix , uint8([])); + assert_checkequal(uint8scalar , uint8(1)); + //assert_checkequal(uint8rowvector , uint8([1 -4 7])); + assert_checkequal(uint8rowvector , uint8([1 0 7])); + //assert_checkequal(uint8colvector , uint8([1;-4;7])); + assert_checkequal(uint8colvector , uint8([1;0;7])); + //assert_checkequal(uint8matrix , uint8([1 -4 7;-9 6 -3])); + assert_checkequal(uint8matrix , uint8([1 0 7;0 6 0])); + clear emptyuint8matrix uint8scalar uint8rowvector uint8colvector uint8matrix + // + // TESTS FOR 16-BITS UNSIGNED INTEGERS + // + assert_checkequal(emptyuint16matrix , uint16([])); + assert_checkequal(uint16scalar , uint16(1)); + //assert_checkequal(uint16rowvector , uint16([1 -4 7])); + assert_checkequal(uint16rowvector , uint16([1 0 7])); + //assert_checkequal(uint16colvector , uint16([1;-4;7])); + assert_checkequal(uint16colvector , uint16([1;0;7])); + //assert_checkequal(uint16matrix , uint16([1 -4 7;-9 6 -3])); + assert_checkequal(uint16matrix , uint16([1 0 7;0 6 0])); + clear emptyuint16matrix uint16scalar uint16rowvector uint16colvector uint16matrix + // + // TESTS FOR 32-BITS UNSIGNED INTEGERS + // + assert_checkequal(emptyuint32matrix , uint32([])); + assert_checkequal(uint32scalar , uint32(1)); + //assert_checkequal(uint32rowvector , uint32([1 -4 7])); + assert_checkequal(uint32rowvector , uint32([1 0 7])); + //assert_checkequal(uint32colvector , uint32([1;-4;7])); + assert_checkequal(uint32colvector , uint32([1;0;7])); + //assert_checkequal(uint32matrix , uint32([1 -4 7;-9 6 -3])); + assert_checkequal(uint32matrix , uint32([1 0 7;0 6 0])); + clear emptyuint32matrix uint32scalar uint32rowvector uint32colvector uint32matrix + // TODO: uint64 tests ? + // + // TESTS FOR ND-ARRAYS + // + assert_checkequal(emptyNDarray.dims , int32([0 0 0])); + assert_checkequal(emptyNDarray.entries , []); + assert_checkequal(realdoubleNDarray , matrix(1:24, 2, 3, 4)); + assert_checkequal(complexdoubleNDarray , matrix((1:24) + (1:24)*%i, 2, 3, 4)); + clear emptyNDarray realdoubleNDarray complexdoubleNDarray + end + // + // MISC + // + assert_checkequal(eye100x100 , eye(100,100)); +end + + cplxdoublecolvector-v4.mat + + cplxdoublematrix-v4.mat + + cplxdoublerowvector-v4.mat + + cplxdoublescalar-v4.mat + + emptydoublematrix-v4.mat + + emptystringmatrix-v4.mat + + eye100x100-v4.mat + + realdoublecolvector-v4.mat + + realdoublematrix-v4.mat + + realdoublerowvector-v4.mat + + realdoublescalar-v4.mat + + stringcolvector-v4.mat + + stringmatrix-v4.mat + + stringrowvector-v4.mat + + stringscalar-v4.mat + + arraycell-v6.mat + + arraystruct-v6.mat + + colcell-v6.mat + + colstruct-v6.mat + + complexdoubleNDarray-v6.mat + + cplxdoublecolvector-v6.mat + + cplxdoublematrix-v6.mat + + cplxdoublerowvector-v6.mat + + cplxdoublescalar-v6.mat + + emptyNDarray-v6.mat + + emptycell-v6.mat + + emptydoublematrix-v6.mat + + emptyint16matrix-v6.mat + + emptyint32matrix-v6.mat + + emptyint8matrix-v6.mat + + emptysparse-v6.mat + + emptystringmatrix-v6.mat + + emptystruct-v6.mat + + emptyuint16matrix-v6.mat + + emptyuint32matrix-v6.mat + + emptyuint8matrix-v6.mat + + eye100x100-v6.mat + + int16colvector-v6.mat + + int16matrix-v6.mat + + int16rowvector-v6.mat + + int16scalar-v6.mat + + int32colvector-v6.mat + + int32matrix-v6.mat + + int32rowvector-v6.mat + + int32scalar-v6.mat + + int8colvector-v6.mat + + int8matrix-v6.mat + + int8rowvector-v6.mat + + int8scalar-v6.mat + + realcolvectorsparse-v6.mat + + realdoubleNDarray-v6.mat + + realdoublecolvector-v6.mat + + realdoublematrix-v6.mat + + realdoublerowvector-v6.mat + + realdoublescalar-v6.mat + + realmatrixsparse-v6.mat + + realrowvectorsparse-v6.mat + + realscalarsparse-v6.mat + + rowcell-v6.mat + + rowstruct-v6.mat + + scalarcell-v6.mat + + scalarstruct-v6.mat + + stringcell-v6.mat + + stringcolvector-v6.mat + + stringmatrix-v6.mat + + stringrowvector-v6.mat + + stringscalar-v6.mat + + uint16colvector-v6.mat + + uint16matrix-v6.mat + + uint16rowvector-v6.mat + + uint16scalar-v6.mat + + uint32colvector-v6.mat + + uint32matrix-v6.mat + + uint32rowvector-v6.mat + + uint32scalar-v6.mat + + uint8colvector-v6.mat + + uint8matrix-v6.mat + + uint8rowvector-v6.mat + + uint8scalar-v6.mat + + arraycell-v7.mat + + arraystruct-v7.mat + + colcell-v7.mat + + colstruct-v7.mat + + complexdoubleNDarray-v7.mat + + cplxdoublecolvector-v7.mat + + cplxdoublematrix-v7.mat + + cplxdoublerowvector-v7.mat + + cplxdoublescalar-v7.mat + + emptyNDarray-v7.mat + + emptycell-v7.mat + + emptydoublematrix-v7.mat + + emptyint16matrix-v7.mat + + emptyint32matrix-v7.mat + + emptyint8matrix-v7.mat + + emptysparse-v7.mat + + emptystringmatrix-v7.mat + + emptystruct-v7.mat + + emptyuint16matrix-v7.mat + + emptyuint32matrix-v7.mat + + emptyuint8matrix-v7.mat + + eye100x100-v7.mat + + int16colvector-v7.mat + + int16matrix-v7.mat + + int16rowvector-v7.mat + + int16scalar-v7.mat + + int32colvector-v7.mat + + int32matrix-v7.mat + + int32rowvector-v7.mat + + int32scalar-v7.mat + + int8colvector-v7.mat + + int8matrix-v7.mat + + int8rowvector-v7.mat + + int8scalar-v7.mat + + realcolvectorsparse-v7.mat + + realdoubleNDarray-v7.mat + + realdoublecolvector-v7.mat + + realdoublematrix-v7.mat + + realdoublerowvector-v7.mat + + realdoublescalar-v7.mat + + realmatrixsparse-v7.mat + + realrowvectorsparse-v7.mat + + realscalarsparse-v7.mat + + rowcell-v7.mat + + rowstruct-v7.mat + + scalarcell-v7.mat + + scalarstruct-v7.mat + + stringcell-v7.mat + + stringcolvector-v7.mat + + stringmatrix-v7.mat + + stringrowvector-v7.mat + + stringscalar-v7.mat + + uint16colvector-v7.mat + + uint16matrix-v7.mat + + uint16rowvector-v7.mat + + uint16scalar-v7.mat + + uint32colvector-v7.mat + + uint32matrix-v7.mat + + uint32rowvector-v7.mat + + uint32scalar-v7.mat + + uint8colvector-v7.mat + + uint8matrix-v7.mat + + uint8rowvector-v7.mat + + uint8scalar-v7.mat +// TODO: read all variables from a single file ? diff --git a/modules/matio/tests/unit_tests/loadmatfile.tst b/modules/matio/tests/unit_tests/loadmatfile.tst new file mode 100755 index 000000000..3a22b35e0 --- /dev/null +++ b/modules/matio/tests/unit_tests/loadmatfile.tst @@ -0,0 +1,252 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Vincent Couvert <vincent.couvert@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +// This Scilab script loads MAT-files to test the MATIO module + +clear all + +// +// Loads all MAT-files +// + +binFormats = ["-v4";"-v6";"-v7"]; +for formatIndex = 1:size(binFormats, "*") + matFiles = gsort(listfiles("SCI/modules/matio/tests/unit_tests/*" + binFormats(formatIndex) + ".mat"), "r", "i"); + for fileIndex=1:size(matFiles, "*") + disp(fileparts(matFiles(fileIndex), "fname") + fileparts(matFiles(fileIndex), "extension")); + loadmatfile(matFiles(fileIndex)); + end + + // + // TESTS FOR CELL ARRAYS + // + if binFormats(formatIndex) <> "-v4" then // Cell arrays can not be stored in Matlab 4 binary files + + assert_checkequal(emptycell , cell()); + assert_checkequal(scalarcell , makecell([1 1], 1.23)); + assert_checkequal(rowcell , makecell([1 3], "abc", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], 1.23)); + assert_checkequal(colcell , makecell([3 1], [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], "abc", 1.23)); + assert_checkequal(arraycell , makecell([2 3], "a", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], int8(1), "abc", 1.23, eye(100,100))); + assert_checkequal(stringcell , makecell([2 3], "abc", "def", "ghi", "jkl", "mno", "pqr")); + + clear emptycell scalarcell rowcell colcell arraycell stringcell + end + + // + // TESTS FOR STRUCTURE ARRAYS + // + if binFormats(formatIndex) <> "-v4" then // Struct arrays can not be stored in Matlab 4 binary files + + sciemptystruct = struct(); + assert_checkequal(emptystruct , sciemptystruct); + + sciscalarstruct = struct("f1", 10, "ftwo", "Hello", "field3", int8(12)); + assert_checkequal(scalarstruct , sciscalarstruct); + + scirowstruct = struct("field1", 10, "field2", "Hello", "field3", int8(12)); + scirowstruct(1,2).field1 = "test"; + scirowstruct(1,2).field2 = eye(10, 10); + scirowstruct(1,3).field2 = "a field contents"; + scirowstruct(1,3).field3 = 1.23+4.56*%i; + assert_checkequal(rowstruct , scirowstruct); + + scicolstruct = struct("name", 10, "phone", "Hello", "address", int8(12)); + scicolstruct(2,1).name = "test"; + scicolstruct(2,1).phone = eye(10, 10); + scicolstruct(3,1).phone = "a field contents"; + scicolstruct(3,1).address = 1.23+4.56*%i; + assert_checkequal(colstruct , scicolstruct); + + sciarraystruct = struct("field1", 10, "field2", "Hello", "field3", int8(12)); + sciarraystruct(1,2).field1 = "test"; + sciarraystruct(1,2).field2 = eye(10, 10); + sciarraystruct(1,3).field2 = "a field contents"; + sciarraystruct(1,3).field3 = 1.23+4.56*%i; + sciarraystruct(2,1).name = "test"; + sciarraystruct(2,1).phone = eye(10, 10); + sciarraystruct(3,1).phone = "a field contents"; + sciarraystruct(3,1).address = 1.23+4.56*%i; + assert_checkequal(arraystruct , sciarraystruct); + + clear emptystruct scalarstruct rowstruct colstruct arraystruct + clear sciemptystruct sciscalarstruct scirowstruct scicolstruct sciarraystruct + + end + + // + // TESTS FOR OBJECTS + // + + // TODO + + // + // TESTS FOR CHARACTER ARRAYS + // + + assert_checkequal(emptystringmatrix , ""); + assert_checkequal(stringscalar , "a"); + assert_checkequal(stringrowvector , ["abc"]); + assert_checkequal(stringcolvector , ["a";"b";"c"]); + assert_checkequal(stringmatrix , ["abc";"def"]); + + clear emptystringmatrix stringscalar stringrowvector stringcolvector stringmatrix + + // + // TESTS FOR DOUBLE PRECISION ARRAYS + // + + assert_checkequal(emptydoublematrix , []); + + assert_checkequal(realdoublescalar , 1.23); + assert_checkequal(cplxdoublescalar , 1.23 + 4.56*%i); + + assert_checkequal(realdoublerowvector , [1.23 -4.56 7.89]); + assert_checkequal(cplxdoublerowvector , [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i]); + + assert_checkequal(realdoublecolvector , [1.23;-4.56;7.89]); + assert_checkequal(cplxdoublecolvector , [1.23+7.89*%i;4.56-1.23*%i;7.89+4.56*%i]); + + assert_checkequal(realdoublematrix , [1.23 -4.56 7.89;9.87 6.54 -3.21]); + assert_checkequal(cplxdoublematrix , [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i;9.87+3.21*%i 6.54+9.87*%i 3.21-6.54*%i]); + + clear emptydoublematrix realdoublescalar cplxdoublescalar realdoublerowvector cplxdoublerowvector realdoublecolvector cplxdoublecolvector realdoublematrix cplxdoublematrix + + // + // TESTS FOR SINGLE PRECISION ARRAYS + // + + // TODO + + // + // TESTS FOR SPARSE MATRICES + // + + if binFormats(formatIndex) <> "-v4" then // Integers can not be stored in Matlab 4 binary files + assert_checkequal(emptysparse , []); + + assert_checkequal(realscalarsparse , sparse(1.23)); + //assert_checkequal(cplxscalarsparse , sparse(1.23 + 4.56i)); + + assert_checkequal(realrowvectorsparse , sparse([1.23 0 7.89])); + //assert_checkequal(cplxrowvectorsparse , sparse([1.23+7.89i 0 7.89+4.56i])); + + assert_checkequal(realcolvectorsparse , sparse([1.23;0;7.89])); + //assert_checkequal(cplxcolvectorsparse , sparse([1.23+7.89i;;7.89+4.56i])); + + assert_checkequal(realmatrixsparse , sparse([1.23 0 7.89;0 6.54 -3.21])); + //assert_checkequal(cplxmatrixsparse , sparse([1.23+7.89i 0 7.89+4.56i;0 6.54+9.87i 3.21-6.54i])); +end + if binFormats(formatIndex) <> "-v4" then // Integers can not be stored in Matlab 4 binary files + + // + // TESTS FOR 8-BITS SIGNED INTEGERS + // + + assert_checkequal(emptyint8matrix , int8([])); + assert_checkequal(int8scalar , int8(1)); + assert_checkequal(int8rowvector , int8([1 -4 7])); + assert_checkequal(int8colvector , int8([1;-4;7])); + assert_checkequal(int8matrix , int8([1 -4 7;-9 6 -3])); + + clear emptyint8matrix int8scalar int8rowvector int8colvector int8matrix + + // + // TESTS FOR 16-BITS SIGNED INTEGERS + // + + assert_checkequal(emptyint16matrix , int16([])); + assert_checkequal(int16scalar , int16(1)); + assert_checkequal(int16rowvector , int16([1 -4 7])); + assert_checkequal(int16colvector , int16([1;-4;7])); + assert_checkequal(int16matrix , int16([1 -4 7;-9 6 -3])); + + clear emptyint16matrix int16scalar int16rowvector int16colvector int16matrix + + // + // TESTS FOR 32-BITS SIGNED INTEGERS + // + + assert_checkequal(emptyint32matrix , int32([])); + assert_checkequal(int32scalar , int32(1)); + assert_checkequal(int32rowvector , int32([1 -4 7])); + assert_checkequal(int32colvector , int32([1;-4;7])); + assert_checkequal(int32matrix , int32([1 -4 7;-9 6 -3])); + + clear emptyint32matrix int32scalar int32rowvector int32colvector int32matrix + + // TODO: int64 tests ? + + // + // TESTS FOR 8-BITS UNSIGNED INTEGERS + // + + assert_checkequal(emptyuint8matrix , uint8([])); + assert_checkequal(uint8scalar , uint8(1)); + //assert_checkequal(uint8rowvector , uint8([1 -4 7])); + assert_checkequal(uint8rowvector , uint8([1 0 7])); + //assert_checkequal(uint8colvector , uint8([1;-4;7])); + assert_checkequal(uint8colvector , uint8([1;0;7])); + //assert_checkequal(uint8matrix , uint8([1 -4 7;-9 6 -3])); + assert_checkequal(uint8matrix , uint8([1 0 7;0 6 0])); + + clear emptyuint8matrix uint8scalar uint8rowvector uint8colvector uint8matrix + + // + // TESTS FOR 16-BITS UNSIGNED INTEGERS + // + + assert_checkequal(emptyuint16matrix , uint16([])); + assert_checkequal(uint16scalar , uint16(1)); + //assert_checkequal(uint16rowvector , uint16([1 -4 7])); + assert_checkequal(uint16rowvector , uint16([1 0 7])); + //assert_checkequal(uint16colvector , uint16([1;-4;7])); + assert_checkequal(uint16colvector , uint16([1;0;7])); + //assert_checkequal(uint16matrix , uint16([1 -4 7;-9 6 -3])); + assert_checkequal(uint16matrix , uint16([1 0 7;0 6 0])); + + clear emptyuint16matrix uint16scalar uint16rowvector uint16colvector uint16matrix + + // + // TESTS FOR 32-BITS UNSIGNED INTEGERS + // + + assert_checkequal(emptyuint32matrix , uint32([])); + assert_checkequal(uint32scalar , uint32(1)); + //assert_checkequal(uint32rowvector , uint32([1 -4 7])); + assert_checkequal(uint32rowvector , uint32([1 0 7])); + //assert_checkequal(uint32colvector , uint32([1;-4;7])); + assert_checkequal(uint32colvector , uint32([1;0;7])); + //assert_checkequal(uint32matrix , uint32([1 -4 7;-9 6 -3])); + assert_checkequal(uint32matrix , uint32([1 0 7;0 6 0])); + + clear emptyuint32matrix uint32scalar uint32rowvector uint32colvector uint32matrix + + // TODO: uint64 tests ? + + + // + // TESTS FOR ND-ARRAYS + // + assert_checkequal(emptyNDarray.dims , int32([0 0 0])); + assert_checkequal(emptyNDarray.entries , []); + assert_checkequal(realdoubleNDarray , matrix(1:24, 2, 3, 4)); + assert_checkequal(complexdoubleNDarray , matrix((1:24) + (1:24)*%i, 2, 3, 4)); + + clear emptyNDarray realdoubleNDarray complexdoubleNDarray + + end + + // + // MISC + // + assert_checkequal(eye100x100 , eye(100,100)); + +end + +// TODO: read all variables from a single file ? diff --git a/modules/matio/tests/unit_tests/matfile_close.dia.ref b/modules/matio/tests/unit_tests/matfile_close.dia.ref new file mode 100755 index 000000000..e70df8e64 --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_close.dia.ref @@ -0,0 +1,19 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +filename=TMPDIR+"/test_matfile.mat"; +A = rand(10,10); +B = sprand(100,100,0.1); +savematfile(filename,'A','B','-v6'); +clear(); +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename); +assert_checkequal(fd, 0); +assert_checkequal(matfile_close(fd), %t); +assert_checktrue(isfile(filename)); +assert_checkequal(matfile_close(fd), %f); +File already closed. diff --git a/modules/matio/tests/unit_tests/matfile_close.tst b/modules/matio/tests/unit_tests/matfile_close.tst new file mode 100755 index 000000000..5b0f2e7aa --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_close.tst @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +filename=TMPDIR+"/test_matfile.mat"; + +A = rand(10,10); +B = sprand(100,100,0.1); +savematfile(filename,'A','B','-v6'); +clear(); +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename); +assert_checkequal(fd, 0); +assert_checkequal(matfile_close(fd), %t); +assert_checktrue(isfile(filename)); +assert_checkequal(matfile_close(fd), %f); diff --git a/modules/matio/tests/unit_tests/matfile_listvar.dia.ref b/modules/matio/tests/unit_tests/matfile_listvar.dia.ref new file mode 100755 index 000000000..fbb212dd1 --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_listvar.dia.ref @@ -0,0 +1,30 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +filename=TMPDIR+"/test_matfile.mat"; +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; +savematfile(filename,'A','B','C','D','-v6'); +clear(); +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename); +[name, classes, types]=matfile_listvar(fd); +assert_checkequal(matfile_close(fd), %t); +assert_checkequal(name(1), "A"); +assert_checkequal(name(2), "B"); +assert_checkequal(name(3), "C"); +assert_checkequal(name(4), "D"); +assert_checkequal(types(1), 9); +assert_checkequal(types(2), 9); +assert_checkequal(types(3), 2); +assert_checkequal(types(4), 2); +assert_checkequal(classes(1), 6); +assert_checkequal(classes(2), 5); +assert_checkequal(classes(3), 4); +assert_checkequal(classes(4), 4); diff --git a/modules/matio/tests/unit_tests/matfile_listvar.tst b/modules/matio/tests/unit_tests/matfile_listvar.tst new file mode 100755 index 000000000..85236895a --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_listvar.tst @@ -0,0 +1,36 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +filename=TMPDIR+"/test_matfile.mat"; + +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; +savematfile(filename,'A','B','C','D','-v6'); +clear(); +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename); +[name, classes, types]=matfile_listvar(fd); +assert_checkequal(matfile_close(fd), %t); + +assert_checkequal(name(1), "A"); +assert_checkequal(name(2), "B"); +assert_checkequal(name(3), "C"); +assert_checkequal(name(4), "D"); + +assert_checkequal(types(1), 9); +assert_checkequal(types(2), 9); +assert_checkequal(types(3), 2); +assert_checkequal(types(4), 2); + +assert_checkequal(classes(1), 6); +assert_checkequal(classes(2), 5); +assert_checkequal(classes(3), 4); +assert_checkequal(classes(4), 4); diff --git a/modules/matio/tests/unit_tests/matfile_open.dia.ref b/modules/matio/tests/unit_tests/matfile_open.dia.ref new file mode 100755 index 000000000..30cb4752c --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_open.dia.ref @@ -0,0 +1,17 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +filename=TMPDIR+"/test_matfile.mat"; +A = rand(10,10); +B = sprand(100,100,0.1); +savematfile(filename,'A','B','-v6'); +clear(); +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename); +assert_checkequal(fd, 0); +matfile_close(fd); +assert_checktrue(isfile(filename)); diff --git a/modules/matio/tests/unit_tests/matfile_open.tst b/modules/matio/tests/unit_tests/matfile_open.tst new file mode 100755 index 000000000..45ca5ff2c --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_open.tst @@ -0,0 +1,20 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +filename=TMPDIR+"/test_matfile.mat"; + +A = rand(10,10); +B = sprand(100,100,0.1); +savematfile(filename,'A','B','-v6'); +clear(); +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename); +assert_checkequal(fd, 0); +matfile_close(fd); +assert_checktrue(isfile(filename)); diff --git a/modules/matio/tests/unit_tests/matfile_varreadnext.dia.ref b/modules/matio/tests/unit_tests/matfile_varreadnext.dia.ref new file mode 100755 index 000000000..dc1d16ad8 --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_varreadnext.dia.ref @@ -0,0 +1,31 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +filename=TMPDIR+"/test_matfile.mat"; +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; +savematfile(filename,'A','B','C','D','-v6'); +fd = matfile_open(filename); +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "A"); +assert_checkequal(Value, A); +assert_checkequal(Type, 6); +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "B"); +assert_checkequal(Value, B); +assert_checkequal(Type, 5); +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "C"); +assert_checkequal(Value, "foo"); +assert_checkequal(Type, 4); +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "D"); +assert_checkequal(Value, "bar"); +assert_checkequal(Type, 4); +assert_checkequal(matfile_close(fd), %t); diff --git a/modules/matio/tests/unit_tests/matfile_varreadnext.tst b/modules/matio/tests/unit_tests/matfile_varreadnext.tst new file mode 100755 index 000000000..60a54e74a --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_varreadnext.tst @@ -0,0 +1,39 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +filename=TMPDIR+"/test_matfile.mat"; + +A = rand(10,10); +B = sprand(100,100,0.1); +C = "foo"; +D = "bar"; +savematfile(filename,'A','B','C','D','-v6'); +fd = matfile_open(filename); + +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "A"); +assert_checkequal(Value, A); +assert_checkequal(Type, 6); + +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "B"); +assert_checkequal(Value, B); +assert_checkequal(Type, 5); + +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "C"); +assert_checkequal(Value, "foo"); +assert_checkequal(Type, 4); + +[Name, Value, Type] = matfile_varreadnext(fd); +assert_checkequal(Name, "D"); +assert_checkequal(Value, "bar"); +assert_checkequal(Type, 4); + +assert_checkequal(matfile_close(fd), %t);
\ No newline at end of file diff --git a/modules/matio/tests/unit_tests/matfile_varwrite.dia.ref b/modules/matio/tests/unit_tests/matfile_varwrite.dia.ref new file mode 100755 index 000000000..ab88ab664 --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_varwrite.dia.ref @@ -0,0 +1,21 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename,"w"); +matfile_varwrite(fd, "foo", "bar", %t); +A=rand(10,10); +matfile_varwrite(fd, "a", A, %t); +matfile_close(fd); +assert_checktrue(isfile(filename)); +fd = matfile_open(filename); +assert_checkequal(matfile_listvar(fd),["foo";"a"]); +matfile_close(fd); +assert_checktrue(isfile(filename)); +loadmatfile(filename); +assert_checkequal(foo,"bar"); +assert_checkequal(a,A); diff --git a/modules/matio/tests/unit_tests/matfile_varwrite.tst b/modules/matio/tests/unit_tests/matfile_varwrite.tst new file mode 100755 index 000000000..f0c32373c --- /dev/null +++ b/modules/matio/tests/unit_tests/matfile_varwrite.tst @@ -0,0 +1,25 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2012 - S/E - Sylvestre Ledru +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +filename=TMPDIR+"/test_matfile.mat"; +fd = matfile_open(filename,"w"); +matfile_varwrite(fd, "foo", "bar", %t); +A=rand(10,10); +matfile_varwrite(fd, "a", A, %t); +matfile_close(fd); +assert_checktrue(isfile(filename)); + +fd = matfile_open(filename); +assert_checkequal(matfile_listvar(fd),["foo";"a"]); +matfile_close(fd); +assert_checktrue(isfile(filename)); + +loadmatfile(filename); +assert_checkequal(foo,"bar"); +assert_checkequal(a,A); diff --git a/modules/matio/tests/unit_tests/realcolvectorsparse-v6.mat b/modules/matio/tests/unit_tests/realcolvectorsparse-v6.mat Binary files differnew file mode 100755 index 000000000..f6d68a52c --- /dev/null +++ b/modules/matio/tests/unit_tests/realcolvectorsparse-v6.mat diff --git a/modules/matio/tests/unit_tests/realcolvectorsparse-v7.mat b/modules/matio/tests/unit_tests/realcolvectorsparse-v7.mat Binary files differnew file mode 100755 index 000000000..c9d64b44b --- /dev/null +++ b/modules/matio/tests/unit_tests/realcolvectorsparse-v7.mat diff --git a/modules/matio/tests/unit_tests/realdoubleNDarray-v6.mat b/modules/matio/tests/unit_tests/realdoubleNDarray-v6.mat Binary files differnew file mode 100755 index 000000000..9a41440d0 --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoubleNDarray-v6.mat diff --git a/modules/matio/tests/unit_tests/realdoubleNDarray-v7.mat b/modules/matio/tests/unit_tests/realdoubleNDarray-v7.mat Binary files differnew file mode 100755 index 000000000..a9ca3ae23 --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoubleNDarray-v7.mat diff --git a/modules/matio/tests/unit_tests/realdoublecolvector-v4.mat b/modules/matio/tests/unit_tests/realdoublecolvector-v4.mat Binary files differnew file mode 100755 index 000000000..f753d7ecd --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublecolvector-v4.mat diff --git a/modules/matio/tests/unit_tests/realdoublecolvector-v6.mat b/modules/matio/tests/unit_tests/realdoublecolvector-v6.mat Binary files differnew file mode 100755 index 000000000..b1897d5dc --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublecolvector-v6.mat diff --git a/modules/matio/tests/unit_tests/realdoublecolvector-v7.mat b/modules/matio/tests/unit_tests/realdoublecolvector-v7.mat Binary files differnew file mode 100755 index 000000000..21eb767fc --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublecolvector-v7.mat diff --git a/modules/matio/tests/unit_tests/realdoublematrix-v4.mat b/modules/matio/tests/unit_tests/realdoublematrix-v4.mat Binary files differnew file mode 100755 index 000000000..a48ab81d9 --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublematrix-v4.mat diff --git a/modules/matio/tests/unit_tests/realdoublematrix-v6.mat b/modules/matio/tests/unit_tests/realdoublematrix-v6.mat Binary files differnew file mode 100755 index 000000000..44aea267a --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublematrix-v6.mat diff --git a/modules/matio/tests/unit_tests/realdoublematrix-v7.mat b/modules/matio/tests/unit_tests/realdoublematrix-v7.mat Binary files differnew file mode 100755 index 000000000..b78bfe922 --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublematrix-v7.mat diff --git a/modules/matio/tests/unit_tests/realdoublerowvector-v4.mat b/modules/matio/tests/unit_tests/realdoublerowvector-v4.mat Binary files differnew file mode 100755 index 000000000..55a22d5e1 --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublerowvector-v4.mat diff --git a/modules/matio/tests/unit_tests/realdoublerowvector-v6.mat b/modules/matio/tests/unit_tests/realdoublerowvector-v6.mat Binary files differnew file mode 100755 index 000000000..bc3adac26 --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublerowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/realdoublerowvector-v7.mat b/modules/matio/tests/unit_tests/realdoublerowvector-v7.mat Binary files differnew file mode 100755 index 000000000..cf24a0b4e --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublerowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/realdoublescalar-v4.mat b/modules/matio/tests/unit_tests/realdoublescalar-v4.mat Binary files differnew file mode 100755 index 000000000..02e4ae9bd --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublescalar-v4.mat diff --git a/modules/matio/tests/unit_tests/realdoublescalar-v6.mat b/modules/matio/tests/unit_tests/realdoublescalar-v6.mat Binary files differnew file mode 100755 index 000000000..b49049059 --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublescalar-v6.mat diff --git a/modules/matio/tests/unit_tests/realdoublescalar-v7.mat b/modules/matio/tests/unit_tests/realdoublescalar-v7.mat Binary files differnew file mode 100755 index 000000000..c324f05bb --- /dev/null +++ b/modules/matio/tests/unit_tests/realdoublescalar-v7.mat diff --git a/modules/matio/tests/unit_tests/realmatrixsparse-v6.mat b/modules/matio/tests/unit_tests/realmatrixsparse-v6.mat Binary files differnew file mode 100755 index 000000000..d2f105304 --- /dev/null +++ b/modules/matio/tests/unit_tests/realmatrixsparse-v6.mat diff --git a/modules/matio/tests/unit_tests/realmatrixsparse-v7.mat b/modules/matio/tests/unit_tests/realmatrixsparse-v7.mat Binary files differnew file mode 100755 index 000000000..4885b45b2 --- /dev/null +++ b/modules/matio/tests/unit_tests/realmatrixsparse-v7.mat diff --git a/modules/matio/tests/unit_tests/realrowvectorsparse-v6.mat b/modules/matio/tests/unit_tests/realrowvectorsparse-v6.mat Binary files differnew file mode 100755 index 000000000..628392e44 --- /dev/null +++ b/modules/matio/tests/unit_tests/realrowvectorsparse-v6.mat diff --git a/modules/matio/tests/unit_tests/realrowvectorsparse-v7.mat b/modules/matio/tests/unit_tests/realrowvectorsparse-v7.mat Binary files differnew file mode 100755 index 000000000..0ef9c8fcf --- /dev/null +++ b/modules/matio/tests/unit_tests/realrowvectorsparse-v7.mat diff --git a/modules/matio/tests/unit_tests/realscalarsparse-v6.mat b/modules/matio/tests/unit_tests/realscalarsparse-v6.mat Binary files differnew file mode 100755 index 000000000..be4357979 --- /dev/null +++ b/modules/matio/tests/unit_tests/realscalarsparse-v6.mat diff --git a/modules/matio/tests/unit_tests/realscalarsparse-v7.mat b/modules/matio/tests/unit_tests/realscalarsparse-v7.mat Binary files differnew file mode 100755 index 000000000..f8216f5d6 --- /dev/null +++ b/modules/matio/tests/unit_tests/realscalarsparse-v7.mat diff --git a/modules/matio/tests/unit_tests/rowcell-v6.mat b/modules/matio/tests/unit_tests/rowcell-v6.mat Binary files differnew file mode 100755 index 000000000..ab0a7bc20 --- /dev/null +++ b/modules/matio/tests/unit_tests/rowcell-v6.mat diff --git a/modules/matio/tests/unit_tests/rowcell-v7.mat b/modules/matio/tests/unit_tests/rowcell-v7.mat Binary files differnew file mode 100755 index 000000000..6c8ad7cae --- /dev/null +++ b/modules/matio/tests/unit_tests/rowcell-v7.mat diff --git a/modules/matio/tests/unit_tests/rowstruct-v6.mat b/modules/matio/tests/unit_tests/rowstruct-v6.mat Binary files differnew file mode 100755 index 000000000..e8f83db1a --- /dev/null +++ b/modules/matio/tests/unit_tests/rowstruct-v6.mat diff --git a/modules/matio/tests/unit_tests/rowstruct-v7.mat b/modules/matio/tests/unit_tests/rowstruct-v7.mat Binary files differnew file mode 100755 index 000000000..4123cf5c6 --- /dev/null +++ b/modules/matio/tests/unit_tests/rowstruct-v7.mat diff --git a/modules/matio/tests/unit_tests/savematfile.dia.ref b/modules/matio/tests/unit_tests/savematfile.dia.ref new file mode 100755 index 000000000..f37077d98 --- /dev/null +++ b/modules/matio/tests/unit_tests/savematfile.dia.ref @@ -0,0 +1,179 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Vincent Couvert <vincent.couvert@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= +// <-- CLI SHELL MODE --> +// This Scilab script saves MAT-files to test the MATIO module +chdir("SCI/modules/matio/tests/unit_tests/") + ans = + + T +clear +names=who('local'); +// +// TESTS FOR CELL ARRAYS +// +//--emptycell = cell(); +scalarcell = makecell([1 1], 1.23); +//--rowcell = makecell([1 3], "abc", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], 1.23); +//--colcell = makecell([3 1], [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], "abc", 1.23); +//--arraycell = makecell([2 3], "a", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], int8(1), "abc", 1.23, eye(100,100)); +//--stringcell = makecell([2 3], "abc", "def", "ghi", "jkl", "mno", "pqr"); +// +// TESTS FOR STRUCTURE ARRAYS +// +//--emptystruct = struct(); +//--scalarstruct = struct('f1', 10, 'ftwo', 'Hello', 'field3', int8(12)); +//--rowstruct = struct('field1', 10, 'field2', 'Hello', 'field3', int8(12)); +//--rowstruct(1,2).field1 = 'test'; +//--rowstruct(1,2).field2 = eye(10, 10); +//--rowstruct(1,3).field2 = 'a f*%ield contents'; +//--rowstruct(1,3).field3 = 1.23+4.56*%i; +//--colstruct = struct('name', 10, 'phone', 'Hello', 'address', int8(12)); +//--colstruct(2,1).name = 'test'; +//--colstruct(2,1).phone = eye(10, 10); +//--colstruct(3,1).phone = 'a f*%ield contents'; +//--colstruct(3,1).address = 1.23+4.56*%i; +//--arraystruct = struct('field1', 10, 'field2', 'Hello', 'field3', int8(12)); +//--arraystruct(1,2).field1 = 'test'; +//--arraystruct(1,2).field2 = eye(10, 10); +//--arraystruct(1,3).field2 = 'a field contents'; +//--arraystruct(1,3).field3 = 1.23+4.56*%i; +//--arraystruct(2,1).name = 'test'; +//--arraystruct(2,1).phone = eye(10, 10); +//--arraystruct(3,1).phone = 'a field contents'; +//--arraystruct(3,1).address = 1.23+4.56*%i; +// +// TESTS FOR OBJECTS +// +// TODO +// +// TESTS FOR CHARACTER ARRAYS +// +//--emptystringmatrix = ''; // Fails with -v7 +//--stringscalar = 'a'; // Fails with -v4 +//--stringrowvector = ['a' 'b' 'c']; // Fails with -v4 +//--stringcolvector = ['a';'b';'c']; // Fails with -v4 +//--stringmatrix = ['a' 'b' 'c';'d' 'e' 'f']; // Fails with -v4 +// +// TESTS FOR DOUBLE PRECISION ARRAYS +// +emptydoublematrix = []; +realdoublescalar = 1.23; +cplxdoublescalar = 1.23 + 4.56*%i; +realdoublerowvector = [1.23 -4.56 7.89]; +cplxdoublerowvector = [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i]; +realdoublecolvector = [1.23;-4.56;7.89]; +cplxdoublecolvector = [1.23+7.89*%i;4.56-1.23*%i;7.89+4.56*%i]; +realdoublematrix = [1.23 -4.56 7.89;9.87 6.54 -3.21]; +cplxdoublematrix = [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i;9.87+3.21*%i 6.54+9.87*%i 3.21-6.54*%i]; +// +// TESTS FOR SINGLE PRECISION ARRAYS +// +// TODO +// +// TESTS FOR SPARSE MATRICES +// +// Tests for complex matr*%ices are not done because of a bug *%in MATIO +emptysparse = sparse([]); +//realscalarsparse = sparse(1.23); +//cplxscalarsparse = sparse(1.23 + 4.56*%i); +//--realrowvectorsparse = sparse([1.23 0 7.89]); +//cplxrowvectorsparse = sparse([1.23+7.89*%i 0 7.89+4.56*%i]); +//--realcolvectorsparse = sparse([1.23;0;7.89]); +//cplxcolvectorsparse = sparse([1.23+7.89*%i;0;7.89+4.56*%i]); +//--realmatrixsparse = sparse([1.23 0 7.89;0 6.54 -3.21]); +//cplxmatrixsparse = sparse([1.23+7.89*%i 0 7.89+4.56*%i;0 6.54+9.87*%i 3.21-6.54*%i]); +// +// TESTS FOR 8-BITS SIGNED INTEGERS +// +emptyint8matrix = int8([]); +int8scalar = int8(1); +int8rowvector = int8([1 -4 7]); +int8colvector = int8([1;-4;7]); +int8matrix = int8([1 -4 7;-9 6 -3]); +// +// TESTS FOR 16-BITS SIGNED INTEGERS +// +emptyint16matrix = int16([]); +int16scalar = int16(1); +int16rowvector = int16([1 -4 7]); +int16colvector = int16([1;-4;7]); +int16matrix = int16([1 -4 7;-9 6 -3]); +// +// TESTS FOR 32-BITS SIGNED INTEGERS +// +emptyint32matrix = int32([]); +int32scalar = int32(1); +int32rowvector = int32([1 -4 7]); +int32colvector = int32([1;-4;7]); +int32matrix = int32([1 -4 7;-9 6 -3]); +// TODO: int64 tests ? +// +// TESTS FOR 8-BITS UNSIGNED INTEGERS +// +emptyuint8matrix = uint8([]); +uint8scalar = uint8(1); +uint8rowvector = uint8([1 -4 7]); +uint8colvector = uint8([1;-4;7]); +uint8matrix = uint8([1 -4 7;-9 6 -3]); +// +// TESTS FOR 16-BITS UNSIGNED INTEGERS +// +emptyuint16matrix = uint16([]); +uint16scalar = uint16(1); +uint16rowvector = uint16([1 -4 7]); +uint16colvector = uint16([1;-4;7]); +uint16matrix = uint16([1 -4 7;-9 6 -3]); +// +// TESTS FOR 32-BITS UNSIGNED INTEGERS +// +emptyuint32matrix = uint32([]); +uint32scalar = uint32(1); +uint32rowvector = uint32([1 -4 7]); +uint32colvector = uint32([1;-4;7]); +uint32matrix = uint32([1 -4 7;-9 6 -3]); +// TODO: uint64 tests ? +// +// TESTS FOR ND-ARRAYS +// +//emptyNDarray = matrix([], 0, 0, 0); +//realdoubleNDarray = matrix(1:24, 2, 3, 4); +//complexdoubleNDarray = matrix((1:24) + (1:24)*%i, 2, 3, 4); +// +// MISC +// +eye100x100 = eye(100,100); +// +// Create files +// +varNames = who("local"); +varNames = varNames(1:($-size(names,"*")-1)); +varNames(grep(varNames,"%")) = []; +varNames(varNames=="makecell") = []; +varNames(varNames=="struct") = []; +binFormats = ["-v4";"-v6";"-v7"]; +for varIndex=1:size(varNames,"*") + for formatIndex=1:size(binFormats,"*") + // Integers and NDarrays not saved in -v4 format + if formatIndex>1 | ... + (formatIndex==1 & isempty(strindex(varNames(varIndex), "int")) ... + & isempty(strindex(varNames(varIndex), "NDarray")) & isempty(strindex(varNames(varIndex), "cell")) & isempty(strindex(varNames(varIndex), "struct")) & isempty(strindex(varNames(varIndex), "sparse"))) + // Save data in Matlab format + filename = TMPDIR+filesep()+varNames(varIndex)+binFormats(formatIndex)+"-scilab.mat"; + saveCmd = "savematfile "+filename+" "+varNames(varIndex)+" "+binFormats(formatIndex); + execstr(saveCmd); + // Read saved file + execstr("sci"+varNames(varIndex)+"="+varNames(varIndex)); // Save variable for comparison + execstr("clear "+varNames(varIndex)); // Clear variable + execstr("loadmatfile "+filename); // Load file contaning variable + execstr("compareOK=and(sci"+varNames(varIndex)+"=="+varNames(varIndex)+")"); // Compare + if ~compareOK then bugmes();quit;end // Stop execution if necessary + clear compareOK + mdelete(filename) + end + end +end +// TODO: save all variables in a single file ? diff --git a/modules/matio/tests/unit_tests/savematfile.tst b/modules/matio/tests/unit_tests/savematfile.tst new file mode 100755 index 000000000..05dd57e49 --- /dev/null +++ b/modules/matio/tests/unit_tests/savematfile.tst @@ -0,0 +1,218 @@ +// ============================================================================= +// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +// Copyright (C) 2008 - INRIA - Vincent Couvert <vincent.couvert@inria.fr> +// +// This file is distributed under the same license as the Scilab package. +// ============================================================================= + +// <-- CLI SHELL MODE --> + +// This Scilab script saves MAT-files to test the MATIO module + +chdir("SCI/modules/matio/tests/unit_tests/") + +clear +names=who('local'); +// +// TESTS FOR CELL ARRAYS +// +//--emptycell = cell(); +scalarcell = makecell([1 1], 1.23); +//--rowcell = makecell([1 3], "abc", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], 1.23); +//--colcell = makecell([3 1], [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], "abc", 1.23); +//--arraycell = makecell([2 3], "a", [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i], int8(1), "abc", 1.23, eye(100,100)); +//--stringcell = makecell([2 3], "abc", "def", "ghi", "jkl", "mno", "pqr"); + +// +// TESTS FOR STRUCTURE ARRAYS +// +//--emptystruct = struct(); +//--scalarstruct = struct('f1', 10, 'ftwo', 'Hello', 'field3', int8(12)); +//--rowstruct = struct('field1', 10, 'field2', 'Hello', 'field3', int8(12)); +//--rowstruct(1,2).field1 = 'test'; +//--rowstruct(1,2).field2 = eye(10, 10); +//--rowstruct(1,3).field2 = 'a f*%ield contents'; +//--rowstruct(1,3).field3 = 1.23+4.56*%i; +//--colstruct = struct('name', 10, 'phone', 'Hello', 'address', int8(12)); +//--colstruct(2,1).name = 'test'; +//--colstruct(2,1).phone = eye(10, 10); +//--colstruct(3,1).phone = 'a f*%ield contents'; +//--colstruct(3,1).address = 1.23+4.56*%i; +//--arraystruct = struct('field1', 10, 'field2', 'Hello', 'field3', int8(12)); +//--arraystruct(1,2).field1 = 'test'; +//--arraystruct(1,2).field2 = eye(10, 10); +//--arraystruct(1,3).field2 = 'a field contents'; +//--arraystruct(1,3).field3 = 1.23+4.56*%i; +//--arraystruct(2,1).name = 'test'; +//--arraystruct(2,1).phone = eye(10, 10); +//--arraystruct(3,1).phone = 'a field contents'; +//--arraystruct(3,1).address = 1.23+4.56*%i; + +// +// TESTS FOR OBJECTS +// + +// TODO + +// +// TESTS FOR CHARACTER ARRAYS +// + +//--emptystringmatrix = ''; // Fails with -v7 +//--stringscalar = 'a'; // Fails with -v4 +//--stringrowvector = ['a' 'b' 'c']; // Fails with -v4 +//--stringcolvector = ['a';'b';'c']; // Fails with -v4 +//--stringmatrix = ['a' 'b' 'c';'d' 'e' 'f']; // Fails with -v4 + +// +// TESTS FOR DOUBLE PRECISION ARRAYS +// + +emptydoublematrix = []; + +realdoublescalar = 1.23; +cplxdoublescalar = 1.23 + 4.56*%i; + +realdoublerowvector = [1.23 -4.56 7.89]; +cplxdoublerowvector = [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i]; + +realdoublecolvector = [1.23;-4.56;7.89]; +cplxdoublecolvector = [1.23+7.89*%i;4.56-1.23*%i;7.89+4.56*%i]; + +realdoublematrix = [1.23 -4.56 7.89;9.87 6.54 -3.21]; +cplxdoublematrix = [1.23+7.89*%i 4.56-1.23*%i 7.89+4.56*%i;9.87+3.21*%i 6.54+9.87*%i 3.21-6.54*%i]; + +// +// TESTS FOR SINGLE PRECISION ARRAYS +// + +// TODO + +// +// TESTS FOR SPARSE MATRICES +// +// Tests for complex matr*%ices are not done because of a bug *%in MATIO + +emptysparse = sparse([]); + +//realscalarsparse = sparse(1.23); +//cplxscalarsparse = sparse(1.23 + 4.56*%i); + +//--realrowvectorsparse = sparse([1.23 0 7.89]); +//cplxrowvectorsparse = sparse([1.23+7.89*%i 0 7.89+4.56*%i]); + +//--realcolvectorsparse = sparse([1.23;0;7.89]); +//cplxcolvectorsparse = sparse([1.23+7.89*%i;0;7.89+4.56*%i]); + +//--realmatrixsparse = sparse([1.23 0 7.89;0 6.54 -3.21]); +//cplxmatrixsparse = sparse([1.23+7.89*%i 0 7.89+4.56*%i;0 6.54+9.87*%i 3.21-6.54*%i]); + +// +// TESTS FOR 8-BITS SIGNED INTEGERS +// + +emptyint8matrix = int8([]); +int8scalar = int8(1); +int8rowvector = int8([1 -4 7]); +int8colvector = int8([1;-4;7]); +int8matrix = int8([1 -4 7;-9 6 -3]); + +// +// TESTS FOR 16-BITS SIGNED INTEGERS +// + +emptyint16matrix = int16([]); +int16scalar = int16(1); +int16rowvector = int16([1 -4 7]); +int16colvector = int16([1;-4;7]); +int16matrix = int16([1 -4 7;-9 6 -3]); + +// +// TESTS FOR 32-BITS SIGNED INTEGERS +// + +emptyint32matrix = int32([]); +int32scalar = int32(1); +int32rowvector = int32([1 -4 7]); +int32colvector = int32([1;-4;7]); +int32matrix = int32([1 -4 7;-9 6 -3]); + +// TODO: int64 tests ? + +// +// TESTS FOR 8-BITS UNSIGNED INTEGERS +// + +emptyuint8matrix = uint8([]); +uint8scalar = uint8(1); +uint8rowvector = uint8([1 -4 7]); +uint8colvector = uint8([1;-4;7]); +uint8matrix = uint8([1 -4 7;-9 6 -3]); + +// +// TESTS FOR 16-BITS UNSIGNED INTEGERS +// + +emptyuint16matrix = uint16([]); +uint16scalar = uint16(1); +uint16rowvector = uint16([1 -4 7]); +uint16colvector = uint16([1;-4;7]); +uint16matrix = uint16([1 -4 7;-9 6 -3]); + +// +// TESTS FOR 32-BITS UNSIGNED INTEGERS +// + +emptyuint32matrix = uint32([]); +uint32scalar = uint32(1); +uint32rowvector = uint32([1 -4 7]); +uint32colvector = uint32([1;-4;7]); +uint32matrix = uint32([1 -4 7;-9 6 -3]); + +// TODO: uint64 tests ? + +// +// TESTS FOR ND-ARRAYS +// +//emptyNDarray = matrix([], 0, 0, 0); +//realdoubleNDarray = matrix(1:24, 2, 3, 4); +//complexdoubleNDarray = matrix((1:24) + (1:24)*%i, 2, 3, 4); + +// +// MISC +// +eye100x100 = eye(100,100); + +// +// Create files +// +varNames = who("local"); +varNames = varNames(1:($-size(names,"*")-1)); +varNames(grep(varNames,"%")) = []; +varNames(varNames=="makecell") = []; +varNames(varNames=="struct") = []; +binFormats = ["-v4";"-v6";"-v7"]; +for varIndex=1:size(varNames,"*") + for formatIndex=1:size(binFormats,"*") + // Integers and NDarrays not saved in -v4 format + if formatIndex>1 | ... + (formatIndex==1 & isempty(strindex(varNames(varIndex), "int")) ... + & isempty(strindex(varNames(varIndex), "NDarray")) & isempty(strindex(varNames(varIndex), "cell")) & isempty(strindex(varNames(varIndex), "struct")) & isempty(strindex(varNames(varIndex), "sparse"))) + + // Save data in Matlab format + filename = TMPDIR+filesep()+varNames(varIndex)+binFormats(formatIndex)+"-scilab.mat"; + saveCmd = "savematfile "+filename+" "+varNames(varIndex)+" "+binFormats(formatIndex); + execstr(saveCmd); + // Read saved file + execstr("sci"+varNames(varIndex)+"="+varNames(varIndex)); // Save variable for comparison + execstr("clear "+varNames(varIndex)); // Clear variable + execstr("loadmatfile "+filename); // Load file contaning variable + execstr("compareOK=and(sci"+varNames(varIndex)+"=="+varNames(varIndex)+")"); // Compare + if ~compareOK then pause;end // Stop execution if necessary + clear compareOK + mdelete(filename) + end + end +end + +// TODO: save all variables in a single file ? diff --git a/modules/matio/tests/unit_tests/scalarcell-v6.mat b/modules/matio/tests/unit_tests/scalarcell-v6.mat Binary files differnew file mode 100755 index 000000000..9850b898d --- /dev/null +++ b/modules/matio/tests/unit_tests/scalarcell-v6.mat diff --git a/modules/matio/tests/unit_tests/scalarcell-v7.mat b/modules/matio/tests/unit_tests/scalarcell-v7.mat Binary files differnew file mode 100755 index 000000000..27b8d7fe5 --- /dev/null +++ b/modules/matio/tests/unit_tests/scalarcell-v7.mat diff --git a/modules/matio/tests/unit_tests/scalarstruct-v6.mat b/modules/matio/tests/unit_tests/scalarstruct-v6.mat Binary files differnew file mode 100755 index 000000000..059848da8 --- /dev/null +++ b/modules/matio/tests/unit_tests/scalarstruct-v6.mat diff --git a/modules/matio/tests/unit_tests/scalarstruct-v7.mat b/modules/matio/tests/unit_tests/scalarstruct-v7.mat Binary files differnew file mode 100755 index 000000000..ca5627061 --- /dev/null +++ b/modules/matio/tests/unit_tests/scalarstruct-v7.mat diff --git a/modules/matio/tests/unit_tests/stringcell-v6.mat b/modules/matio/tests/unit_tests/stringcell-v6.mat Binary files differnew file mode 100755 index 000000000..de9f24d74 --- /dev/null +++ b/modules/matio/tests/unit_tests/stringcell-v6.mat diff --git a/modules/matio/tests/unit_tests/stringcell-v7.mat b/modules/matio/tests/unit_tests/stringcell-v7.mat Binary files differnew file mode 100755 index 000000000..a802c78a8 --- /dev/null +++ b/modules/matio/tests/unit_tests/stringcell-v7.mat diff --git a/modules/matio/tests/unit_tests/stringcolvector-v4.mat b/modules/matio/tests/unit_tests/stringcolvector-v4.mat Binary files differnew file mode 100755 index 000000000..76b15b401 --- /dev/null +++ b/modules/matio/tests/unit_tests/stringcolvector-v4.mat diff --git a/modules/matio/tests/unit_tests/stringcolvector-v6.mat b/modules/matio/tests/unit_tests/stringcolvector-v6.mat Binary files differnew file mode 100755 index 000000000..5f67109ce --- /dev/null +++ b/modules/matio/tests/unit_tests/stringcolvector-v6.mat diff --git a/modules/matio/tests/unit_tests/stringcolvector-v7.mat b/modules/matio/tests/unit_tests/stringcolvector-v7.mat Binary files differnew file mode 100755 index 000000000..cbaf5b277 --- /dev/null +++ b/modules/matio/tests/unit_tests/stringcolvector-v7.mat diff --git a/modules/matio/tests/unit_tests/stringmatrix-v4.mat b/modules/matio/tests/unit_tests/stringmatrix-v4.mat Binary files differnew file mode 100755 index 000000000..bca71b6fe --- /dev/null +++ b/modules/matio/tests/unit_tests/stringmatrix-v4.mat diff --git a/modules/matio/tests/unit_tests/stringmatrix-v6.mat b/modules/matio/tests/unit_tests/stringmatrix-v6.mat Binary files differnew file mode 100755 index 000000000..4eb18d68d --- /dev/null +++ b/modules/matio/tests/unit_tests/stringmatrix-v6.mat diff --git a/modules/matio/tests/unit_tests/stringmatrix-v7.mat b/modules/matio/tests/unit_tests/stringmatrix-v7.mat Binary files differnew file mode 100755 index 000000000..f61db499b --- /dev/null +++ b/modules/matio/tests/unit_tests/stringmatrix-v7.mat diff --git a/modules/matio/tests/unit_tests/stringrowvector-v4.mat b/modules/matio/tests/unit_tests/stringrowvector-v4.mat Binary files differnew file mode 100755 index 000000000..687a9dd9e --- /dev/null +++ b/modules/matio/tests/unit_tests/stringrowvector-v4.mat diff --git a/modules/matio/tests/unit_tests/stringrowvector-v6.mat b/modules/matio/tests/unit_tests/stringrowvector-v6.mat Binary files differnew file mode 100755 index 000000000..275e53f72 --- /dev/null +++ b/modules/matio/tests/unit_tests/stringrowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/stringrowvector-v7.mat b/modules/matio/tests/unit_tests/stringrowvector-v7.mat Binary files differnew file mode 100755 index 000000000..f42f4415d --- /dev/null +++ b/modules/matio/tests/unit_tests/stringrowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/stringscalar-v4.mat b/modules/matio/tests/unit_tests/stringscalar-v4.mat Binary files differnew file mode 100755 index 000000000..c9a336477 --- /dev/null +++ b/modules/matio/tests/unit_tests/stringscalar-v4.mat diff --git a/modules/matio/tests/unit_tests/stringscalar-v6.mat b/modules/matio/tests/unit_tests/stringscalar-v6.mat Binary files differnew file mode 100755 index 000000000..344db9923 --- /dev/null +++ b/modules/matio/tests/unit_tests/stringscalar-v6.mat diff --git a/modules/matio/tests/unit_tests/stringscalar-v7.mat b/modules/matio/tests/unit_tests/stringscalar-v7.mat Binary files differnew file mode 100755 index 000000000..a1ed7877a --- /dev/null +++ b/modules/matio/tests/unit_tests/stringscalar-v7.mat diff --git a/modules/matio/tests/unit_tests/testmatfiles.m b/modules/matio/tests/unit_tests/testmatfiles.m new file mode 100755 index 000000000..1345901ba --- /dev/null +++ b/modules/matio/tests/unit_tests/testmatfiles.m @@ -0,0 +1,204 @@ +% ============================================================================= +% Scilab ( http://www.scilab.org/ ) - This file is part of Scilab +% Copyright (C) 2008 - INRIA - Vincent Couvert <vincent.couvert@inria.fr> +% +% This file is distributed under the same license as the Scilab package. +% ============================================================================= + +% This Matlab script generates MAT-files to test the MATIO module + +clear all + +% +% TESTS FOR CELL ARRAYS +% +emptycell = {}; +scalarcell = {1.23}; +rowcell = {'abc', [1.23+7.89i 4.56-1.23i 7.89+4.56i], 1.23}; +colcell = {[1.23+7.89i 4.56-1.23i 7.89+4.56i]; 'abc'; 1.23}; +arraycell = {'a', [1.23+7.89i 4.56-1.23i 7.89+4.56i], int8(1); 'abc', 1.23, eye(100,100)}; +stringcell = {'abc', 'def', 'ghi';'jkl', 'mno', 'pqr'}; + +% +% TESTS FOR STRUCTURE ARRAYS +% +emptystruct = struct(); +scalarstruct = struct('f1', 10, 'ftwo', 'Hello', 'field3', int8(12)); +rowstruct = struct('field1', 10, 'field2', 'Hello', 'field3', int8(12)); +rowstruct(1,2).field1 = 'test'; +rowstruct(1,2).field2 = eye(10, 10); +rowstruct(1,3).field2 = 'a field contents'; +rowstruct(1,3).field3 = 1.23+4.56i; +colstruct = struct('name', 10, 'phone', 'Hello', 'address', int8(12)); +colstruct(2,1).name = 'test'; +colstruct(2,1).phone = eye(10, 10); +colstruct(3,1).phone = 'a field contents'; +colstruct(3,1).address = 1.23+4.56i; +arraystruct = struct('field1', 10, 'field2', 'Hello', 'field3', int8(12)); +arraystruct(1,2).field1 = 'test'; +arraystruct(1,2).field2 = eye(10, 10); +arraystruct(1,3).field2 = 'a field contents'; +arraystruct(1,3).field3 = 1.23+4.56i; +arraystruct(2,1).name = 'test'; +arraystruct(2,1).phone = eye(10, 10); +arraystruct(3,1).phone = 'a field contents'; +arraystruct(3,1).address = 1.23+4.56i; + +% +% TESTS FOR OBJECTS +% + +% TODO + +% +% TESTS FOR CHARACTER ARRAYS +% + +emptystringmatrix = ''; +stringscalar = 'a'; +stringrowvector = ['a' 'b' 'c']; +stringcolvector = ['a';'b';'c']; +stringmatrix = ['a' 'b' 'c';'d' 'e' 'f']; + +% +% TESTS FOR DOUBLE PRECISION ARRAYS +% + +emptydoublematrix = []; + +realdoublescalar = 1.23; +cplxdoublescalar = 1.23 + 4.56i; + +realdoublerowvector = [1.23 -4.56 7.89]; +cplxdoublerowvector = [1.23+7.89i 4.56-1.23i 7.89+4.56i]; + +realdoublecolvector = [1.23;-4.56;7.89]; +cplxdoublecolvector = [1.23+7.89i;4.56-1.23i;7.89+4.56i]; + +realdoublematrix = [1.23 -4.56 7.89;9.87 6.54 -3.21]; +cplxdoublematrix = [1.23+7.89i 4.56-1.23i 7.89+4.56i;9.87+3.21i 6.54+9.87i 3.21-6.54i]; + +% +% TESTS FOR SINGLE PRECISION ARRAYS +% + +% TODO + +% +% TESTS FOR SPARSE MATRICES +% +% Tests for complex matrices are not done because of a bug in MATIO + +emptysparse = sparse([]); + +realscalarsparse = sparse(1.23); +%cplxscalarsparse = sparse(1.23 + 4.56i); + +realrowvectorsparse = sparse([1.23 0 7.89]); +%cplxrowvectorsparse = sparse([1.23+7.89i 0 7.89+4.56i]); + +realcolvectorsparse = sparse([1.23;0;7.89]); +%cplxcolvectorsparse = sparse([1.23+7.89i;0;7.89+4.56i]); + +realmatrixsparse = sparse([1.23 0 7.89;0 6.54 -3.21]); +%cplxmatrixsparse = sparse([1.23+7.89i 0 7.89+4.56i;0 6.54+9.87i 3.21-6.54i]); + +% +% TESTS FOR 8-BITS SIGNED INTEGERS +% + +emptyint8matrix = int8([]); +int8scalar = int8(1); +int8rowvector = int8([1 -4 7]); +int8colvector = int8([1;-4;7]); +int8matrix = int8([1 -4 7;-9 6 -3]); + +% +% TESTS FOR 16-BITS SIGNED INTEGERS +% + +emptyint16matrix = int16([]); +int16scalar = int16(1); +int16rowvector = int16([1 -4 7]); +int16colvector = int16([1;-4;7]); +int16matrix = int16([1 -4 7;-9 6 -3]); + +% +% TESTS FOR 32-BITS SIGNED INTEGERS +% + +emptyint32matrix = int32([]); +int32scalar = int32(1); +int32rowvector = int32([1 -4 7]); +int32colvector = int32([1;-4;7]); +int32matrix = int32([1 -4 7;-9 6 -3]); + +% TODO: int64 tests ? + +% +% TESTS FOR 8-BITS UNSIGNED INTEGERS +% + +emptyuint8matrix = uint8([]); +uint8scalar = uint8(1); +uint8rowvector = uint8([1 -4 7]); +uint8colvector = uint8([1;-4;7]); +uint8matrix = uint8([1 -4 7;-9 6 -3]); + +% +% TESTS FOR 16-BITS UNSIGNED INTEGERS +% + +emptyuint16matrix = uint16([]); +uint16scalar = uint16(1); +uint16rowvector = uint16([1 -4 7]); +uint16colvector = uint16([1;-4;7]); +uint16matrix = uint16([1 -4 7;-9 6 -3]); + +% +% TESTS FOR 32-BITS UNSIGNED INTEGERS +% + +emptyuint32matrix = uint32([]); +uint32scalar = uint32(1); +uint32rowvector = uint32([1 -4 7]); +uint32colvector = uint32([1;-4;7]); +uint32matrix = uint32([1 -4 7;-9 6 -3]); + +% TODO: uint64 tests ? + +% +% TESTS FOR ND-ARRAYS +% +emptyNDarray = reshape([], 0, 0, 0); +realdoubleNDarray = reshape(1:24, 2, 3, 4); +complexdoubleNDarray = reshape((1:24) + (1:24)*i, 2, 3, 4); + +% +% MISC +% +eye100x100 = eye(100,100); + +% +% Create files +% +varNames = who(); +binFormats = {'-v4';'-v6';'-v7'}; +for varIndex=1:length(varNames) + for formatIndex=1:length(binFormats) + % Integers and NDarrays not saved in -v4 format + if formatIndex>1 | ... + (formatIndex==1 & isempty(strfind(varNames{varIndex}, 'int')) ... + & isempty(strfind(varNames{varIndex}, 'NDarray')) & isempty(strfind(varNames{varIndex}, 'cell')) & isempty(strfind(varNames{varIndex}, 'struct')) & isempty(strfind(varNames{varIndex}, 'sparse'))) + if exist([pwd filesep varNames{varIndex} binFormats{formatIndex} ... + '.mat']) ~= 2 % If file does not already exist it is created + saveCmd = ['save ' pwd filesep varNames{varIndex} binFormats{formatIndex} '.mat ' varNames{varIndex} ' ' binFormats{formatIndex}]; + eval(saveCmd); + else + %disp([pwd filesep varNames{varIndex} binFormats{formatIndex} '.mat already exists.']) + end + end + end +end + +% TODO: save all variables in a single file ? diff --git a/modules/matio/tests/unit_tests/uint16colvector-v6.mat b/modules/matio/tests/unit_tests/uint16colvector-v6.mat Binary files differnew file mode 100755 index 000000000..ab647595c --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16colvector-v6.mat diff --git a/modules/matio/tests/unit_tests/uint16colvector-v7.mat b/modules/matio/tests/unit_tests/uint16colvector-v7.mat Binary files differnew file mode 100755 index 000000000..f09aad7b8 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16colvector-v7.mat diff --git a/modules/matio/tests/unit_tests/uint16matrix-v6.mat b/modules/matio/tests/unit_tests/uint16matrix-v6.mat Binary files differnew file mode 100755 index 000000000..f16586bf5 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/uint16matrix-v7.mat b/modules/matio/tests/unit_tests/uint16matrix-v7.mat Binary files differnew file mode 100755 index 000000000..7cb7f4c1a --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/uint16rowvector-v6.mat b/modules/matio/tests/unit_tests/uint16rowvector-v6.mat Binary files differnew file mode 100755 index 000000000..db89754b1 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16rowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/uint16rowvector-v7.mat b/modules/matio/tests/unit_tests/uint16rowvector-v7.mat Binary files differnew file mode 100755 index 000000000..2c06ad4c0 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16rowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/uint16scalar-v6.mat b/modules/matio/tests/unit_tests/uint16scalar-v6.mat Binary files differnew file mode 100755 index 000000000..13271c7ea --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16scalar-v6.mat diff --git a/modules/matio/tests/unit_tests/uint16scalar-v7.mat b/modules/matio/tests/unit_tests/uint16scalar-v7.mat Binary files differnew file mode 100755 index 000000000..d65e375cf --- /dev/null +++ b/modules/matio/tests/unit_tests/uint16scalar-v7.mat diff --git a/modules/matio/tests/unit_tests/uint32colvector-v6.mat b/modules/matio/tests/unit_tests/uint32colvector-v6.mat Binary files differnew file mode 100755 index 000000000..323ffc106 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32colvector-v6.mat diff --git a/modules/matio/tests/unit_tests/uint32colvector-v7.mat b/modules/matio/tests/unit_tests/uint32colvector-v7.mat Binary files differnew file mode 100755 index 000000000..3d0da0310 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32colvector-v7.mat diff --git a/modules/matio/tests/unit_tests/uint32matrix-v6.mat b/modules/matio/tests/unit_tests/uint32matrix-v6.mat Binary files differnew file mode 100755 index 000000000..fc56ed0b5 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/uint32matrix-v7.mat b/modules/matio/tests/unit_tests/uint32matrix-v7.mat Binary files differnew file mode 100755 index 000000000..7d401d053 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/uint32rowvector-v6.mat b/modules/matio/tests/unit_tests/uint32rowvector-v6.mat Binary files differnew file mode 100755 index 000000000..7775883ef --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32rowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/uint32rowvector-v7.mat b/modules/matio/tests/unit_tests/uint32rowvector-v7.mat Binary files differnew file mode 100755 index 000000000..1047440a5 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32rowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/uint32scalar-v6.mat b/modules/matio/tests/unit_tests/uint32scalar-v6.mat Binary files differnew file mode 100755 index 000000000..2f0e4c57b --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32scalar-v6.mat diff --git a/modules/matio/tests/unit_tests/uint32scalar-v7.mat b/modules/matio/tests/unit_tests/uint32scalar-v7.mat Binary files differnew file mode 100755 index 000000000..f39dd21c0 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint32scalar-v7.mat diff --git a/modules/matio/tests/unit_tests/uint8colvector-v6.mat b/modules/matio/tests/unit_tests/uint8colvector-v6.mat Binary files differnew file mode 100755 index 000000000..f9f5ef240 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8colvector-v6.mat diff --git a/modules/matio/tests/unit_tests/uint8colvector-v7.mat b/modules/matio/tests/unit_tests/uint8colvector-v7.mat Binary files differnew file mode 100755 index 000000000..ced6fb3ec --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8colvector-v7.mat diff --git a/modules/matio/tests/unit_tests/uint8matrix-v6.mat b/modules/matio/tests/unit_tests/uint8matrix-v6.mat Binary files differnew file mode 100755 index 000000000..ec3f7c19d --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8matrix-v6.mat diff --git a/modules/matio/tests/unit_tests/uint8matrix-v7.mat b/modules/matio/tests/unit_tests/uint8matrix-v7.mat Binary files differnew file mode 100755 index 000000000..08745f058 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8matrix-v7.mat diff --git a/modules/matio/tests/unit_tests/uint8rowvector-v6.mat b/modules/matio/tests/unit_tests/uint8rowvector-v6.mat Binary files differnew file mode 100755 index 000000000..32cabffb6 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8rowvector-v6.mat diff --git a/modules/matio/tests/unit_tests/uint8rowvector-v7.mat b/modules/matio/tests/unit_tests/uint8rowvector-v7.mat Binary files differnew file mode 100755 index 000000000..d95c3efb9 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8rowvector-v7.mat diff --git a/modules/matio/tests/unit_tests/uint8scalar-v6.mat b/modules/matio/tests/unit_tests/uint8scalar-v6.mat Binary files differnew file mode 100755 index 000000000..3bfb74f80 --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8scalar-v6.mat diff --git a/modules/matio/tests/unit_tests/uint8scalar-v7.mat b/modules/matio/tests/unit_tests/uint8scalar-v7.mat Binary files differnew file mode 100755 index 000000000..02512305f --- /dev/null +++ b/modules/matio/tests/unit_tests/uint8scalar-v7.mat |