MATLAB: Create a real sawtooth in simulink

simulink

many blocks in simulink like signal generator seem not to be able to create perfect signals.i use Signal Generator—>Scope. signal generated is sawtooth 10^7hz and amplitude=2.
so are there any means that I get a perfect ,normalized sawtooth between -1 and 1 values?
the step is 1e-9.
same almost applies to the sawtooth function of matlab which does not produce accurate waveforms!

Best Answer

You can create your own generator block using simulink block logic, stateflow, s-function or embedded matlab function.
See similar submission here.
Related Question