corr2 on simulink don't code genaration
1 view (last 30 days)
Show older comments
tsai kai shung
on 18 Oct 2017
Commented: tsai kai shung
on 20 Oct 2017
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?
0 Comments
Accepted Answer
Birdman
on 18 Oct 2017
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 Comments
Birdman
on 19 Oct 2017
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.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!