Python for MATLAB Development

Source Code for 'Python for MATLAB Development' by Albert Danial
318 Downloads
Updated 1 Jul 2022

Apress Source Code

This repository accompanies Python for MATLAB Development by Albert Danial (Apress, 2022). The blog series Python is the Ultimate MATLAB Toolbox will contain selections from the book.

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

py2mat.m and mat2py.m

MATLAB functions to convert arbitrary Python variables to native MATLAB variables and vice versa can be found in the code directory:

df2t.m and t2df.m

Pandas dataframe to and from MATLAB table converters, conceptually similar to py2mat.m and mat2py.m, can be found at Artem Lenskiy's PandasToMatlab project.

MATLAB Expo 2022

I gave a presentation, Python for MATLAB Development, (video, 24 minutes) on May 17 at the MATLAB Expo 2022.

Slides and other files cited in the presentation can be found in https://github.com/Apress/python-for-matlab-development/tree/main/matlab_expo_2022.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

Cite As

Al Danial (2024). Python for MATLAB Development (https://github.com/AlDanial/python-for-matlab-development/releases/tag/v1.0.0), GitHub. Retrieved .

Danial, Albert. Python for MATLAB Development. Apress, 2022, doi:10.1007/978-1-4842-7223-7.

View more styles
MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b and later releases
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.