Missing semi-colons
parent
7a58637932
commit
55e553f6dc
|
@ -32,7 +32,7 @@ for indPC=1:length(Parallel),
|
|||
if isunix || (~matlab_ver_less_than('7.4') && ismac),
|
||||
if Parallel(indPC).Local==0,
|
||||
[check, ax]=system(['ssh ',Parallel(indPC).UserName,'@',Parallel(indPC).ComputerName,' ls ',Parallel(indPC).RemoteDirectory,'/',PRCDir,'/',filename]);
|
||||
if check ~ 0
|
||||
if check ~ 0;
|
||||
ax=[];
|
||||
end
|
||||
else
|
||||
|
|
|
@ -37,7 +37,7 @@ end
|
|||
for indPC=1:length(Parallel)
|
||||
if Parallel(indPC).Local==0,
|
||||
if isunix || (~matlab_ver_less_than('7.4') && ismac),
|
||||
system(['ssh ',Parallel(indPC).UserName,'@',Parallel(indPC).ComputerName,' mkdir -p ',Parallel(indPC).RemoteDirectory,'/',PRCDir])
|
||||
system(['ssh ',Parallel(indPC).UserName,'@',Parallel(indPC).ComputerName,' mkdir -p ',Parallel(indPC).RemoteDirectory,'/',PRCDir]);
|
||||
else
|
||||
[NonServeS NonServeD]=mkdir(['\\',Parallel(indPC).ComputerName,'\',Parallel(indPC).RemoteDrive,'$\',Parallel(indPC).RemoteDirectory,'\',PRCDir]);
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue