py2mat.m, mat2py.m now more than 3x faster
17 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Call Python from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!