What happens when altering a compiled code?

4 views (last 30 days)
samar mahmoud
samar mahmoud on 30 Mar 2018
Answered: Rik on 30 Mar 2018
If i have a c++ code which already compiled and run in matlab and i alter in the code in .cpp file only, If i need to alter any other files or not and if i need what are these files

Answers (1)

Rik
Rik on 30 Mar 2018
Matlab is not running the cpp-file, so altering it has no effect. If you want to change the code that Matlab runs, you will have to re-compile the edited cpp-file to mex.

Categories

Find more on Software Development Tools in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!