How can I change a variable in Ansys APDL command with the help of Matlab?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I would like to run several APDL input files in a loop. This is the line, that runs the input file from Matlab. In every step I want to change input.inp to input_1.inp, input_2.inp etc...
if true
!"C:\Program Files\ANSYS Inc\v172\ANSYS\bin\winx64\ansys172.exe" -b -j file -mpi INTELMPI -np 4 -i input.inp -o solve.out
end
So the new code line should look like this:
if true
!"C:\Program Files\ANSYS Inc\v172\ANSYS\bin\winx64\ansys172.exe" -b -j file -mpi INTELMPI -np 4 -i input_1.inp -o solve.out
end
Is it possible to create a variable with the new filename and somehow putting it into this code? Could you suggest any solution to this problem?
Thank you in advance,
Anna
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Software Development Tools finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!