What's New in MATLAB

Learn about new capabilities that can help you get the most out of MATLAB.

Low Code

MATLAB includes apps, interactive tools, and high-level functions that make it easy to complete tasks with little to no coding. These same tools reinforce what you are doing by automatically generating the code you need to reproduce and document results.

Get started quickly by executing commands interactively with immediate results.

  • Create a pivot table to summarize tabular data using the pivot function (R2023a)
  • Additively decompose data into long-term and seasonal trends using the trenddecomp function (R2021b)
Compare smoking status to health status using pivot function

Comparing smoking status to health status using pivot function.

Live Editor Tasks

Simple point-and-click interfaces can be added to a live script to perform a specific set of operations.

  • Import various types of data (Import Data) in live scripts (R2023a)
  • Summarize, transform, and filter groups of data (Compute by Group) and center and scale data (Normalize Data) (R2021b)
  • Create and explore visualizations (Create Plot) for your data  (R2021a)

MATLAB Apps

Interactive applications can be used to complete common tasks and workflows without writing code.

  • Preprocess and organize column-oriented data using the Data Cleaner app (R2022a)
  • Discover and connect to your hardware from MATLAB using the Hardware Manager app (R2022a)
  • Identify and address compatibility issues against the current version of MATLAB using the Code Compatibility Analyzer app (R2022a)

Software Development

As work increases in scope and complexity—beyond what the interactive tools support—the MATLAB language grows with you, providing a range of capabilities that support iterative software development by making it easier to develop, share, run, and maintain your code and apps.

  • Find and fix code issues interactively (Code Analyzer app) or programmatically using the fix function (R2023a)
  • Run tests and view results using the Test Browser app (R2023a)
  • Create and run software-build tasks in a uniform and efficient way using the build tool (R2022b)
  • Identify and address compatibility issues against current version of MATLAB using the Code Compatibility Analyzer app (R2022a)
  • Create graphical class diagrams to explore class hierarchy and class details using the Class Diagram Viewer tool (R2021a)

MATLAB and Python

MATLAB provides a flexible, two-way integration with many programming languages, including Python.

  • Convert between MATLAB datetime and duration types and the corresponding types in Python, NumPy (R2023a)
  • Pass NumPy arrays directly to MATLAB functions (R2022b)
  • Use name=value syntax to pass keyword arguments to Python functions (R2022a)
  • View and edit Python files with syntax highlighting, auto-indenting, and delimiter matching (R2022a)
  • Run Python commands (pyrun) and scripts (pyrunfile) from MATLAB (R2021b)

Other Highlights

  • Use the dictionary object to map unique keys to values for fast look up of values in a larger set (R2022b)
  • Call MATLAB from .NET applications using the .NET Engine API (R2022b)
  • Pass tables directly to stem, stairstep, and geographic plots (R2022b), and to plot, plot3, polarplot, and other line plotting functions (R2022a)
  • Read Parquet file data more efficiently using rowfilter to conditionally filter rows (R2022a)
  • Run MATLAB functions on a background thread using backgroundPool (R2021b)

See the full list of the latest features in MATLAB.