How do I run a Hypermesh Post Summary with Matlab? (.bat? .tcl?)

Henriette
Henriette Altair Community Member
edited March 18 in Community Q&A
Hello, 
I would like to have Matlab perform a Post Summary in Hypermesh.
I have used the following code to perform the optistruct analysis of an FEM file (contains a model with SPC) with Matlab,
which works great.

loc_opti='C:\Program Files\Altair\2022.1\hwsolvers\scripts\optistruct.bat';
path_fem='file.fem';
command_string = char(strcat('"',loc_opti,'" "',path_fem,'" -ncpu 4 -monitor'));
answer = system(command_string);

Ergo, my first approach was to run the Post Summary with a batch file, but I have not found one.
So my question is, does such a file even exist and if not, how can I solve the problem in a different way? 
I suppose I could have Matlab write a TCL file and execute it, but unfortunately I don't understand the TCL commands at all.
Maybe you could click through the individual steps in Hypermesh and then display them somewhere?

Thanks in advance!

Greetings, Henni
Tagged:

Answers

  • Rishabh Awasthi_20948
    Rishabh Awasthi_20948
    Altair Employee
    edited March 18

    Hello Henriette 

    Can you share more details regarding post summary you are performing after running Optistruct solver ? What is the goal of the post query tool and how are you configuring it ?

    Thanks 

    Rishabh