This is second more advanced and more accurate programmed of my Waveform Generator GUI.
The Waveform generator can generate periodic signal of arbitrary shape. Markers used. This also display Fourier series a and b coefficients. It is possible to plot harmonics and save to m-file. It is possible to listens sound. There are 10 presets for classic waveforms.
Continuous play option can be used only if DAQ toolbox installed. If continuous play stop because of markers move then increase buffer size: bufferSize, nblocks, margin variables in gui opening function. Generate m-file means generate m-function using current settings, the function is waveform as function y=function_name(x), that is periodic.