matlab files have been corrected.
simple compile without errors.
Merge branch 'sweeping_sin' into freq_change_immediately