MATLAB: ASIO audio driver with MATLAB 2016a

2016aasioaudioAudio ToolboxdriverdspDSP System Toolbox

Hi everybody,
I want to use ASIO drivers with the DSP system toolbox in MATLAB2016a, however, it seems that the option in the preferences as in 2015 does not exist anymore. I use 'audioDeviceWriter' and one of the options is 'Driver' but it seems that I need the 'Audio System Toolbox' (not for free?!). Is there a way to use ASIO drivers with MATLAB2016a without the need of external toolboxes like Psychtoolbox?
Best, Axel

Best Answer

Axel,
You can continue using ASIO with DSP System Toolbox in R2016a by changing the driver using MATLAB command-line as described in this doc page. For example, the following code will set ASIO driver:
>> setpref('dsp','portaudioHostApi',3)
Going forward, please note that dsp.AudioPlayer and dsp.AudioRecorder are on their path to deprecation and are superceded by the much improved audioDeviceWriter and audioDeviceReader objects.
Related Question