plot function in simulink

조회 수: 5 (최근 30일)
Davy Marinier
Davy Marinier 2015년 8월 4일
답변: Azzi Abdelmalek 2015년 8월 4일
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

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2015년 8월 4일
coder.extrinsic('plot3') % not 'plot'

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by