How to Call MATLAB from Python
his video uses a sentiment analysis example to show how to call MATLAB® code from Python.
- Watch the companion video about calling Python from MATLAB: https://youtu.be/LHEZqpvE7D0
- Learn more about using MATLAB with Python: https://bit.ly/30q8jKC
- Download the code for this video: https://bit.ly/2q0YzbQ
In this example, Python is used for listening to audio through a microphone and detecting text from speech.
Then, a pretrained machine learning model in MATLAB is used to predict the sentiment (positive, negative, or neutral) of the detected text. First, you will see how the MATLAB Engine API for Python can be used to directly call MATLAB as a computational engine from Python code. Next, you will learn how to deploy MATLAB code as a Python package using MATLAB Compiler SDK™. This deployed package requires only the MATLAB Runtime, which enables you to share your code royalty-free with users who do not need MATLAB.
Check out the full playlist, which shows how to use MATLAB and Simulink across a range of topics: https://youtube.com/playlist?list=PLn...
Ask your questions: https://matlabirawen.quora.com/
Join us on Telegram: https://t.me/matlabcastor
Join us on Facebook Group: https://www.facebook.com/groups/matlabcodes
No comments