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 Comments

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?

Sign in to comment.

 Accepted Answer

Jan
Jan on 11 Nov 2017

0 votes

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 Comment

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

Sign in to comment.

More Answers (3)

Walter Roberson
Walter Roberson on 12 Nov 2017

1 vote

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 Comments

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?

Sign in to comment.

Darby Lima
Darby Lima on 12 Nov 2017

0 votes

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

3 Comments

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 on 12 Nov 2017
Edited: Darby Lima on 12 Nov 2017
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!

Sign in to comment.

Darby Lima
Darby Lima on 12 Nov 2017

0 votes

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. (^_^)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 11 Nov 2017

Commented:

on 20 Jul 2018

Community Treasure Hunt

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

Start Hunting!