Skip to content
Snippets Groups Projects
Commit d6bfb15d authored by Vadim Gubaidulin's avatar Vadim Gubaidulin
Browse files

Added -batch option to matlab call

parent c83447ed
No related branches found
No related merge requests found
......@@ -49,7 +49,7 @@ def send_to_matlab(matlab_command, remove_temp_file=True, verbose=False):
with open(temp_file, 'r') as file:
print(file.read())
string = f"'{str(temp_file)}'"
command = f'/home/configuration/bin/matlab2018b -nosplash -r "run({string}); exit;"'
command = f'/home/configuration/bin/matlab2018b -nosplash -batch -r"run({string}); exit;"'
if verbose:
print("bash command:")
print(command)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment