The Modelit Webserver Toolbox for Matlab (2008-2021) is created to deploy algorithms written in Matlab code as a webservice in an easy manner and at the lowest possible cost.
Central to the toolbox is a servlet that redirects incoming web-requests to Matlab callback functions. Users of the toolbox can do all coding in Matlab and even breakpoint-debug webservices that are being deployed. If additional processing capacity is required, the built-in load balance solution distributes incoming requests over callbacks that run in multiple Matlab sessions.
Webservices created with the toolbox will run in native or compiled mode on any Windows or Linux computer with Matlab or Matlab Runtime installed.
The toolbox provides several utilities that will help you implement webservices, like utilities for creating XML output from Matlab data, encapsulating Matlab figures in HTML, converting JSON strings to Matlab, serialize and deserialize to- and from base64 encoded ASCII, or parallelize tasks by making asynchronous calls to webservices. The toolbox provides a number of examples that will help you getting started.
A user guide provides a step-by-step instruction for installing the toolbox and should allow anyone with basic Matlab knowledge to create and deploy Matlab based webservices. In addition the user guide provides many useful tips and tricks.
We have prepared a video that shows how to download and install the toolbox and create your first example.
Ever since 2008 our webservice toolbox for Matlab is powering our award winning Travel-Time Forecast website tripcast.nl. Every time a travel time prediction is requested on this route planner website the webservice toolbox is used to invoke our Matlab algorithms to compute routes, analyse historic data, and make forecasts.
We have created a page with demo webservices. These demos contain Matlab-generated dynamic content.
The Webservice Toolbox for Matlab supports http POST and http GET request methods. The figure below illustrates typical deployment options for the Modelit Matlab Webservice Toolbox.
Step by step install instructions
Detailed install instructions are available in our User Guide (pdf)
A fully functional trial version can be downloaded from this link:
Obtaining a commercial license
Read all about Pricing and Ordering
For any questions contact Modelit.
To start creating your own webservices you'll need:
- Modelit Webservice Toolbox;
- Optional: Matlab® Compiler (for producing standalone versions of the webservice);
- Apache Tomcat (available for free).
The latest changes to the toolbox were made on Sep 17, 2021 (new expiry date). Latest additions:
- Compatibility updates for latest versions of Matlab
- Utilities for creating tile servers
- A mechanism to load balance requests over different physical machines
- Several utilities to serialize and deserialize Matlab variables
- A mechanism for making asynchronous calls to webservices from Matlab (urlread_async). This allows parallel computations, either on a single machine using local host, or using an additional servers that provide additional CPU resources.
- fig2image rewritten
- minor updates to Matlabserver.jar