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

16 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by