This is from MATLAB documentation that can be found here: https://www.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html
When MATLAB P-codes a file, the file is obfuscated not encrypted. While the content in a .p file is difficult to understand, it should not be considered secure. It is not recommended that you P-code files to protect your intellectual property.