You are on page 1of 1

matlab programming for generating graph for simulink model:

sim('model_name')
plot(x,y)
take two 'to workspace' blocks from sinks blockset
take clock block from source blockset
connect clock with 'to workspace' block
connect another 'to workspace' block to the output
run the matlab file
get the output

You might also like