当前位置:网站首页>撿起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
边栏推荐
- IronPDF for . NET 2022.4.5455
- 一文掌握vscode远程gdb调试
- 糖尿病眼底病变综述概要记录
- Calculate the number of occurrences of a character
- Spark 算子之partitionBy
- How do you think the fund is REITs? Is it safe to buy the fund through the bank
- 5分钟,把你的Excel变成在线数据库,神奇的魔方网表excel数据库
- Do we media make money now? After reading this article, you will understand
- JVM - Chapter 2 - class loader subsystem
- Named in pytoch_ parameters、named_ children、named_ Modules function
猜你喜欢
![[AI weekly] NVIDIA designs chips with AI; The imperfect transformer needs to overcome the theoretical defect of self attention](/img/bf/2b4914276ec1083df697383fec8f22.png)
[AI weekly] NVIDIA designs chips with AI; The imperfect transformer needs to overcome the theoretical defect of self attention

Tencent offer has been taken. Don't miss the 99 algorithm high-frequency interview questions. 80% of them are lost in the algorithm

JVM - Chapter 2 - class loader subsystem

Coalesce and repartition of spark operators

R语言中绘制ROC曲线方法二:pROC包

Spark 算子之distinct使用

建设星际计算网络的愿景

API IX JWT auth plug-in has an error. Risk announcement of information disclosure in response (cve-2022-29266)

Pgpool II 4.3 Chinese Manual - introductory tutorial

时序模型:长短期记忆网络(LSTM)
随机推荐
s16.基于镜像仓库一键安装containerd脚本
Go language, condition, loop, function
js正则判断域名或者IP的端口路径是否正确
C#,贝尔数(Bell Number)的计算方法与源程序
Implement default page
字符串排序
Temporal model: long-term and short-term memory network (LSTM)
Spark 算子之交集、并集、差集
Spark 算子之coalesce与repartition
volatile的含义以及用法
Ice -- source code analysis
Treatment of idempotency
布隆过滤器在亿级流量电商系统的应用
基于 TiDB 的 Apache APISIX 高可用配置中心的最佳实践
MySQL - MySQL查询语句的执行过程
Coalesce and repartition of spark operators
s16. One click installation of containerd script based on image warehouse
Codejock Suite Pro v20.3.0
pywintypes. com_ Error: (- 2147221020, 'invalid syntax', none, none)
Load Balancer