Failure to Find MATLAB Classes
If your application generates a diagnostic message indicating that
Mathworks.MATLAB.NET.name cannot be found,
it could be that you need to reference the MWArray.dll assembly in your
Visual Studio® project.
The MWArray.dll assembly is located at
matlabroot\toolbox\dotnetbuilder\bin\arch\v4.0.
matlabrootis your root MATLAB® or MATLAB Runtime folder.archis the architecture of your computer, such aswin64for a 64-bit Windows® computer.