Effacer les filtres
Effacer les filtres

How should I run a simulation in simulink so that the simulation matches the real time clock?

4 vues (au cours des 30 derniers jours)
I have made a battery charging and discharging model wherein I have used a variable type solver.
But I need the simulation to run with the real time clock.
My problem is that if I give the simulation time as 100 s then the simulation gets completed much earlier.

Réponse acceptée

Muruganandham Subramanian
Muruganandham Subramanian le 27 Déc 2012

Plus de réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 27 Déc 2012
Modifié(e) : Azzi Abdelmalek le 27 Déc 2012
If you have a Real time windows target toolbox you can simulate on real time
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 27 Déc 2012
Modifié(e) : Azzi Abdelmalek le 27 Déc 2012
If you have'nt this toolbox you can use an interpreted matlab function where you will put the code pause(n). n is your step time

Connectez-vous pour commenter.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by