Installation of interfaces
Python
Automatic installation
Simply use pip install G2S
Manual compilation
- If needed Python and Numpy:
sudo apt install python3-distutils python3-dev python3-numpy -y
- (A C++ compiler with c++17 is required)
- Go to
build/python-build
- Run
python3 setup.py install --user
Check proper interface installation
Simply run from g2s import g2s; g2s('--version')
MATLAB
Installation on Ubuntu
- (A C++ compiler with c++17 is required)
- Open MATLAB
- Go to
build/matlab-build
- Run
CompileG2S
- Add compiled file in the MATLAB path
Installation on macOS
- Open MATLAB
- Go to
build/build-matlab
- Run
CompileG2S
- Add compiled file in the MATLAB path
Installation on Windows 10
Download precompiled interfaces
- Download here.
- Unzip and add the folder to MATLAB path.
Manual compilation
- (A C++ compiler with c++17 is required)
- If needed, install python with the option to add it to the Path
- Open MATLAB
- Install a compiler with c++17, available here (2017 or later)
- Go to
build/build-matlab
- Run
CompileG2S
- Add compiled file in the MATLAB path
Check proper interface installation
Simply run g2s('--version')
R
TODO !