CrazyEngineers
  • Convert C codes to Matlab Codes

    Vila

    Member

    Updated: Oct 25, 2024
    Views: 1.2K
    Hiiii everybody,

    How do i change or convert C codes to Matlab codes? Is there any software that can convert C codes to Matlab codes? I have lots of C codes here, but i need them all in Matlab codes form.

    Thank you...
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Vila

    MemberNov 7, 2008

    Hiiii everybody,

    How do i change or convert C codes to Matlab codes? Is there any software that can convert C codes to Matlab codes? I have lots of C codes here, but i need them all in Matlab codes form.

    Thank you...
    Are you sure? This action cannot be undone.
    Cancel
  • anuragh27crony

    MemberNov 10, 2008

    there's no need to convert the C-Code into Matlab...

    as far as i know, we can run C-code directly in Matlab... I don't know exactly but need to check it once.... :smile:
    Are you sure? This action cannot be undone.
    Cancel
  • Vila

    MemberNov 17, 2008

    Hiiiii,

    Yes its done by using the MEX file. But i dont know how to use the MEX file inside C codes to make it run in Matlab. Besides the header file, where else do we need to include the MEX file, and when to include it? and also how to use the MEX file?

    Thankss...
    Are you sure? This action cannot be undone.
    Cancel
  • akshu

    MemberJan 30, 2009

    hi, all
    anybody help me out regarding Convert C codes to Matlab Codes.

    How do i change or convert C codes to Matlab codes? Is there any software that can convert C codes to Matlab codes?


    Thanks..
    Are you sure? This action cannot be undone.
    Cancel
  • durga ch

    MemberJan 31, 2009

    I had this thought that MATLAB follows the syntax of C codes.
    I found this out from mathworks.com
    Lokks like all you need is a matlab C complier and then changing the main() function in your C code to mexfunction and remainging all should work as the syntax is same

    look for more! 😀

    #-Link-Snipped-#

    #-Link-Snipped-#
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register