Date: 2012-06-21 13:45 |
Priority: more information 3 |
Submitted By:
Andreas Finkelmeyer (afinkelmeyer)
|
Assigned To: more information
Nobody (None) |
Hardware: PC | Product: None |
Operating System: other | Component: None |
Version: None | Severity: blocker |
Resolution: None |
Summary: more information issue with check_memory.m on Windows network path |
Detailed description |
Trying to start fMRI-CPCA (v 8.3.03_Jun_2012) on a Windows 7
machine (Matlab v 7.11.0.584 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:
'\\tower3\home16\naf36\MATLAB'
CMD.EXE was started with the above path as the current
directory.
UNC paths are not supported. Defaulting to Windows
directory.
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
check_memory.m:
oldpwd = pwd;
cd(mck);and this line before the end of the "if ispc"
block: cd(oldpwd);
| |
|
Response
No Responses Have Been Posted |
Attached Files:
|
Changes:
Field |
Old Value |
Date |
By |
File Added | 466: check_memory.m | 2012-06-21 13:45 | afinkelmeyer | |
|