Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Matlab R2017a cluster profile validation on Linux fails with a rather cryptic error about timezones and a script called datetime.m. If you encounter this bug and wish to fix it, follow these steps:

  1. Back up your datetime.m file. The path to datetime.m is:
Code Block
languagebash
linenumbersfalse
MATLABROOT/toolbox/matlab/timefun/@datetime/datetime.m

where MATLABROOT is the directory where Matlab R2017a is installed on your computer.

2. Download the datetime_FIXED.m file from the Matlab Artemis Integration Scripts GitHub repository and rename it to datetime.m.

3. Copy the patched datetime.m file you just renamed in step 2 to:

Code Block
languagebash
linenumbersfalse
MATLABROOT/toolbox/matlab/timefun/@datetime/datetime.m

...