If you've legitimately lost access to your original MATLAB source code, I recommend:
: Users on MATLAB Answers frequently ask about obtaining original source code from P-files, generally receiving the answer that there is no supported way to decrypt them . matlab pcode decoder7z best
P-code is explicitly designed to protect the author's IP. Attempting to decode it generally violates the software license agreement of MATLAB and may violate copyright laws or trade secret protections, depending on jurisdiction. If you've legitimately lost access to your original
: Decrypting or reverse-engineering MATLAB P-code may violate the license agreements of the software provider or the creator of the code. matlab pcode decoder7z best