For reverse engineering .p files.
Despite what the lawyers think, sometime it's just for learning. Or Devops. (Blame Devops).
- Rename all
*.p
files as*2.p
. - Create
*.m
file in.p
file's place. - Some
varargin
,nargouts
, and ```dbstop`` stuffs. - Profit.
Do different stuffs for OOP things.
- Licensing bits for NXP's Model-Based Design Toolbox for DevOps bits.
If you read the fine print of where ever you got the .p file, you probably shouldn't do this.