How can I see the magnitude and frequency of a signal (DFT) in PLECS?
The fundamental frenquency of DFT block should always equal to 1 Hz which is the fundamental frequency of your signal. That means, if Ts is 1/8s, then the number of samples should be 8, if you increase Ts to 1/2s, then the number should be 2.