Possibility of decompiling .exe to m files by using eval function?

5 views (last 30 days)
Hello,
I have a Malab exe, this exe reads all input varibles from a text via the eval function. So I wonder if I can get the mfile code by adding some codes in this text. I have tried matlab.desktop.editor.getActive but it failed. I also tried who and whos but only varibles were given. Is there any other ways or it is impossible? thank you.

Accepted Answer

Steven Lord
Steven Lord on 28 Jan 2022
From the documentation "MATLAB Runtime only works on MATLAB code that was encrypted when the deployable archive was built. Any function or process that dynamically generates new MATLAB code will not work against MATLAB Runtime."

More Answers (0)

Categories

Find more on Language Support in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!