CrazyEngineers
  • Running C++ Programs in Matlab

    PuneetVerma

    Member

    Updated: Oct 11, 2024
    Views: 1.2K
    Somebody experienced in Matlab please contact me. I need to run c++ program in matlab.
    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
  • Shashank Moghe

    MemberOct 24, 2014

    A simple google search gave me this:

    <a href="https://www.mathworks.com/help/simulink/slref/coder.ceval.html" target="_blank" rel="nofollow noopener noreferrer">Call external C/C++ function - MATLAB coder.ceval</a>

    I guess all you have to do is compile and save your c++ .dll in the same folder as your Matlab .m file.

    Let me know if this works.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register