当前位置:网站首页>捡起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
边栏推荐
- 5 minutes, turn your excel into an online database, the magic cube net table Excel database
- Do we media make money now? After reading this article, you will understand
- The length of the last word of the string
- MySQL - MySQL查询语句的执行过程
- 新动态:SmartMesh和MeshBox的合作新动向
- Unity shader learning
- Why disable foreign key constraints
- Metalife established a strategic partnership with ESTV and appointed its CEO Eric Yoon as a consultant
- dlopen/dlsym/dlclose的简单用法
- Coalesce and repartition of spark operators
猜你喜欢
Spark 算子之sortBy使用
TIA博图——基本操作
Merging of Shanzhai version [i]
Best practices of Apache APIs IX high availability configuration center based on tidb
Spark 算子之groupBy使用
The biggest winner is China Telecom. Why do people dislike China Mobile and China Unicom?
C, calculation method and source program of bell number
为啥禁用外键约束
C language --- string + memory function
MySQL集群模式與應用場景
随机推荐
Deletes the least frequently occurring character in the string
布隆过滤器在亿级流量电商系统的应用
一刷314-剑指 Offer 09. 用两个栈实现队列(e)
Unity Shader学习
贫困的无网地区怎么有钱建设网络?
Config组件学习笔记
Calculate the number of occurrences of a character
计算某字符出现次数
多级缓存使用
vim指定行注释和解注释
Partitionby of spark operator
WPS品牌再升级专注国内,另两款国产软件低调出国门,却遭禁令
One brush 312 - simple repetition set - Sword finger offer 03 Duplicate number in array (E)
Spark 算子之coalesce与repartition
s16.基于镜像仓库一键安装containerd脚本
How do you think the fund is REITs? Is it safe to buy the fund through the bank
幂等性的处理
Merging of Shanzhai version [i]
IronPDF for . NET 2022.4.5455
Why is IP direct connection prohibited in large-scale Internet