First came R, in Tableau 8.1. Then Python followed in 10.1. In Tableau 10.4, our family of supported data analysis languages grows yet again with the addition of MATLAB!

Predictive insights with performance and scale in mind

MATLAB combines a high-level language that enables you to perform computationally intensive tasks in an authoring environment built for engineers and data scientists. Because of its variety of capabilities for developing algorithms and predictive models (from statistics and optimization to machine learning), MATLAB has many applications: signal and image processing, communications, control design, test and measurement, financial modeling, and computational biology.

With this integration, you can take advantage of your models published on MATLAB Production Server inside Tableau calculated fields, passing data from your dashboards in real time to get predictive insights—with all the performance and scalability benefits of an enterprise-grade compute infrastructure.

Configure your integration

Configuring Tableau to use MATLAB is no different than Python and R connection experiences. Simply enter the server name and port for your MATLAB connection, and you’re good to go.

Find this dialog at Help > Settings and Performance > Manage External Service Connection.

How to leverage MATLAB in Tableau

Optimization of delivery routes is a very common application of advanced analytics in industries like shipping and manufacturing. MATLAB offers many different methods to achieve such tasks from linear programming to genetic algorithms. All you need to do is to write your MATLAB code as usual and deploy it to MATLAB Production Server.

Want to find the best path to travel between a set of airfields? In Tableau, just call out to that MATLAB model from your SCRIPT_ calculations and pass the necessary arguments as an ordered list. In this example, MATLAB code expects a table with two columns of data in Longitude, Latitude column order:

As you interact with the resulting visualization, you will notice that the view responds to your changes. For example, you can lasso some airports and exclude them to see recommended paths update in real time.

While we’re at it, how about exploring different investment strategies?

Portfolio optimization is commonly used by finance professionals to make investment decisions across a collection of assets such as stocks and bonds. The goal is to optimize the risk versus return of the set of investments. MATLAB provides a variety of capabilities to analyze financial data and to develop models for optimizing your financial portfolios.

Below you see percent change in daily market closing data over a 10-year period for S&P 500, Nikkei 225, TSX Composite, CAC 40, DAX, and FTSE 100 indices from the U.S., Japan, Canada, France, Germany, and the UK respectively. If you wanted to invest, given historical patterns, what would an ideal portfolio look like to increase return while reducing the risk?

MATLAB’s Financial Toolbox has all the tools you need for this question. By building and interacting with the view in Tableau, you can easily run your analysis on different periods of data or sets of markets, and get immediate results.

Together, Tableau and MATLAB enable many more advanced analytics scenarios from deep learning to predictive maintenance, making your dashboards even more impactful. To learn more about MATLAB and get a copy, contact Once you give Tableau-MATLAB integration a shot, let us know what you think at

Stay up to date

MATLAB integration joins other major feature announcements in Tableau 10.4. In this release, we’re committed to helping you get the right data in front of the right people, across the enterprise.

Data source certifications help organizations promote the best sources for teams to use. They work seamlessly with our expanded recommendations for data sources, which leverage machine learning to suggest optimal data sources for your specific analysis.

When it's time to share, with the ability to downgrade and publish workbooks, your collaborators will be sure to get insights they need—even if your organization is running an older version of Tableau Server.

Get everyone speaking the same language. Viz snapshots and commenting engage the experts around you in conversation threads that root your business decisions in the facts.

And for more powerful visualizations, we’ve added improved dashboard spacing and linear geometry spatial file support, too.

Download Tableau 10.4 beta.

Your input drives our product development—we’re excited to get your feedback!

You might also be interested in...

Add new comment

Subscribe to our blog