{"id":15716424,"url":"https://github.com/mrkrd/matlab_wrapper","last_synced_at":"2025-08-22T00:32:22.530Z","repository":{"id":17760480,"uuid":"20617199","full_name":"mrkrd/matlab_wrapper","owner":"mrkrd","description":"Easy to use MATLAB wrapper for Python","archived":false,"fork":false,"pushed_at":"2019-04-11T13:33:14.000Z","size":205,"stargazers_count":78,"open_issues_count":3,"forks_count":23,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-11-27T20:51:39.120Z","etag":null,"topics":["matlab","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrkrd.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"COPYING.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-08T13:28:04.000Z","updated_at":"2024-04-07T11:36:47.000Z","dependencies_parsed_at":"2022-07-26T19:30:08.464Z","dependency_job_id":null,"html_url":"https://github.com/mrkrd/matlab_wrapper","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkrd%2Fmatlab_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkrd%2Fmatlab_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkrd%2Fmatlab_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrkrd%2Fmatlab_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrkrd","download_url":"https://codeload.github.com/mrkrd/matlab_wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230542289,"owners_count":18242332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["matlab","python"],"created_at":"2024-10-03T21:45:36.508Z","updated_at":"2024-12-20T06:07:15.792Z","avatar_url":"https://github.com/mrkrd.png","language":"Python","readme":"matlab_wrapper\n==============\n\nWith *matlab_wrapper* you can easily talk to MATLAB from your Python\nscripts and an interactive shell.  MATLAB session is started in the\nbackground and appears as a regular Python object.\n\n**Info**: *matlab_wrapper* is maintained, but not actively developed.\n\n\nUsage\n-----\n\nInitialize::\n\n  import matlab_wrapper\n  matlab = matlab_wrapper.MatlabSession()\n\n\nLow level::\n\n  matlab.put('a', 12.3)\n  matlab.eval('b = a * 2')\n  b = matlab.get('b')\n\n\nWorkspace::\n\n  s = matlab.workspace.sin([0.1, 0.2, 0.3])\n\n  sorted,idx = matlab.workspace.sort([3,1,2], nout=2)\n\n  matlab.workspace.a = 12.3\n  b = matlab.workspace.b\n\n\nMore examples are in the examples_ directory!\n\n.. _examples: https://github.com/mrkrd/matlab_wrapper/tree/master/examples\n\n\n\nFeatures\n--------\n\n- Access MATLAB variables and functions from Python\n- Multiplatform: GNU/Linux, Windows, OS X\n- On-the-fly conversion between MATLAB and Numpy data types\n- Support for MATLAB's numerical, logical, struct, and cell arrays\n- Pure Python, no need to compile anything (*matlab_wrapper* talks to\n  `MATLAB engine library`_ using ctypes_)\n\nFor a complete list of changes including new features, check the\nNEWS.rst_ file.\n\n.. _`MATLAB engine library`: http://www.mathworks.com/help/matlab/matlab_external/introducing-matlab-engine.html\n.. _ctypes: https://docs.python.org/2/library/ctypes.html\n.. _NEWS.rst: NEWS.rst\n\n\n\nInstallation\n------------\n\nFirst, make sure that you have the following components installed:\n\n- Python 2.7\n- MATLAB (various versions)\n- Numpy\n\n\nNext, install *matlab_wrapper* using pip (the standard Python package\ninstallation tool) from your command line::\n\n   pip install matlab_wrapper\n\n\n\nContribute\n----------\n\nCheck our CONTRIBUTING_ guidelines.\n\n- Issue Tracker: https://github.com/mrkrd/matlab_wrapper/issues\n- Source Code: https://github.com/mrkrd/matlab_wrapper\n\n\n\nSupport\n-------\n\nIf you are having issues, please let me know through the issue\ntracker: https://github.com/mrkrd/matlab_wrapper/issues.  Try to avoid\nduplicates by searching previous issues, checking FAQ_, and\nCONTRIBUTING_.\n\n.. _FAQ: FAQ.rst\n.. _CONTRIBUTING: CONTRIBUTING.rst\n\n\n\nAcknowledgments\n---------------\n\n*matlab_wrapper* was forked from pymatlab_.\n\nMATLAB is a registered trademark of `The MathWorks, Inc`_.\n\n.. _pymatlab: http://pymatlab.sourceforge.net/\n.. _`The MathWorks, Inc`: http://www.mathworks.com/\n\n\n\n\nLicense\n-------\n\nThe project is licensed under the GNU General Public License v3 or\nlater (GPLv3+).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkrd%2Fmatlab_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrkrd%2Fmatlab_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkrd%2Fmatlab_wrapper/lists"}