|Priority: more information
Andreas Finkelmeyer (afinkelmeyer)
|Assigned To: more information
|Operating System: |
|Summary: more information|
issue with check_memory.m on Windows network path
Trying to start fMRI-CPCA (v 8.3.03_Jun_2012) on a Windows 7
machine (Matlab v 188.8.131.524 R2010b) was unsuccessful due to an
error originating in check_memory.m if the current working
directory is a network path.
Line 34 ("xx = evalc(cmd);") produced this output:
CMD.EXE was started with the above path as the current
UNC paths are not supported. Defaulting to Windows
Total: 8243 Avail: 586
...resulting in the following line ("stats.user.total=sscanf(
char(xx), '%*s%d%*s' );") returning an empty array, which then
produces an error in update_memory_stats at line 1224.
My quick fix was to add the following lines after line 24 in
oldpwd = pwd;
cd(mck);and this line before the end of the "if ispc"
No Responses Have Been Posted
|File Added||466: check_memory.m||2012-06-21 13:45||afinkelmeyer|