Welcome! Log In Create A New Profile

Advanced

Change the bhv2 data saving folder path

Posted by chaoyi_zhang 
Change the bhv2 data saving folder path
March 24, 2025 04:56PM
Hi,

I was wondering if changing the data-saving folder path for the .bhv2 files in MonkeyLogic is possible.

Since the data files are quite large, I would like to separate the task folder and the data folder. Would it be possible to save the data to an external drive(not SSD)?

Thank you!
Re: Change the bhv2 data saving folder path
March 24, 2025 10:42PM
Doesn't CTRL X + CTRL V work for you?
Re: Change the bhv2 data saving folder path
March 29, 2025 06:50PM
Of course, it works. It is what I am doing now.

I just thought if we could set the data saving path in Monkeylogic, we wouldn't have to do this step after every training session
Re: Change the bhv2 data saving folder path
March 30, 2025 07:12AM
You should use your fastest drive for saving data files. Moving them to somewhere else later is up to you.

There are so many ways to automatize the file copy/move, so I do not think I need to reinvent the wheel. You can use behaviorsummary, for example.
https://monkeylogic.nimh.nih.gov/board/read.php?2,314,314#msg-314
function behaviorsummary(filename)
    movefile(filename,'D:\data');
end
Re: Change the bhv2 data saving folder path
March 31, 2025 01:16PM
Thank you!

The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.