MATLAB: Regarding MATLAB Production Server dashboard

dashboard.batMATLAB Production Servermatlab production server dashboardmps

I check the link https://in.mathworks.com/help/mps/server/setup-and-log-in-to-matlab-production-server-dashboard.html. I installed Matlab R2018a. but i am unable to set up matlab-production-server-dashboard. as i not contain mps-dashboard setup. Kindly provide the steps how i setup MATLAB Production Server dashboard.

Best Answer

I assume you machine is Windows. To setup MATLAB Production Server Dashboard, please read the following steps.
1. Install Visual C++ Redistributable Packages
Download Visual C++ Redistributable Packages for Visual Studio 2013 from this link . Choose "vcredist_x64.exe".
2. Setup MATLAB Production Server Dashboard
Open Command Prompt and cd to $MPS_INSTALL\dashboard where $MPS_INSTALL is installation folder of MATLAB Production Server, for example, "C:\Program Files\MATLAB\MATLAB Production Server\R2018a".
cd C:\Program Files\MATLAB\MATLAB Production Server\R2018a\dashboard
mps-dashboard.bat setup
Then, specify any folder (for example, C:\Work\MPS_Dashboard_Work) for Dashboard work folder.
3. (Optional) Configure Dashboard settings
If you want to change default port numbers for dashboard and database, Edit $MPS_INSTALL\dashboard\config\config.txt.
4. Start Dashboard
Open Command Prompt and cd to $MPS_INSTALL\dashboard, then do
mps-dashboard.bat start
5. Access to Dashboard
Open web browser and access to http://localhost:9910 (by default port number) Login page will appear. Default account is User: admin and Password: admin
6. Creating MPS instance using Dashboard
After log in to Dashboard, click "Create New" for creating new MPS instance. Input Name and Description(Optional), click "Create".
After creating a instance, click a hyperlink of the instance, then go to "Application" tab. Click "Upload and Deploy New Archive" from triangle-bottom, and upload your .ctf file (which you've compiled from Production Server Compiler).
Next, go to "Settings" tab. Change MPS instance configurations as you like. For example,
Core -> MATLAB Runtime path
HTTP -> HTTP/HTTPS port number and edit CORS Allowed Origins
Worker -> Maximum Workers
License -> License server info
and click "Save" in the bottom and click green triangle in the top. MPS instance will be started.
Hope this would help you.