Deployment
Ábel Hegedüs edited this page Jul 16, 2019
·
1 revision
- Build the massif-wrapper.jar
- Copy the MATLAB engine.jar from MATLABROOT/R2018b/extern/engines/java/jar/engine.jar to the same folder which contains your massif-wrapper.jar
- Create a massif-wrapper configuration in this folder, for example called "massif-wrapper-config.json". See this template for an example and Configuration for more information.
- Add MATLABROOT/bin/glnxa64/ or MATLABROOT/bin/glnxa32/ or MATLABROOT\bin\win64 or MATLABROOT\bin\win32 to the path (depending on your OS).
- Start up MATLAB and run the following commands in the MATLAB console:
- Add massif-wrapper/massif_scripts/ containing the massif_functions.m script to the path with "addpath('.../massif-wrapper-master/massif_scripts')". massif_functions.m is available at:
- Share the MATLAB engine: "matlab.engine.shareEngine('Engine_1')"
- Run "java -jar massif-wrapper.jar massif-wrapper-config.json"
- After startup, by default the Swagger UI is found at http://localhost:8234/static/massifwrapper/swagger#/