Audio System Toolbox Plugin Generation Error
Show older comments
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
1 Comment
Sindhu Yerragunta
on 8 Aug 2017
Can you confirm the version of MATLAB you are using ?
-Sindhu
Answers (0)
Categories
Find more on Audio Plugin Creation and Hosting in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!