Matlab alternate Compose in HyperStudy

Khanh Tran Vu
Khanh Tran Vu Altair Community Member
edited September 2022 in Community Q&A

Hello, 

I would like to know how to alternate Compose by Matlab.
The attached tutorial shows the ability for that but no example for Matlab.
Please if you could give me a simple example.
Thank you very much in advance.

 

Best Answer

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited September 2022 Answer ✓

    There is an example there:

    You need to configure a 'solver script' to call this command line, and register into HyperStudy.

    image

    image

     

    But anyway, Compose should offer most of the commands that you would find in other products, and additionally there's a nice interface to other CAE tools.

    Is there any particular reason why Compose wouldn't fit in here?

     

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited September 2022 Answer ✓

    There is an example there:

    You need to configure a 'solver script' to call this command line, and register into HyperStudy.

    image

    image

     

    But anyway, Compose should offer most of the commands that you would find in other products, and additionally there's a nice interface to other CAE tools.

    Is there any particular reason why Compose wouldn't fit in here?

     

  • Diana_38240
    Diana_38240
    Altair Employee
    edited September 2022

    Hello,

    You are right that it is possible to drive Matlab from HyperStudy through Parameterized File model type. For more info on this model type you can refer to the tutorial HS-1020.

    You would need to add Parameterized File model type, edit your *.m file in the editor and create the variables you want to consider (see HS-1020 for help if needed). The so-parameterized file is saved under *.tpl format. Then, you would need to register solver script "Matlab" (path to the *.exe or *.bat in your installation) and select it in the model definition as below. Finally you can specify the solver arguments as suggested in the help.

    image

    Hope it helps.

    Diana