I want to create a similar figure with Simulink like:
This is my MATLAB code:
n = importdata('n.txt',';')
cars = n(:,2)
trucks = n(:,3)
bus = n(:,4)
t = linspace(1,365,365)
t = transpose(t)
Here are my Simulink blocks:
And "Scope" block does this kind of figure:
Why is Simulink figure (Figure-3) not similar to Figure-1. I want to create a similar figure with Simulink. Where is the problem?