plot function in simulink

5 visualizzazioni (ultimi 30 giorni)
Davy Marinier
Davy Marinier il 4 Ago 2015
Risposto: Azzi Abdelmalek il 4 Ago 2015
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

Risposte (1)

Azzi Abdelmalek
Azzi Abdelmalek il 4 Ago 2015
coder.extrinsic('plot3') % not 'plot'

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by