MATLAB: Hiding 1) content of.mat file and 2).m file names as well as the content hiding code hiding data files hiding file names MATLAB Hi there, I need to send a software, containing about 50 files including.m, compiled mex, and.mat, to be used by someone who will test it in matlab. The size of P-code is less than the m-code file size. So it may be a form of byte code with may be a weak encryption. As per MATLAB it is not possible to reverse engineer it back to m file. Mar 4, 2018 - Is there a way to open a pcode file (.p) in MATLAB. Is there a way to see the source of a pcode file. You invoke the resulting P-code file in the.
MATLABĀ® creates the P-files in the current folder. The original.m file or folder can be anywhere on the search path. The size of P-code is less than the m-code file size. So it may be a form of byte code with may be a weak encryption. As per MATLAB it is not possible to reverse engineer it back to m file. Decrypt Files Without Key; Decrypt. This could either mean, that a random key is stored in the P-file or Matlab has a static key and adds some random salt to the P-file. For an decryption algorithm both alternatives are almost identical, because the decrypted salt can be seen as a key stored in the file. The P-files are much smaller than a zipped version of the M-files.
![Code Code](https://visihow.com/images/3/3c/Screen_shot_2013-09-19_at_10.20.14_AM.png)
while doing some semestral works in MATLAB, I just ran into a .p file, which I had no idea of its existence until now (I knew only the regular .m files). As I found out, it works just like regular script, but its content is protected from displaying somehow.
So, this is my question - does anybody know the way how to decrypt it into the .m file or another 'readable' form? Just to clarify, it's just an evaluation script I can send a link to, a script that I actually passed and which interests me because of the unknown rather than because of its exact content. Because of that, if anyone here DOES know the answer to my question, I would prefer gentle hints like those in the Missions section, just to direct me in the right way.