Jump to content
Sign in to follow this  
Rahul Ponginan

Matlab as Model File

Recommended Posts

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

Share this post


Link to post
Share on other sites

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


Share this post


Link to post
Share on other sites

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.


Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...