Matlab as Model File

User: "Rahul_P1"
Altair Employee
Updated by Rahul_P1

Hi,

I actually have the following problem using HyperStudy! I want to set up an optimisation where my function is evaluated by a Matlab script.

Just for simplification (in reality it is more sophisticated) my function y=ax^2+bx is written in a Matlab file. With hyperstudy (and its implemented algorithms) i want to find the right x with the objective minimize y.

so are you aware of a way how to solve my function in Matlab?

would be nice if someone knows the answer.
Thanks a lot
Thomas

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "Rahul_P1"
    Altair Employee
    OP
    Updated by Rahul_P1

    Hi,

    no one has a suggestion? Isn´t there any similar problem. Maybe someone wants to use a FE Solver not implemented in HyperStudy, like FeMap, Abaqus, LS Dyna or something? Isn´t there a solution for that?

    thanks a lot

    User: "Rahul_P1"
    Altair Employee
    OP
    Updated by Rahul_P1

    Hi Thomas,

    The procedure to link an external solver is in the HyperStudy help,More On Files > Solver Script Files

    In HyperStudy, each model is associated with a solver script. Solver scripts determine what HyperStudy will execute for that model. A solver script can simply point to an executable such as phthon.exe or a batch file such as radioss.bat.

    For more information on how to register solver script files in HyperStudy, refer to Register Solver Scripts - Please see - How to Use HyperStudy > Graphical User Interface > Menu Basics > Edit > And then go to register solver script.

    User: "Rahul_P1"
    Altair Employee
    OP
    Updated by Rahul_P1

    Hi,

    thanks for the answer. This should help I think!

    best regards

    User: "Rahul_P1"
    Altair Employee
    OP
    Updated by Rahul_P1

    Thomas,

    Also, Please see how to parameterize your input file and then read the responses from your output file, by following the tutorial here
    HS-1020: Working with a Parameterized File Model for Size Variables.