corr2 on simulink don't code genaration

1 次查看(过去 30 天)
The function 'corr2' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.
what function can replace this function on the simulink simulation?

采纳的回答

Birdman
Birdman 2017-10-18
There is the necessary function and its embedded model in a MATLAB Function in Simulink. Hope this helps. You need to have the m file and the model at the same directory.
  11 个评论
Birdman
Birdman 2017-10-19
A=[1 2 3 4] and B=[3 4 5 6]. In constant block in simulink, just type the array, don't write A=[1 2 3 4]. Write [1 2 3 4] only.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 管理设计数据 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!