Skip to content

Commit 72fa3bf

Browse files
Update nipype/interfaces/matlab.py
Co-authored-by: Chris Markiewicz <effigies@gmail.com>
1 parent a101d24 commit 72fa3bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nipype/interfaces/matlab.py

+3
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ def _gen_matlab_command(self, argstr, script_lines):
191191
else:
192192
prescript.insert(0, "fprintf(1,'Executing code at %s:\\n',datestr(now));")
193193
for path in paths:
194+
# addpath() is not available after compliation
195+
# https://www.mathworks.com/help/compiler/ismcc.html
196+
# https://www.mathworks.com/help/compiler/isdeployed.html
194197
prescript.append("if ~(ismcc || isdeployed), addpath('%s'); end;\n" % path)
195198

196199
if not mfile:

0 commit comments

Comments
 (0)