当前位置:网站首页>撿起MATLAB的第(9)天
撿起MATLAB的第(9)天
2022-04-23 15:54:00 【Sola_Ex】
撿起MATLAB的第九天
Matlab
初識simulink
Matlab用的版本是***R2014a***,不同版本的simulink可能會有所差別,但是基本操作都大同小异。simulink其實就是個仿真工具箱,裏面包含了很多調試、仿真的工具,從3D繪制、EDA仿真工具箱、信號、通訊工具箱等等、、簡直了。。其實我說這麼多都是廢話,上圖要緊。。
這堆工具,學會幾個就不錯了。。(我說的是我)。
在matlab中,如何打開simulink?
1、在工具欄找到simulink並點擊打開。
2、可以在command窗口中,輸入simulink,然後回車,運行打開。
具體怎麼用看個人喜歡。
simulink的入門使用
在打開simulink庫之後,裏面的工具是不能直接用的,其實matlab在使用的時候,也沒理由直接在cmd窗口上直接敲命令。所以其實還是一樣的操作,創建一個脚本文件,但是這個脚本文件不是.m文件,應該是一個.mdl文件,模型的意思。
這裏就隨便創建一個,可以按快捷鍵ctrl+n,會彈出新窗口,然後ctrl+s直接保存,保存的時候,高版本的matlab應該是.sxl文件,可以自己手動改成.mdl類型的文件。
從simulink的庫中,找到自己需要的模塊,構建好一個這樣的模型(這個模型是一個RLC的電路模型而已,有興趣可以自己研究一下。)
經過大概參數設置之後,直接點運行就可以編譯了,
直到底部出現100%,就可以看到結果了,我這用了示波器,所以需要點開示波器來看。
會看到這樣的效果,錶明這個參數下的RLC上電時候的效果。就這樣可以完成好一個小模型了,往後還需要深入學習。
版权声明
本文为[Sola_Ex]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231554163946.html
边栏推荐
- Use bitnami PostgreSQL docker image to quickly set up stream replication clusters
- C, calculation method and source program of bell number
- Interview questions of a blue team of Beijing Information Protection Network
- s16. One click installation of containerd script based on image warehouse
- How do you think the fund is REITs? Is it safe to buy the fund through the bank
- [AI weekly] NVIDIA designs chips with AI; The imperfect transformer needs to overcome the theoretical defect of self attention
- Master vscode remote GDB debugging
- IronPDF for . NET 2022.4.5455
- MySQL optimistic lock to solve concurrency conflict
- pywintypes. com_ Error: (- 2147221020, 'invalid syntax', none, none)
猜你喜欢
Unity Shader学习
Use bitnami PostgreSQL docker image to quickly set up stream replication clusters
Ice -- source code analysis
MetaLife与ESTV建立战略合作伙伴关系并任命其首席执行官Eric Yoon为顾问
Modèle de Cluster MySQL et scénario d'application
MySQL Cluster Mode and application scenario
Config learning notes component
【现代电子装联期末复习要点】
为啥禁用外键约束
Do we media make money now? After reading this article, you will understand
随机推荐
Intersection, union and difference sets of spark operators
How can poor areas without networks have money to build networks?
一文读懂串口及各种电平信号含义
MySQL optimistic lock to solve concurrency conflict
C language self compiled string processing function - string segmentation, string filling, etc
5分钟,把你的Excel变成在线数据库,神奇的魔方网表excel数据库
Website pressure measurement tools Apache AB, webbench, Apache jemeter
ESP32_Arduino
Config组件学习笔记
【开源工具分享】单片机调试助手(示波/改值/日志) - LinkScope
Method 2 of drawing ROC curve in R language: proc package
Config learning notes component
实现缺省页面
Upgrade MySQL 5.1 to 5.67
Neodynamic Barcode Professional for WPF V11. 0
IronPDF for .NET 2022.4.5455
[AI weekly] NVIDIA designs chips with AI; The imperfect transformer needs to overcome the theoretical defect of self attention
5 minutes, turn your excel into an online database, the magic cube net table Excel database
Leetcode-374 guess the size of the number
Best practices of Apache APIs IX high availability configuration center based on tidb