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 Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by