You can deploy these audio input and output features outside the MATLAB® and Simulink® environments:
The generated code for the audio I/O features relies on prebuilt dynamic library files included with MATLAB. You must account for these extra files when you run audio I/O features outside the MATLAB and Simulink environments. To run a standalone executable generated from a model or code containing the audio I/O features, set your system environment using commands specific to your platform.
The path in these commands is valid only on systems that have MATLAB installed.
If you run the standalone app on a machine with only MCR, and no MATLAB installed,
$MATLABROOT/bin/... with the
path to the MCR.
To run the code generated from the above System objects and
blocks on a machine does not have MCR or MATLAB installed, use
packNGo function. The
packages all relevant files in a compressed zip file so that you can
relocate, unpack, and rebuild your project in another development
environment with no MATLAB installed.
You can use the
packNGo function at the command line or the Package option in the MATLAB
Coder™ app. The files are packaged in a compressed file that you can
relocate and unpack using a standard zip utility. For more details on how to
pack the code generated from MATLAB code, see Package Code for Other Development Environments (MATLAB Coder). For more
details on how to pack the code generated from Simulink blocks, see the
packNGo (Simulink Coder) function.