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.
채택된 답변
추가 답변 (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!