P-Code incompatibility!

I have the R2017b student version of matlab. But a I have to use a P-code created under R2013a version. Can I downgrade to the R2013 a version?

3 个评论

I have seen contradictory information about this for Student licenses, and no information about this for Home licenses or MOOC licenses. It is known to be possible for the other (non-Trial) licenses.
(R2007b was the version where pcode become incompatible.)
OMG... What now?

请先登录,再进行评论。

 采纳的回答

Jan
Jan 2017-11-11

0 个投票

The P-code standard did not change between the Matlab versions 2013a and 2017b as far as I know. Are you sure that the incompatibility concerns the P-file, or is one of the functions called from inside the P-file not contained in your Matlab installation? Providing a complete copy of the error message might reveal this detail.

1 个评论

Thanks for the answer (^_^).
Follows the error message:
No constructor 'handle.listener' with matching signature found.
Error in uiextras.Container (line 95)
obj.Listeners{end+1,1} = handle.listener( containerObj, findprop( containerObj, 'PixelBounds' ),
'PropertyPostSet', @obj.onResized );
Error in uiextras.CardPanel (line 50)
obj = obj@uiextras.Container( varargin{:} );
Error in uiextras.TabPanel (line 51)
obj = obj@uiextras.CardPanel( varargin{:} );
Error in mbdep
Error in gui_mainfcn (line 264)
feval(gui_State.gui_OutputFcn, gui_hFigure, [], gui_Handles);
Error in mbdep

请先登录,再进行评论。

更多回答(3 个)

Walter Roberson
Walter Roberson 2017-11-12

1 个投票

The code appears to make use of the GUI Layout Toolbox, https://www.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox -- or to be more precise, the older version of it https://www.mathworks.com/matlabcentral/fileexchange/27758-gui-layout-toolbox
Possibly that toolbox is not installed in your newer version of MATLAB.

3 个评论

Wow... maybe! Thank you very much! I'll try it!
Did not work!
Vahid Khorasani: which MATLAB release are you using, and which version of the GUI Layout Toolbox do you have installed?

请先登录,再进行评论。

Darby Lima
Darby Lima 2017-11-12

0 个投票

I've installed the older version of toolbox, but the problem still persists.

3 个评论

You would need the newer version of the toolbox for newer MATLAB.
More precisely:
These two versions are incompatible, and you should only have the correct version in your Matlab path, depending on your Matlab release.
Darby Lima
Darby Lima 2017-11-12
编辑:Darby Lima 2017-11-12
I tried both, one at a time. Now, I uninstalled Matlab and then a reinstallation. With the https://www.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox, worked properly.
Thank you very much!

请先登录,再进行评论。

Darby Lima
Darby Lima 2017-11-12

0 个投票

Thank you all for the comments, I solved the problem with the https://www.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox
I also reinstalled matlab then the GUI. (^_^)

类别

帮助中心File Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by