C compiler error in using quadprog in a simulink model using coder.extrinsic.

1 次查看(过去 30 天)
I am trying to build a Simulink function block using the "Matlab Function" block for simulink. I just want to see the output on a scope so I connected the Matlab Function block to a scope. When I run the code, it gives me an error saying there is no C compiler. I am not sure why I would require a C Compiler for just running a normal simulation. Can anyone help me with this?
I have the Matlab R2013a version.
Thanks for your time,
Regards

采纳的回答

Ryan Livingston
Ryan Livingston 2014-4-2
The MATLAB Function Block requires a supported C compiler even for simulation:
That link shows how to install one if it is not present. If you already have a compiler installed then:
mex -setup
will guide you through choosing it.
  3 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Schedule Model Components 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by