I am very familiar with MATLAB, although not so much with writing a GUI in it. Now my boss gave me a MATLAB program with a graphical interface, which was developed on a computer running Windows and works there without problems. I copied it to my mac (osx 10.6.5 with MATLAB R2009b) using a USB drive and tried to work with files on my computer.
When the GUI starts, some of the callbacks are executed, some are not. I managed to open the drawing file containing the GUI in the GUIDE but cannot click on the callback fields in the property inspector. Also, some components are not displayed in the GUIDE, which are visible when the GUI starts. At first, I suspected that it might be damaged by the changed newlines, but found out that the .fig files are binary, so this should not be. I opened the .fig binary with a text editor and found the following ASCII line, followed by the binary data:
MATLAB 5.0 MAT-file, Platform: PCWIN, Created on: Tue Aug 10 17:11:57 2010
Are the GUIs created with MATLAB OS specific? Wouldn't that be really stupid?
I reopened the files on a Windows machine and tried to export them or save them, indicating that I want them to be compatible with other operating systems, but could not find such an option.
Of course, I researched this on google and wondered if I really didn’t find something related. If there is an incompatibility, I think that would be discussed, right?
Does anyone know about this or had the same problem before?
user-interface windows matlab macos
dedan
source share