MATLAB: .Net Assembly missing

cdlllibrary compilerMATLABnetvisual studio

I am using Matlab 2018b having Matlab Compiler Tool. But while using Library compiler, there is no option of .Net Assembly, my need is to convert .m file to .dll which is to be used in visual studio.
matlab question.png

Best Answer

With MATLAB Compiler, you can compile a MATLAB script to an executable and to an Excel Add-in. However to compile a MATLAB script to a .Net Assembly, you need to have MATLAB Compiler SDK installed. MATLAB Compiler SDK extends the functionality of MATLAB Compiler to let you build C/C++ shared libraries, .NET assemblies, Java classes, and Python packages from MATLAB programs.