A magic number is a number embedded at or near the beginning of a file that indicates its file format (i.e., the type of file it is). 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.
Deploy as P-code - Convert some or all of your source code files to a content-obscured form called a P-code file (from its.p file extension), and distribute your application code in this format.