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 Commenti

Walter Roberson
Walter Roberson il 11 Nov 2017
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.
Walter Roberson
Walter Roberson il 11 Nov 2017
(R2007b was the version where pcode become incompatible.)
Darby Lima
Darby Lima il 12 Nov 2017
OMG... What now?

Accedi per commentare.

 Risposta accettata

Jan
Jan il 11 Nov 2017

0 voti

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 Commento

Darby Lima
Darby Lima il 11 Nov 2017
Modificato: Walter Roberson il 11 Nov 2017
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

Accedi per commentare.

Più risposte (3)

Walter Roberson
Walter Roberson il 12 Nov 2017

1 voto

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 Commenti

Darby Lima
Darby Lima il 12 Nov 2017
Wow... maybe! Thank you very much! I'll try it!
Vahid Khorasani
Vahid Khorasani il 20 Lug 2018
Did not work!
Walter Roberson
Walter Roberson il 20 Lug 2018
Vahid Khorasani: which MATLAB release are you using, and which version of the GUI Layout Toolbox do you have installed?

Accedi per commentare.

Darby Lima
Darby Lima il 12 Nov 2017

0 voti

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

3 Commenti

Walter Roberson
Walter Roberson il 12 Nov 2017
You would need the newer version of the toolbox for newer MATLAB.
Yair Altman
Yair Altman il 12 Nov 2017
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 il 12 Nov 2017
Modificato: Darby Lima il 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!

Accedi per commentare.

Darby Lima
Darby Lima il 12 Nov 2017

0 voti

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

Categorie

Scopri di più su Programming in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by