How can I call an external function (executable on a high performance computing cluster) for fminsearch?
古いコメントを表示
I would like to use fminsearch to find the minimum of a black box function that is the result of a complex simulation. The simulation is written in C++ and I have a linux HPC cluster where the function is evaluated (it takes between 2 and 25 hours to complete the simulation). Is it possible to create a wrapper function in MATLAB that calls the function with the input parameters and then returns the results when it is complete? Thank you for your help.
I have another optimization routine that works just like fminsearch (meaning that it accepts a function as one of its arguments) developed external to MathWorks that I would also like to try out to see how well it does on this optimization problem.
1 件のコメント
Walter Roberson
2025 年 6 月 21 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!