I want to transfer pulse genrator block that is in smiulink , to matlab but for some reason the resultion is very small ( I have few sample dots ) , while I choose 10K points , I get only 2001 . where is the problem ?
clc;clear all;close all;
sim('test_function',0.01)
size(pulse_gen.signals.values )
in the pic of 'simulink_problem' you can see that I changed, the Limit data points to last: 10e3 .
how ever I get for some reason 2001 points , why is that ,and how to fix this problem in order to get more samle points in matlab struct ? becouse the defualt sampling points is too small.. to make a good plot of the simulink results .
0 Comments
Sign in to comment.