How to get Simulink Simulation properly?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone!
I have a 2x1 Simulink Output as it follows:
With the following:
And both simOut have the same itens (Event, Fault, Ir and so on).
When I try:
get(simOut, 'Fault')
I got only one of these structs, and I want separate them propely and know which is from 1 or 2 line (from 2x1 output).
How can I do this?
Here's part of the code (and I accept suggestions):
N = 2;
simOut = repmat(Simulink.SimulationOutput, N, 1);
for i = 1:N
simOut(i) = sim('mymodel','ReturnWorkspaceOutputs','on');
save falt.mat
end
Thank you in advance!
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!