How can I use simulink without time simulation?
Afficher commentaires plus anciens
Hi everyone,
This is my very first time posting here. Let's say that I'm a "rookie" eager to learn more and more from Matlab and Simulink. I will be starting soon to start some simulink tasks at my job (with help from some guy who knows about Matlab) but I'm developing (or trying) to do some things on my own just to progress.
I want to build a simulink model which has to read the data from an Excel file. The data in the Excel comes from a data acquisition system which has logged:
- 1 column for air pressure
- 1 column with time (1 read every 1 milisecond -1kHz-)
The purpose of my model is to read the air pressure value and integrate it but it has to do it according to the corresponding recording time in the cell of the adjacent column. I'm stuck at understanding how simulink performs the simulations because I want the model to introduce the air pressure value read every 1 milisecond as recorded in the data acquisition system but I'm forced to set a simulation time in simulink which doesn't match my data.
How can I tell Simulink "hey, this is my air pressure at 1 milisecond, integrate it, then, this is my air pressure at 2 miliseconds and integrate it" and so on?
I hope my question is clear
Réponse acceptée
Plus de réponses (3)
David Rojas Blanco
le 20 Fév 2019
0 votes
David Rojas Blanco
le 21 Fév 2019
0 votes
David Rojas Blanco
le 21 Fév 2019
0 votes
Catégories
En savoir plus sur General Applications dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



