How to Call Python from MATLAB

This video shows how to call Python code from MATLAB® using a sentiment analysis example. This example consists of listening to audio through a microphone, detecting text from speech, and using a pretrained machine learning model to predict the sentiment (positive, negative, or neutral) of the detected text. In the example, MATLAB is first used to record audio data from a microphone. A user-defined Python module is then used to detect text from the audio signal. This text is then returned to MATLAB to continue performing the sentiment analysis. Resources: • System and configuration requirements to call Python from MATLAB: • Call user-defined Python modules in 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); })();