Displaying To File Data In a Plot

2 vues (au cours des 30 derniers jours)
Bob Daniloo
Bob Daniloo le 24 Nov 2015
Modifié(e) : Bob Daniloo le 24 Nov 2015
The Code I'm using:
p1a
sim('p1a');
load p1a %Also tried P1A = load('P1A.mat');
The Simulation: http://imgur.com/9JCPfMI
What I would like is for load to give me a structure in which I can reference fields (For example, P1A.t) to simply plot 2 things. The first being VS (Named in the simulation) versus time and also VC (Named in the simulation) versus time.
Matlab is instead giving me a 2x51 double that I'm having a hard time with. How can I make what I would like to happen happen>

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown 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