MATLAB Answers

Driving Audio Device in Simulink Desktop Real-time

1 view (last 30 days)
Spencer Chen
Spencer Chen on 17 Feb 2018
Commented: Spencer Chen on 18 Feb 2018
The Audio Writer block does not work in External Mode with Desktop Real-Time.
Is there a way to drive the audio output otherwise for Desktop Real-time?

  5 Comments

Show 2 older comments
Walter Roberson
Walter Roberson on 18 Feb 2018
There is a small chance that the audio board will show up as a possible output if you use the Analog Output block. But I suspect it will not, so you would probably need a custom I/O block.
Spencer Chen
Spencer Chen on 18 Feb 2018
Good idea. I just checked it out on 2 different machines, one with internal audio out, and another with SoundBlaster. No such luck here. I don't know how to write custom IO blocks. So it looks like I'll need add hardware.
Spencer Chen
Spencer Chen on 18 Feb 2018
Having Mic input and Audio output for Desktop Real-time would be great, if Mathworks' development team is listening in. Saves me having to get additional IO card for simple Analog IN and OUT.

Sign in to comment.

Answers (0)