Simulink Matlabfunction does not support Global Optimization toolbox
显示 更早的评论
Hi there,
I recently use Global Optimization toolbox in Simulink Matlabfunction to solve global optimization problem. But it always report a bug. Does Simulink Matlabfunction support Global Optimization toolbox ?
Best regards,
5 个评论
Steven Lord
2025-3-20
I assume when you say "report a bug" you mean that you receive an error when you try to run your Simulink model. If so please show us the full and exact text of all error messages you receive, whether they're displayed in red in the Command Window or displayed in a dialog box brought up by Simulink during execution of the model.
If I had to guess I'd say you're trying to generate C or C++ code from your model but the Global Optimization Toolbox functions you're calling don't have that extended capability. I think the only Global Optimization Toolbox function that does is optimoptions, as it's the only one a search of the alphabetical list linked to by this page for "global optimization" found.
tianyuan wang
2025-3-20
编辑:tianyuan wang
2025-3-20
tianyuan wang
2025-3-20
编辑:tianyuan wang
2025-3-20
Walter Roberson
2025-3-20
Turn Rapid Acceleration off for the model.
tianyuan wang
2025-3-20
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!