[FieldTrip] Problem with Matlab system commands in OS X (XTerm, Logout, crash, sleep mode)

Sebastian Höffner shoeffner at uos.de
Sun Apr 9 12:05:12 CEST 2017


Dear Markus,

while I don't have a proper solution for your problem with matlab, I can
recommend you the little app Caffeine which you should find on the app
store. It keeps your Mac awake and should stop your matlab process from
terminating.

http://lightheadsw.com/caffeine/

Best
Sebastian

On Sun, Apr 9, 2017, 11:31 Markus Gschwind <Markus.Gschwind at unige.ch> wrote:

> Dear all,
>
> I hope to find here an expert who knows an answer to the following problem:
>
> I am running Matlab on OSX 10.9.5 started from the Xterm, and I am not
> able to run big and lengthy matlab jobs because at each logout (which
> occurs after 2h), Matlab crashes, all results are gone (if they are not
> save to the HD and XTerm closes.
>
> I start Matlab form the XTerm (and not by clicking the App Icon) in order
> to be able to run system (unix) commands within Matlab.
>
> I guess, this behaviour is proper to XTerm, and in case I could find an
> other way to run system commands from Matlab, probably this could be
> resolved.
>
> Could it be that the running matlab job is not visible to the system which
> goes to sleep??
>
> For info here the power management info:
>
> $ pmset -g custom
> Battery Power:
>  lidwake              1
>  autopoweroff         1
>  autopoweroffdelay    14400
>  standbydelay         18000
>  standby              1
>  ttyskeepawake        0
>  hibernatemode        3
>  gpuswitch            2
>  hibernatefile        /var/vm/sleepimage
>  displaysleep         2
>  sleep                0
>  acwake               1
>  halfdim              1
>  sms                  1
>  lessbright           1
>  disksleep            10
> AC Power:
>  lidwake              1
>  autopoweroff         1
>  autopoweroffdelay    14400
>  standbydelay         18000
>  standby              0
>  ttyskeepawake        1
>  hibernatemode        3
>  gpuswitch            2
>  hibernatefile        /var/vm/sleepimage
>  womp                 1
>  displaysleep         3
>  networkoversleep     0
>  sleep                0
>  acwake               0
>  halfdim              1
>  sms                  1
>  disksleep            60
>
>
> Many thanks for help!
> Markus
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-- 

Sebastian Höffner
Hansastr. 19
49090 Osnabrück
Germany

+49 152 22 59 23 26
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170409/775abba1/attachment-0002.html>


More information about the fieldtrip mailing list