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

조회 수: 10 (최근 30일)
Sergio Herrera
Sergio Herrera 2019년 9월 23일
답변: Fangjun Jiang 2019년 9월 23일
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?

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Adding custom doc에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by