How to start jack_control from MATLAB
2 views (last 30 days)
Show older comments
I am trying to run a shell script in Linux from MATLAB using either unix or !. The script runs fine from the command line, but behaves differently when sent from MATLAB. As an example, one bit that fails is starting the jack_control utility (part of the jack audio connection kit) with the line:
unix('sudo jack_control start')
Which returns:
DBus exception: org.jackaudio.Error.Generic: Failed to open server
When I run the same line directly in a terminal, the error doesn't occur.
0 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!