custom plots in simulink

5 ビュー (過去 30 日間)
Ahmad Al-Basri
Ahmad Al-Basri 2017 年 5 月 9 日
回答済み: Will Nitsch 2017 年 5 月 12 日
Hello, I'm using Simulink and wanted generate custom figures using some of the simulation signals while the simulation is running. for example, I'm generating a reference trajectory for my robot and controlling the robot so that it follows this trajectory and I want to plot the actual vs. reference x and y coordinates of the simulations using a user defined function (which I've already created and working).
I want this figure to display like the XY-graph function as the simulation runs. is it possible to do that and how?
thanks

回答 (1 件)

Will Nitsch
Will Nitsch 2017 年 5 月 12 日
You should be able to do this with a MATLAB function block. https://www.mathworks.com/help/releases/R2017a/simulink/slref/matlabfunction.html

カテゴリ

Help Center および File ExchangePlot Customization についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by