Using intlinprog in Simulink
古いコメントを表示
Hi!
I'm currently working on a Simulink project where I need to solve a Mixed Integer Linear Programming (MILP) problem. I tried to implement the code in a MATLAB function block, but I get the error: "Function 'intlinprog' not supported for code generation."
I was wondering if there is a way to implement the intlinprog function in Simulink or if there's a workaround to call an M-file during the simulation. My goal is to solve the optimization problem in every time step of the simulation.
Thanks for your help!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Simulink Design Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!