Why is MATLAB 6.1 (R12.1) for UNIX or LINUX unable to recognize my case-sensitive object created in Windows?
I created a user-defined class in MATLAB that has a capital letter in the classname. I copied the same exact class directory onto both a Windows machine and a UNIX machine. When I define an object in this class in Windows and save it, I am not able to load it into UNIX or LINUX.
For example, my user-defined classname is "newClassName". I create an object and save it using the following code in Windows:
% Executed on Windows machine
obj = newClassName;save datafile obj
I now load the object using the following code on a UNIX machine:
% Executed on a UNIX machine
load datafile
I get the following error:
Warning: Class 'newclassname' is an unknown object class. Object 'obj' of this class has been converted to a structure.
Best Answer