Does Matlab coder work with the Global Optimization Toolbox?

조회 수: 1 (최근 30일)
David
David 2022년 2월 22일
댓글: David 2022년 2월 22일
I currently get the error message when trying to compile some code with Matlab Coder 2021b: "patternsearch is not supported for code generation"
Are there any plans for this? Is there a fundamental reason it doesn't work now or was it just seen as too niche for the effort at this time?
Thanks,
Dave
  댓글 수: 1
David
David 2022년 2월 22일
Is it possible it's not compiling because I'm testing the trial version of the Global Optimization Toolbox?

댓글을 달려면 로그인하십시오.

답변 (1개)

Denis Gurchenkov
Denis Gurchenkov 2022년 2월 22일
Hi Dave,
I passed your feedback to the development team, so they prioritize supporting this function for code generation.
If you could attach some example that shows how would you use this function with MATLAB Coder (what options you'd pass to it, also - do you want to generate C/C++ for deployment, or for acceleration - what is your use case), that information would help greatly, and bolster the case for supporting this function.
If you would prefer not to show your code here, please feel free contact MathWorks technical support and ask them to pass this information to the development team, that would also work for us.
Thanks,
Denis.
  댓글 수: 1
David
David 2022년 2월 22일
Thanks. Punchline is I want to solve a model for parameter estimation and deploy to field. There are a lot of local minima and so far patternsearch is the most reliable. I will send more details directly to tech support as they are proprietary.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Multiobjective Optimization에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by