Search This Blog

How to Call MATLAB from Python

It shows how to call MATLAB® code from Python using a sentiment analysis example. 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. • Resources: Calling MATLAB from Python: • Generate a Python package from MATLAB: • Train a sentiment classifier: • Sequence classification using deep learning:

No comments

'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + ''; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();