Skip to content
Snippets Groups Projects
Commit 9856cb94 authored by Nicola Vigano's avatar Nicola Vigano
Browse files

Python: Fixed compilation issue when asking specific matlab functions to be compiled

parent 6e1adcf5
No related branches found
No related tags found
No related merge requests found
......@@ -201,12 +201,12 @@ class FunctionsBuilder(object):
extra_args = ['-nodesktop', '-nosplash']
if self.force_compile is True:
compile_args = "'force"
compile_args = "force"
else:
compile_args = "'no-force"
compile_args = "','".join([compile_args] + self.mfiles_to_consider) + "'"
compile_args = "no-force"
compile_args = "'" + compile_args + "',true,'" + "','".join(self.mfiles_to_consider) + "'"
cmd = "compile(%s,true);quit;" % compile_args
cmd = "compile(%s);quit;" % compile_args
invoker = dct_matlab_invocation.DCTMatlabInvocation(dct_dir = self.dct_dir, \
work_dir = self.script_dir, \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment