MATLAB Answers


I need to open a .p file made by MathWorks, what should i do?

Asked by salah Adly on 8 Dec 2018
Latest activity Answered by Walter Roberson
on 8 Dec 2018
While working with the vehicle dynamics blockset provided by MathWorks, I came across a .p file, that file performs essenitial calculations, so it's very important for me to access this file.


The whole point of p-files is that they obfuscate the internals. I have heard you can decompile them, but that process is probably breaking some licensing agreement.
So you can have a look at what that function does, but not in a legal way.
Since p-code is designed not to be opened, not to be viewed, you are stuck. Your best choice is to find the person who wrote the file, and convince them to give you the code.

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 8 Dec 2018

The way to get access to the source for that .p file is ... Which is to say, get a job with Mathworks.


Sign in to comment.