The Modelit Webserver Toolbox for Matlab (2008-2017) 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 tool box and create your first example.

Live examples

Ever since 2008 our webservice toolbox for Matlab is powering our award winning Travel-Time Forecast website 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.

Deployment options

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)

Free trial

A fully functional trial version can be downloaded from this link:

Go to download page

Obtaining a commercial license

Read all about Pricing and Ordering

For any questions contact Modelit.

Technical requirements

To start creating your own webservices you'll need:

  • Modelit Webservice Toolbox;
  • Matlab®;
  • Optional: Matlab® Compiler (for producing standalone versions of the webservice);
  • Apache Tomcat (available for free).

Latest updates

The latest changes to the toolbox were made on 20170906. Recent additions:

  • 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
  • fig2image rewritten

These utilities allow users of the Matlab webservice toolbox to set up parallel computations, either on a single machine using local host, or using an additional server that provides additional CPU resources.

Further reading

See our user guide or contact us at Modelit.