Audio System Toolbox Plugin Generation Error

Hello,
I'm trying to compile an audio plugin to VST format to use it an a DAW.
Whenever I call the generateAudioPlugin function to do so, I get the following error:
??? Error evaluating the post-code-generation command.
Caused by:
Undefined function 'isDouble' for input arguments of type 'embedded.numerictype'.
Error in ==> createPluginInstance Line: 1 Column: 1
Code generation failed: View Error Report
Error using coder.internal.generateAudioPlugin
Error in generateAudioPlugin
Error in generateAudioPlugin
I'm using Visual Studio 2015/2017 as compiler with this patch installed:
mex -setup outputs this:
MEX configured to use 'Microsoft Visual C++ 2015 Professional (C)' for C language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the
new API. You can find more information about this at:
http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.
To choose a different C compiler, select one from the following:
Microsoft Visual C++ 2015 (C) mex -setup:'C:\Program Files\MATLAB\R2016b\bin\win64\mexopts\msvc2015.xml' C
Microsoft Visual C++ 2017 (C) mex -setup:'C:\Program Files\MATLAB\R2016b\bin\win64\mexopts\msvc2017.xml' C
Microsoft Visual C++ 2015 Professional (C) mex -setup:C:\Users\willi\AppData\Roaming\MathWorks\MATLAB\R2016b\mex_C_win64.xml C
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
Thank you

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Audio Plugin Creation and Hosting 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by