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

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

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)

Products

Asked:

on 28 Jan 2022

Answered:

on 28 Jan 2022

Community Treasure Hunt

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

Start Hunting!