How do I control my computer's audio volume from the MATLAB command prompt?

I want to adjust the audio volume of my computer using MATLAB.

 Accepted Answer

The ability to directly control your computer's audio volume is not available in MATLAB.
To work around this issue you can use the SYSTEM function in MATLAB to issue commands to another program that can control audio volume. Users on Windows systems can also use the DOS function.
For more information on the SYSTEM or DOS functions, type:
doc system
doc dos
at the MATLAB command prompt.

More Answers (0)

Products

Release

R14SP1

Community Treasure Hunt

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

Start Hunting!