how to regenerate .p code when I DO have the original .m file?

10 views (last 30 days)
I'm working on a program that I am now updating and it uses .p code that I finally have the .m files for. When I run the program, immediately I get the error:
> In pcode at 209
In VP2FilterDes at 148
Warning: The P-code file RequestGUI.p was generated prior to MATLAB version 7.5
(R2007b) and will not be supported in a future release. Use pcode to regenerate
RequestGUI.p using MATLAB R2007b or later.
Where do i regenerate the .p code if the original .m files are in a folder one directory up from .p files?
I tried "pcode <.p code filename>" and directory with .m files are added to path already but not working.
Am I using the wrong command?

Answers (1)

Fangjun Jiang
Fangjun Jiang on 23 Sep 2019
In the directory of RequestGUI.m, run
pcode RequestGUI
and then copy the RequestGUI.p file
See "doc pcode" for more info.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!