3DScope

版本 3.5 (26.1 KB) 作者: Giampiero Campa
Multitrack 3D Simulink Scope
12.2K 次下载
更新时间 2023/10/6

编者注: This file was selected as MATLAB Central Pick of the Week

simulink-3d-scope

Multitrack 3D Simulink Scope

View simulink-3d-scope on File Exchange

Open in MATLAB Online

This block is an enhanced version of the standard XYGraph Simulink® block. The standard XYGraph allows to plot the motion of ONE point in the XY plane. This block allows plotting the motion of SEVERAL points in the XYZ space.

In other words each point draws a line as it moves, so you end up having several lines in the plot instead of just one. Setting the camera position parameter to [0 0 1] reduces the plot to a classic 2D one.

This block is very useful when you have to compare the motion of a point versus a reference trajectory. See this blog entry for more information: https://blogs.mathworks.com/pick/2017/03/10/3d-scope/

To install this vesion, simply add the folder to the MATLAB® path. For MATLAB versions older than R2014b (and related legacy information), please go to https://www.mathworks.com/matlabcentral/fileexchange/4915-3dscope?s_tid=srchtitle and download version 3.1, which contains an installer that installs older versions.

Giampy

引用格式

Giampiero Campa (2024). 3DScope (https://github.com/giampy1969/simulink-3d-scope/releases/tag/v3.5), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2023b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 View and Analyze Simulation Results 的更多信息
致谢

启发作品: 3D Stem for Simulink Block

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
3.5

See release notes for this release on GitHub: https://github.com/giampy1969/simulink-3d-scope/releases/tag/v3.5

3.1.0.0

1) several performance, elegance, readability, robustness and backward compatibility improvements
2) the user can make the figure active, specify a line marker for the current locations, and a maximum number of points

2.1.0.0

Several improvements and minor bug fixes to sfun3d.m

1.0.0.0

Fixed a small bug (thanks Richard), and added another example on lorenz attractor.
A new S-Function (sfun3d.m) was written for R2014b and later which takes advantages of newer graphics capabilities. The legacy S-Function sfunxyz.m was also rewritten so it can work for R2014b and later.

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库