Installation for Matlab
Matlab Client Setup
Download the clients for JCMoptimizer from our download page.
Extract the zip file and copy the package
+jcmoptimizerin thematlabfolder somewhere, for example in you home directory~/jcmoptimizer/matlab/+jcmoptimizer.For using the package inside Matlab,
~/jcmoptimizer/matlab/must be a search path. To this end, add the lineaddpath("~/jcmoptimizer/matlab/");
at the beginning of your Matlab scripts or inside the Matlab starup script.
Using the Cloud Infrastructure
The easiest and recommended way to use JCMoptimizer is to use our cloud infrastructure to run servers and connect via a Matlab client. Here are the steps to get you going:
Create a user account on https://optimizer.jcmwave.com. Consider to add a two-factor authentication for increased security of your data.
Open the cloud interface and on the left click on Tokens.
Press Add token+ to create a new access token.
Copy the token and store it somewhere safe on your computer. You can put the token in the global configuration file of
jcmoptimizer. That is, open or create the file.jcmoptimizer.conf.ymlin your home directory and enter a linetoken: <my token string>
Running a self-hosted JCMoptimizer
If you have a current license of our software package JCMsuite, you can run JCMoptimizer on your own computer infrastructure.
Download and run the JCMoptimizer installer from here.
During the installation, you can create or update the configuration file
.jcmoptimizer.conf.ymlin your home directory. If you want to this manually, the following two keys need to be set:- license_dir:
In order to run JCMoptimizer locally, an activated version of JCMsuite needs to be installed. You need to specify the path to the license configuration of the JCMsuite isntallation, for example
license_dir: '/path/to/JCMsuite/license/'
- jcm_optimizer_dir:
To start a JCMoptimizer server locally, the
jcmoptimizerMatlab package needs to know the installation directoryjcm_optimizer_dir:jcm_optimizer_dir: '/path/to/JCMoptimizer/'