Using MATLAB with Python
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.
This example requires MATLAB R2019b or later, 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 and 3.7.
Citation pour cette source
Sebastian Castro (2024). Using MATLAB with Python (https://github.com/mathworks/matlab-with-python), GitHub. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.4 | Linked to new GitHub repository. |
|
|
1.0.3 | Added YouTube video links |
|
|
1.0.2 | Corrected submission title. |
|
|
1.0.1 | Connected to GitHub |
|
|
1.0.0 |