Info

此问题已关闭。 请重新打开它进行编辑或回答。

Calling a function inside s-function level-2

1 次查看(过去 30 天)
Amir
Amir 2014-10-16
关闭: MATLAB Answer Bot 2021-8-20
Hello guys,
I'm using s-function level-2 in the Simulink and I need to call a function from s-function. In fact, I have an optimization problem with nonlinear constraints. So I wanted to use "fmincon", but as you know, I have to define nonlinear constraints as a function like "mycons" and I do not know how it can be handled? Would you please help me?
Thanks,
Amir

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by