Hi,
Thank you for your answer. Yes, I agree, it is quite fast when used via the waveforms software, but things seem to be completely different when used via Matlab. It does not allow me to set the sample rate to higher than 300kHz. Then of course I end up with aliasing, which is confirmed when I look at the signal with an external oscilloscope. I could maybe show the code I use to illustrate better.