Automatically generating .mjl log files

Discussion in 'HAPTIX' started by David Kluger, Aug 30, 2016.

  1. Is there any way to use a MATLAB API or Windows command prompt to begin and also end the recording of log files? Experiments can be hectic, and it is easy to forget to press the record button when an experiment is going on.

    Ideally, we'd like to be able to automatically create log files when we start a task, and stop recording into the log file when the task finishes.

    Any suggestions would be appreciated.

    - DK
  2. Emo Todorov

    Emo Todorov Administrator Staff Member

    There is no way to do it with the current version. An API command to start and stop recording could be added to the next version. But still, you would have to look for the "recording" sign. Even if there is a command, if anything goes wrong and it doesn't start recording, your data will be lost.