how to plot in simulink
Show older comments
i designed a simulink model where i was in need to plot the result vectro obtained , so how can i do that as i didnt get any method to do that
i want to plot my ouput vs input which are both vectors
1 Comment
Manikanta Aditya
on 28 Mar 2024
You can plot the output versus input vectors in Simulink using the To Workspace block for saving the vectors and then using MATLAB’s plot function.
You can Save the vectors in Simulink, run the model and plot the vectors in MATLAB
plot(input, output)
xlabel('Input')
ylabel('Output')
title('Output vs Input')
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!