This blog is about Simulink simulation with the method of Multiple Simulation.
You are welcomed to chat about it and if you like this blog, do not forget to give me a like.
Welcome to see my homepage and contact me: NicholasYe’s Homepage.
1. Build up a simulation model
- First of all, you need to build up a simulink model and define a variable which you need to change in the model.
For instance, I build up a simple RC circuit in series with a square wave voltage source to see the reaction of voltage change about the capacitor.
And then I need to change the period(or frequency) to see what’s going to happen about the voltage.
Thus period is the variable of the model, and click “apply”

2. Open the Multiple Simulation
- At here you will find Multiple Simulation and then you will have this diagram.

- Click “Plus” to add a new design study and you can rename it.

- And then you should add variable and set up the range or the specific number you want to simulate with. The variable name should be totally the same with the one you have set in the model!!
- you have different ways of setting the number, for example:
[1,4,9],["on","off"],rand(1,10)and so on.

- Then you should click
"run"in Multiple Simulation and then you will find the"run"in simulation has changed into"run all". Just click it to begin simulation. And you can see the statue inSimulation Manager.


3. Use Simulation Data Inspector to see the data
- Click the signal line of the scope and Log Selected Signal

- Then you can open
Simulation Data Inspectorto see different signal wave with different variable(period), that’s all.

Please clearly mark the source of the article in the process of reproducing it! Respect for originality and intellectual property rights, thanks!
本文介绍如何使用Simulink通过多种设计研究方法进行模型搭建,重点讲解了如何设置变量、范围和频率,以及如何利用Simulation Data Inspector分析不同条件下的信号变化。作者分享了建立简单RC电路模型并调整周期的步骤,强调了模型中变量设置的一致性。
2万+

被折叠的 条评论
为什么被折叠?



