MATLAB call HyperMesh in batch mode on Linux

4 views (last 30 days)
Hello,
I have a MATLAB code that calls HyperMesh to a tcl script for finite element meshing in batch mode. I used system() command for this purpose. The code works well on Windows PC, but it failed on Linux.
For example, I open MATLAB on the supercomputer and run system('InstallDirectory/hmbatch -tcl FileDirectory/myscript.tcl'). It directly exits or checks the license and exits, as shown in the snapshort below.
However, if I run the command directly in Linux, it works well and creates the fem file of the finite element model. I'm confused by this problem and would like to get some help from MATLAB community. Thank you very much!

Answers (0)

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!