Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
DESCRIPTION | H A D | 13-Aug-2021 | 640 | 18 | 17 | |
Makefile | H A D | 13-Aug-2021 | 7.8 KiB | 223 | 112 | |
Makefile.in | H A D | 13-Aug-2021 | 7.8 KiB | 223 | 112 | |
README | H A D | 13-Aug-2021 | 2.7 KiB | 85 | 63 | |
mexSLOAD.cpp | H A D | 13-Aug-2021 | 30.5 KiB | 861 | 635 | |
mexSSAVE.cpp | H A D | 13-Aug-2021 | 15.6 KiB | 488 | 399 | |
physicalunits.cpp | H A D | 13-Aug-2021 | 7.7 KiB | 257 | 195 |
README
1This provides a language binding of libbiosig to Matlab and Octave. 2Basically, mex-files for loading biosig data are provided. 3- mexSLOAD.mex* loads the whole file (header and data). 4- mexSOPEN.mex* reads only the header information. 5- mexSSAVE.mex* saves data into various biosig format 6 the list of supported formats is shown here: http://pub.ist.ac.at/~schloegl/biosig/TESTED 7 8 9COMPILATION: 10 11== Octave on Linux ======================= 12On Linux platforms the compilation is straight forward. A prerequisite is 13libbiosig (with its dependencies). 14 make libbiosig && sudo make install 15 16Generate and install mexbiosig-package 17 make mexbiosig 18 sudo make install_mexbiosig 19 20== Octave on MacOSX ======================= 21You need to have homebrew (for details see http://brew.sh) 22 23 # 1) Install XCode from App Store 24 xcode-select --install 25 26 # 2) install homebrew 27 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 28 29 # 3) Install prerequisites and recommendations for Octave 30 brew install caskroom/cask/brew-cask 31 brew cask install xquartz 32 brew cask install mactex 33 brew install curl 34 35 # 4) install Octave 36 brew tap homebrew/science 37 export PATH="$PATH:/usr/texbin" 38 brew install octave --with-docs 39 40and install biosig 41 brew tap schloegl/biosig 42 brew install mexbiosig 43 44== Octave on Window (MXE-Octave) ======================= 45 # 1) Download and install Octave 4.0.0 46 https://ftp.gnu.org/gnu/octave/windows/ 47 # 2) Get biosig sources 48 either with git 49 git clone git://git.code.sf.net/p/biosig/code biosig-code 50 or source package from http://biosig.sourceforge.net/download.html 51 libbiosig-X.Y.Z.src.tar.gz (requires version 1.7.3 or later) 52 # 3) Start Octave and change directory to 53 .../biosig4c++/ 54 # 4) Make and install libbiosig 55 system('make && make install') 56 # 5) Generate mexbiosig pkg 57 system('make mexbiosig') 58 # 6) Install mexbiosig-package 59 pkg install mex/mexbiosig-1.7.3.tar.gz 60 61 62== Matlab on Linux, MacOSX ======================= 63Prerequisites: 64 sudo apt-get install zlib1g-dev libsuitesparse-dev 65Edit Makefile and set the correct path to Matlab: 66The mex files for Matlab are generated with 67 MATLABDIR=/usr/local/MATLAB/R2014b make mex4m 68 69 70== Matlab v7.11 for Win32 ================ 71Compilation was successful using the mingw-cross-env on linux to generate Win32/mex files. 72GnuMex/Mingw must be installed together with Matlab on windows. 73The gnumex libraries must be copied to the linux machine having MinGW-Cross-env installed. 74Adapt the Makefile and run 75 make mexw32 mexw64 76 77 78 Copyright (C) 2011,2015 Alois Schloegl <alois.schloegl@ist.ac.at> 79 This function is part of the "BioSig for C/C++" repository 80 (BioSig4C++) at http://biosig.sf.net/ 81 82 83 84 85