Forum Discussion
Altera_Forum
Honored Contributor
15 years agoIn your testbench write your vector to a text file. use textio as usual.
first write sample to a line then to file. You can do that on every clock edge for example. in Matlab read the text file as follows: load filename.txt data = filename(:,1); %all rows of column 1 for example plot(data,'.-')