Auto Simulation with Simulink

조회 수: 1 (최근 30일)
Giovanni Silva Pimentel
Giovanni Silva Pimentel 2019년 3월 22일
답변: Akshay Khadse 2019년 3월 29일
Hi, i would like to know if there is any possibility to make that Simulink runs multiple simulations varying the input data and saving the inputs and outputs in some data text (perhaps the same matlab, or excel). For example I got this DC Motor Model, and it has 4 outputs (Speed, Armature Current, Torque and Armature Voltage), this outputs are based on voltage and Mechanical Torque applied to the motor, so i would like to run many simulations with lets say 1[V] and 1[Nm] in the input, then 2[V] and 2[Nm] and so on, so in every simulations i would like to save those inputs data and save the outputs as well, is this possible?, any reference or commands that could help, or there is another form of doing this?. This is for making a training set and make a neuronal network, so I need more than 1000 simulations. Thanks in advance.
  댓글 수: 1
Akshay Khadse
Akshay Khadse 2019년 3월 29일
Do you want to verify this as well?

댓글을 달려면 로그인하십시오.

답변 (1개)

Akshay Khadse
Akshay Khadse 2019년 3월 29일
If not than you could use the sim command in a MATLAB script, log the signals in your model and save the output from this script.
Following are the documentation pages that should get you started.

카테고리

Help CenterFile Exchange에서 Data Logging에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by