Linear Programming using Simulink

4 ビュー (過去 30 日間)
Felipe Michelin
Felipe Michelin 2015 年 7 月 6 日
回答済み: Yu Jiang 2015 年 7 月 6 日
Hi everyone!
I have a simple question:
It is possible to solve linear programming using Simulink?
I know that there is a function to solve L.P in Matlab, but can I use this function in Simulink?
Thank you for your attention!

回答 (1 件)

Yu Jiang
Yu Jiang 2015 年 7 月 6 日
There is no such a block to do direct LP. However, you can put your MATLAB script in an embedded function block or a MATLAB function block and use that to interface with Simulink. For the later one, notice that you need to use "coder.extrinsic" because "linprog" is not supported for code-generation.

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by