Difference between MATLAB on Mac & Windows?
Ältere Kommentare anzeigen
I running the exact same test on the exact same code (ensured by checking out the same revision of a code repository) on a Windows computer and on a Mac, and the test failed on Windows but passed on Mac.
I think I've controlled for all the differences between the two environments: in both scenarios Matlab is 8.4.0.150421 (R2014b), the relevant toolboxes all seem to be the same version, the path is set the same, and the code is exactly the same.
I did notice that the JVMs are different (Java 1.7.0_55-b13 on the Mac and Java 1.7.0_11-b21 on Windows), but it seems that the JVMs are packaged with Matlab, so I can't control that?
Any advice would be greatly appreciated.
4 Kommentare
Walter Roberson
am 30 Jul. 2015
What kind of test is failing?
Tim
am 5 Aug. 2015
Sanjana Chhabra
am 16 Nov. 2021
on copying and pasting code windows matlab automatically preserves the line break but macOS pastes all the code in one line. Can someone help??
Walter Roberson
am 16 Nov. 2021
What are you copying and pasting the code from, and to ?
Akzeptierte Antwort
Weitere Antworten (1)
jesus osiel moya fuentes
am 8 Dez. 2021
0 Stimmen
What are the restrictions if I make an executable program on MAC or WINDOWS?
1 Kommentar
Walter Roberson
am 8 Dez. 2021
Mac does not support activex or .NET, or use of MATLAB as an Automation Engine
Mac does not support writing .xls or .xlsx files using xlswrite() -- but does support writing them with writetable(), writematrix(), and writecell()
There are some toolboxes that are not supported on Mac
There are probably some other items.
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!