How to use path_cal in batch command
Posted: Tue 20 Feb 2024 14:25
Dear Didier,
I didn't manage to get the right calculation path in batch mode in python or matlab.
Python:
import os
os.system('TraceW64.exe MEBT.ini hide nbr_part1=1000 path_cal=result > output.txt')
Matlab:
cmd=['TraceW64.exe MEBT.ini hide nbr_part1=1000 path_cal=result > output.txt'];
system(cmd);
The results are in the folder as the .ini file, rather than in the "result" file.
Could you please help me with that?
Kinds,
shliu
I didn't manage to get the right calculation path in batch mode in python or matlab.
Python:
import os
os.system('TraceW64.exe MEBT.ini hide nbr_part1=1000 path_cal=result > output.txt')
Matlab:
cmd=['TraceW64.exe MEBT.ini hide nbr_part1=1000 path_cal=result > output.txt'];
system(cmd);
The results are in the folder as the .ini file, rather than in the "result" file.
Could you please help me with that?
Kinds,
shliu