Change in OOP programming between 2014a and 2016 – Structures not recognized anymore?
Hello all,
I’m working on a project that was coded in 2014a version and trying to bring it up the MatLab versions. I tried to bring it from the 2014a to 2016a version but I seem to have an issue with how the Object Oriented Programming files are handled by Matlab.
Here’s a ‘picture’ of my directory :
I have an issue where Matlab says that :
Warning: ‘bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformation’ exceeds MATLAB’s maximum name length of 63 characters
and has been truncated to ‘bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformatio’.
….
Undefined variable "aaa" or class "aaa.bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformatio".
Error in … (line …)
oPlugin = aaa.(sPlugin(6:end))(this, oParent, oGUI, varargin{:});
Has something changed in the way files and folders are handled my Matlab / OOP in the transition from 2014a to 2016a as it’s working in the 2014a version?
Also, I’m going from 2014a to 2023b versions of Matlab. Is a ‘stop’ at the 2016a version before going to the 2023b version worth it?
Thanks !Hello all,
I’m working on a project that was coded in 2014a version and trying to bring it up the MatLab versions. I tried to bring it from the 2014a to 2016a version but I seem to have an issue with how the Object Oriented Programming files are handled by Matlab.
Here’s a ‘picture’ of my directory :
I have an issue where Matlab says that :
Warning: ‘bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformation’ exceeds MATLAB’s maximum name length of 63 characters
and has been truncated to ‘bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformatio’.
….
Undefined variable "aaa" or class "aaa.bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformatio".
Error in … (line …)
oPlugin = aaa.(sPlugin(6:end))(this, oParent, oGUI, varargin{:});
Has something changed in the way files and folders are handled my Matlab / OOP in the transition from 2014a to 2016a as it’s working in the 2014a version?
Also, I’m going from 2014a to 2023b versions of Matlab. Is a ‘stop’ at the 2016a version before going to the 2023b version worth it?
Thanks ! Hello all,
I’m working on a project that was coded in 2014a version and trying to bring it up the MatLab versions. I tried to bring it from the 2014a to 2016a version but I seem to have an issue with how the Object Oriented Programming files are handled by Matlab.
Here’s a ‘picture’ of my directory :
I have an issue where Matlab says that :
Warning: ‘bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformation’ exceeds MATLAB’s maximum name length of 63 characters
and has been truncated to ‘bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformatio’.
….
Undefined variable "aaa" or class "aaa.bbb.ccc.ddd.eee.fff.ggg.B_AutomaticTransformatio".
Error in … (line …)
oPlugin = aaa.(sPlugin(6:end))(this, oParent, oGUI, varargin{:});
Has something changed in the way files and folders are handled my Matlab / OOP in the transition from 2014a to 2016a as it’s working in the 2014a version?
Also, I’m going from 2014a to 2023b versions of Matlab. Is a ‘stop’ at the 2016a version before going to the 2023b version worth it?
Thanks ! oop, structures MATLAB Answers — New Questions