coder.extrinsic('plot3') % not 'plot'
plot function in simulink
5 次查看(过去 30 天)
显示 更早的评论
I have created a matlab function block, in simulink, with 3 inputs a, b, c, and one output Position. The code inside it is :
function Position = Plotter(a,b,c)
%#codegen
coder.extrinsic('plot');
plot3(a, b, c);
axis('equal');
It don't works when I run this model. Thanks for answers
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!