Commit a101d24
committed
FIX: Deployed Matlab apps must not call addpath()
https://mathworks.com/help/compiler/isdeployed.html
The path of a deployed application is fixed at compile time
and cannot change. Use isdeployed to ensure that the application
uses path modifying functions, such as addpath, before deployment.
This fixes the case where nipype calls SPM12 Standalone, associated
to Matlab Compiler Runtime (MCR) R2019a (9.6) or later. Upcoming versions
of SPM12 Standalone will most probably be compiled with Matlab R2021b,
and hence will be subject to this bug.1 parent 8f405f6 commit a101d24
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments