How to simulate data from txt correctly?
Afficher commentaires plus anciens
I'm stuck with an investigation project and I don't have experience in this situations with matlab.
I have to simulate a corrent impulse loading the data from a txt.
The txt has 2 columns, one for time, and the other for intensity.
To import this data to two variables in the workspace and plot them is easy, but the nightmare comes when I want to simulate this data.
I use the block 'from workspace' to load the two variables into simulink, but what is shown in the scope block has no sense.
I think the problem may be with 'time step' or how the time is interpreted, but as far as I have tested it I don’t get any change.
The finality of loading this data and get to simulate it properly, is to see how movs(metal oxide varistors) behaves, so next to the from workspace block I will put some inductors, resistances and the varistor block from simulink with voltage and current sensors.
I have to say that I don't use to ask for help and I look for answers by myself, but now this is getting me in trouble.
Thank you in advance/Gracias
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink 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!




