Project crashes when I try to initiate a new Matlab dll class in C# RRS feed

  • Question

  • I followed the step according to 


     and create my Matlab dll for C#. However, when the program runs to initiating new class, the program crashes with error message "[PROJ NAME] has stopped working." There aren't any other error message that I can google for. Does anyone have similar problem? Thanks!

    Here is a screenshot when the problem occurs:


    To clarify, I used Matlab R2013a and visual studio 2013. 

    • Edited by hwjwill Tuesday, August 4, 2015 12:04 AM Clarify
    • Moved by Kristin Xie Wednesday, August 5, 2015 1:50 AM 3rd-party dll
    Tuesday, August 4, 2015 12:03 AM


  • Hi hwjwill,

    Based on your description, your case more related to Matlab, since it is 3rd-party product, I am afraid this is out of our support, please redirect to Matlab answers forum for better help.

    Help link:


    Thanks for your understanding.

    Best regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Wednesday, August 5, 2015 4:49 PM
    • Marked as answer by Just Karl Friday, September 4, 2015 9:57 PM
    Wednesday, August 5, 2015 1:49 AM