当前位置:网站首页>捡起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://blog.csdn.net/qq_42312125/article/details/107932703
边栏推荐
猜你喜欢
New developments: new trends in cooperation between smartmesh and meshbox
Pgpool II 4.3 Chinese Manual - introductory tutorial
C language self compiled string processing function - string segmentation, string filling, etc
Spark 算子之distinct使用
How important is the operation and maintenance process? I heard it can save 2 million a year?
Spark 算子之交集、并集、差集
Best practices of Apache APIs IX high availability configuration center based on tidb
MySQL - execution process of MySQL query statement
一刷314-剑指 Offer 09. 用两个栈实现队列(e)
为啥禁用外键约束
随机推荐
PHP function
一刷312-简单重复set-剑指 Offer 03. 数组中重复的数字(e)
一文掌握vscode远程gdb调试
删除字符串中出现次数最少的字符
Upgrade MySQL 5.1 to 5.68
怎么看基金是不是reits,通过银行购买基金安全吗
Fastjon2 here he is, the performance is significantly improved, and he can fight for another ten years
多级缓存使用
R语言中实现作图对象排列的函数总结
【开源工具分享】单片机调试助手(示波/改值/日志) - LinkScope
API IX JWT auth plug-in has an error. Risk announcement of information disclosure in response (cve-2022-29266)
MySQL Cluster Mode and application scenario
幂等性的处理
leetcode-374 猜数字大小
Timing model: gated cyclic unit network (Gru)
pywintypes. com_ Error: (- 2147221020, 'invalid syntax', none, none)
How do you think the fund is REITs? Is it safe to buy the fund through the bank
js正則判斷域名或者IP的端口路徑是否正確
js正则判断域名或者IP的端口路径是否正确
[split of recursive number] n points K, split of limited range