image thumbnail

Using MATLAB with Python

version 1.0.4 (32.1 KB) by Sebastian Castro
文件说明MATLAB和Python交互操作erability

1.3K Downloads

Updated07 Nov 2019

From GitHub

View license on GitHub

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.

Cite As

Sebastian Castro (2022).Using MATLAB with Python(https://github.com/mathworks/matlab-with-python), GitHub. Retrieved.

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
To view or report issues in this GitHub add-on, visit theGitHub Repository.
To view or report issues in this GitHub add-on, visit theGitHub Repository.