How to start jack_control from MATLAB

2 views (last 30 days)
richughes
richughes on 6 Feb 2015
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.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!