Python for MATLAB Development
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.
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:
- https://github.com/Apress/python-for-matlab-development/blob/main/code/matlab_py/py2mat.m
- https://github.com/Apress/python-for-matlab-development/blob/main/code/matlab_py/mat2py.m
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.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
code/IO
code/IO/tcp
code/OO
code/dask
code/f2py
code/geopandas
code/griddata
code/hpc
code/language_structure
code/matlab_py
code/mesh
code/ode
code/optim
code/plots
code/statistics
cython/mb
matlab_expo_2022
numba/mb
pythran/mb
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |