Using voice to give commnads to a plot

Hi, I will go straight to the point.
I have a plot with a 3D figure represented by points, what I would like to do is give matlab a voice command that make a function starts.
Specifically I would like to say for example "rotate", matlab should recognize this vocal command and make the actual figure in the plot to rotate.
Is this possible or I should give up? Because Im going crazy trying.
Thanks in advance.

2 Comments

I don't think any such option is present as of now. We do it mostly by mouse or by command line.

Sign in to comment.

Answers (1)

There is no such capability in MATLAB. You could write it. But you will find that takes a LOT of effort to do. Worse, doing it stably & robustly will be quite difficult. This is something you absolutely need to do?
If so, then start writing. Break the problem into small ones. So, learn how to do all the things you want to do on a plot, doing them programmatically.
Next, develop a voice interface code. So learn how to recognize specific words, ROBUSTLY, making no mistakes. I assume you will need to make this robust against different voices too.
You will next need to learn about putting this all together into one coherant package.
Expect to take a serious amount of time on the project, so if the only reason for doing this is to have a fun interface, one that will probably fail to recognize your voice most of the time, then WHY BOTHER?
Maybe you don't believe me. So some time, try talking to Siri. Siri almost never understands what I asked. Yes, I know that TV shows and movies show voice activated computer programs. All you need do is tell it do do something in a few vague words, and the equivalent of a PHd thesis pops out.

Categories

Asked:

on 6 Jul 2017

Answered:

on 6 Jul 2017

Community Treasure Hunt

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

Start Hunting!