1 Answer
1

You could install memtest, and run it from the bootloader. This will detect hardware issues with the main memory. If matlab hits a defective memory section, which would normally not be used, this can easily cause the problems described.

Also keep a watch on memory usage and CPU temperature while runnung matlab. If the memory rund full the OS kernel normally starts killing off processes, normally this doesn't cause a cold reboot though. If the CPU overheats this can be the cause of system freeze or reboot.