In a previous post, I introduced a model simulating the exponential spread of a phenomenon like COVID-19. With more and more talks in the news about deconfinement plans, I thought it would be interesting to run multiple simulations with different deconfinement scenarios and observe the potential outcomes.... read more >>
您可以在MA金宝appTLAB Central或GitHub
href="//www.tatmou.com/blogs/help/releases/R2020a/金宝appsimulink/ug/analyse-results-with-simulation-manager.html">模拟管理器:我运行了250个模拟,其中我改变了代理的初始速度。这个参数与人们遵守限制规则的程度类似。你可以看到
R2020a is here... Time to highlight my favorite new Simulink features!” ... read more >>
Editor Enhancements
正如我说过很多次的那样,我花了我生命中的大部分时间调试和编辑Simulink模型。金宝app任何可以节省我几次点击或可以使模型更易读和易于理解的东西对我都有重大影响。
To give you an overview of the improvements made to the Simulink Editor in R2020a, I put together the following animation where you should notice:
Flexible Port Placement: It is now possible to move ports to any side and in any order. This is possible for Subsystem, Subsystem Reference, Model block and Stateflow Port Name Propagation: Notice that when I connected the output named "Voltage" from block1 to block2, the newly created port on Block2 was automatically named "Voltage" too. Block name on any side of blocks: With flexible port placement, we thought it was a must to also allow placing the block name on any side of...read more >>
Last week, my colleague Mariano Lizarraga Fernandez pointed me to the Washington post simulation of COVID-19 and we thought it would be interesting to implement something similar using MathWorks products.... read more >>
现在Cleve发布了一个基于matlab的模拟器,是时候发布我们使用Simulink, Stateflow和SimEvents实现的模拟了。金宝app
这是随机的50种“药剂”的结果(绿色是感染前,红色是感染,蓝色是恢复):
让我们看看我是如何把它们放在一起的。
…
Today I am happy to welcome Shwetha Bhadravathi Patil to talk about AUTOSAR.... read more >>
AUTOSAR是什么
AUTOSAR(汽车开放系统架构)是一个全球性的汽车制造商,供应商,以及来自电子,半导体和软件行业的其他公司的发展伙伴关系。AUTOSAR标准旨在实现软件标准化、可重用性和互操作性。
The AUTOSAR standard provides platforms to support the current and next generations of automotive ECUs:
The Classic Platform supports traditional internal applications such as powertrain, chassis, body, and interior electronics. The Adaptive Platform supports new service-based applications such as automated driving, Car-to-X, software updates over the air, and vehicles as part of the Internet of Things.As
...read more >>
If you are attentive to details, you might have noticed that in MATLAB R2019b, we removed the First-Order Hold block from the Discrete section of the Simulink Library browser.... read more >>
同时,我们在Simulink库的连续部分添加了一个新的First Order Hold块。
我从Simulink用户那里收到的一个最常见的问题是:如何加速我的模型?金宝app
这个新的一阶保持块是专为改善一个常见的模型家族的性能而设计的:连接到离散控制器的连续变步长对象。
作为一个例子,让我们使用Backhoe示例包含在Simscape Multibody,其中我
Today I want to introduce my favorite new feature in MATLAB R2019b: Subsystem Reference... read more >>
让我们看看它是什么,它如何工作,以及何时应该使用金宝app它。在R2019b中,我们引入了一种新的框图类型。除了模型文件和库文件,现在可以创建子系统文件:
在当前文件夹窗口中,您可以通过它们的图标和类型区分模型、子系统和库:
从命令行,
金宝appMDLInfo:
引用一个子系统文件
首先要了解的是一个子系统文件
Someone recently challenged me to convert the curling simulator we published a few years ago (See this post and this post) to take advantage of new features not available at that time: App Designer and Stateflow for MATLAB.... read more >>
你可以猜到,这不是我能拒绝的挑战!< / p > < p >你可以找到最终结果:< a href = " //www.tatmou.com/matlabcentral/fileexchange/72554-the-curling-game-app " >冰壶游戏应用< / > < / p > < / p > < p >概述< p >这是一个图说明在高级别上盘旋而上的应用程序是如何实现:< / p > < p > < / p > < p >如果你下载应用,< / p > < / p > < p >…read more >>
Today I am happy to welcome guest blogger Quique Hernandez Hurtado Esquilas.... read more >>
注意:如果你没有注意到,从R2019a开始,Simulink项目不再是Simulink项目,而是简单的项目。金宝app您现在可以直接从MATLAB中利用有用的项目管理特性。
通过这篇文章,我们将使用Simulink中包含的Airframe示例,它可以通过在MATLAB中执行sldemo_slproject_airframe启动。
快捷方式
打开项目后,将
Today I decided to revisit a topic I covered a few years ago: loading discrete signals in a simulation.... read more >>
让我们看看在过去几年中添加了什么,以帮助解决在模拟中加载离散信号时可能遇到的潜在问题。
The Problem
让我们从一个简单的有两列的Excel表格开始,第一列是时间,第二列是信号值。我让数据和时间完全一致,只是为了让问题更加明显。我们将使用的实际文件包含10,000行,停止时间为10秒。< / p > < p > < / p > < p >我解释这篇文章< a href = " https://blogs.mathworks.金宝appcom/simulink/2019/03/15/importing-data-from-excel " > < / >,可以使用< a href = " //www.tatmou.com/help/releases/R2018b/simulink/slref/fromspreadsheet.html " >从电子表格< / >块加载这个信号。
After my last post on FMU import and export, someone asked me if exporting a Simulink model to an FMU was a good way to hide the model and protect intellectual property.... read more >>
答案是:不!
FMU是一个简单的压缩存档。如果您尝试将FMU的扩展更改为.zip并提取它,您将发现它包含原始模型。如果你想保护你的IP,我建议你保护模型。完成此操作后,您可以利用项目导出配置文件特性来自动打包应该共享的内容。