py2mat.m, mat2py.m now more than 3x faster

20 views (last 30 days)
Al Danial
Al Danial on 24 Sep 2023
py2mat.m and mat2py.m are now more than 3x faster when converting variables repeatedly. (py2mat.m and mat2py.m are utilities that can convert native Python variables to native MATLAB variables and vice versa and are handy when calling Python functions from MATLAB. I demonstrated py2mat.m and mat2py.m use in my MATLAB 2022 Expo talk )
Thanks to https://github.com/hcommin for profiling py2mat.m and mat2py.m and coming up with the speed enhancements. Details on how the speed enhancements were achieved can be found at my blog.

Answers (0)

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!