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: http://bit.ly/2nZ9mlJ • Call user-defined Python modules in MATLAB: http://bit.ly/2nVyoCb • Train a sentiment classifier: http://bit.ly/2pqUQn3 • Sequence classification using deep learning: http://bit.ly/2pt3RMx

No comments

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