当前位置:网站首页>Simulink oscilloscope data is imported into Matlab and drawn
Simulink oscilloscope data is imported into Matlab and drawn
2022-07-03 16:36:00 【Fireworks guest】
1. stay simulink Design your own model , Enter oscilloscope
2. Click successively as shown in the figure

3. And then rerun , Get into matlab There will be an interface


4. Next, explain what this data means
You can see that the data is 59 That's ok ,3 Column

The first column represents the sampling time , Because I finally Stop time yes 10s

The second and third columns correspond to the data of the two observations respectively

5. To verify
stay matlab Enter the following code in the script , Extract data for drawing , See if it's related to simulink The data in the are consistent
t=out.ScopeData(:,1)
z1=out.ScopeData(:,2)
z2=out.ScopeData(:,3)
plot(t,z1,'r',t,z2,'b')
legend('z1','z2') As shown on the left matlab The picture drawn in , The right side is simulink The diagram drawn by the oscilloscope , Consistent result , Correct !
边栏推荐
- QT串口ui设计和解决显示中文乱码
- Unreal_ Datatable implements ID self increment and sets rowname
- Explore Cassandra's decentralized distributed architecture
- (Supplement) double pointer topic
- Top k questions of interview
- Mixlab编辑团队招募队友啦~~
- 记一次jar包冲突解决过程
- Mongodb installation and basic operation
- NSQ source code installation and operation process
- Client does not support authentication protocol requested by server; consider upgrading MySQL client
猜你喜欢

Record windows10 installation tensorflow-gpu2.4.0

Détails du contrôle de la congestion TCP | 3. Espace de conception

Cocos Creator 2. X automatic packaging (build + compile)

Processing strategy of message queue message loss and repeated message sending

TCP拥塞控制详解 | 3. 设计空间

MySQL single table field duplicate data takes the latest SQL statement

Slam learning notes - build a complete gazebo multi machine simulation slam from scratch (4)

Colab works with Google cloud disk

斑马识别成狗,AI犯错的原因被斯坦福找到了

Initial test of scikit learn Library
随机推荐
利用MySQL中的乐观锁和悲观锁实现分布式锁
Record windows10 installation tensorflow-gpu2.4.0
TCP擁塞控制詳解 | 3. 設計空間
First knowledge of database
NSQ源码安装运行过程
Getting started with Message Oriented Middleware
ThreeJS 第二篇:顶点概念、几何体结构
(Supplement) double pointer topic
What is the maximum number of concurrent TCP connections for a server? 65535?
关于视觉SLAM的最先进技术的调查-A survey of state-of-the-art on visual SLAM
Mysql 单表字段重复数据取最新一条sql语句
手机注册股票开户安全吗 开户需要钱吗
MySQL converts comma separated attribute field data from column to row
Golang anonymous function use
中南大学|通过探索理解: 发现具有深度强化学习的可解释特征
Mb10m-asemi rectifier bridge mb10m
架构实战营 - 第 6 期 毕业总结
PHP二级域名session共享方案
高等数学(第七版)同济大学 习题2-1 个人解答
【声明】关于检索SogK1997而找到诸多网页爬虫结果这件事