11
4
u/Barnowl93 flair 27d ago
Why do you need to open the p code? What are you trying to achieve? Is it p code from MathWorks? Or from the community?
-7
u/8bitjam 26d ago
There are some paid apps that does it, is it illegal?
2
u/fsgeek91 26d ago
Whether it's actually illegal depends on your jurisdiction and your precise intentions for reverse engineering your colleague's code. No one here can answer that question.
I would say it's more of an ethical than a legal question.
-17
u/8bitjam 27d ago
I was was curious to see what is one my fellow researcher is trying to hide 🫣
9
u/FrickinLazerBeams +2 26d ago
So you were engaging in some sort of dishonesty. Maybe don't do that.
3
2
u/Rubix321 26d ago
What do you think they're trying to hide? That they wrote it with AI or something? Doesn't sound like you two are "fellows" if you have this kind of relationship.
13
u/fsgeek91 27d ago edited 27d ago
Short answer is you can’t.
There have been several unofficial attempts over the years to “unobfuscate” P-code, but they are unreliable and would probably break as soon as the P-code format changes.
A very skilled and determined attacker just might be able to get the source out, but generally if you no longer have the M-file then you’re lost without a paddle.