can i use .m matlab files in c# RRS feed

  • Question

  • can i use .m files in C# language

    for example, i've created 10 functions in matlab and i want to use them in C# language

    is there anyway to do it..

    • Moved by Mike Feng Sunday, April 1, 2012 8:42 AM Matlab (From:.NET Base Class Library)
    Thursday, March 15, 2012 10:35 AM


All replies

  • download the following assembly from internet and use it.

    using MathWorks.MATLAB.NET.ComponentData; using MathWorks.MATLAB.NET.Arrays;

    using MathWorks.MATLAB.NET.Utility;

    Then include your matlab .dll and you will be able to use your function.

    If you find this answer help ful please vote and mark it as answer.

    • Proposed as answer by Gyana Thursday, March 15, 2012 12:08 PM
    Thursday, March 15, 2012 12:08 PM
  • thanks

    but i did not find matlab.dll file..

    can you send me the link please..

    Sunday, March 18, 2012 9:15 PM
  • Hi Bayar,

    For your new question, I suggest you post it on here: 

    I hope this will be helpful.

    Best regards,

    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Sunday, April 1, 2012 8:41 AM