https://github.com/mathworks/matlab-with-python
Files demonstrating MATLAB and Python interoperability
https://github.com/mathworks/matlab-with-python
matlab matlab-python python
Last synced: 8 months ago
JSON representation
Files demonstrating MATLAB and Python interoperability
- Host: GitHub
- URL: https://github.com/mathworks/matlab-with-python
- Owner: mathworks
- Created: 2019-10-30T12:08:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-09T21:27:37.000Z (9 months ago)
- Last Synced: 2025-04-19T12:43:09.938Z (9 months ago)
- Topics: matlab, matlab-python, python
- Language: Jupyter Notebook
- Homepage:
- Size: 68.4 KB
- Stars: 111
- Watchers: 6
- Forks: 43
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Using MATLAB with Python
[](https://www.mathworks.com/matlabcentral/fileexchange/72852-using-matlab-with-python)
Copyright 2019 The MathWorks, Inc.
### Description
These are the supporting files for the [How to Call Python from MATLAB](https://youtu.be/LHEZqpvE7D0) and
[How to Call MATLAB from Python](https://youtu.be/OocdPu1Tcrg) videos.
They show examples of speech-to-text recognition and sentiment analysis of
the detected text by combining MATLAB and Python functionality.
More info and examples in the [doc for using MATLAB with Python](https://www.mathworks.com/help/matlab/python-language.html)
### Setup and Requirements
This example requires MATLAB R2019b or later (for text analytics functionality), as well as
Statistics and Machine Toolbox and Text Analytics Toolbox.
You will also need to install Python and the appropriate packages to run
this example. The two main ones you will need are as follows; however, you
may need to first resolve other unmet dependencies.
`pip install speechrecognition pocketsphinx`
This example was tested using Python versions 3.6 - 3.9.