%% Get MATLAB Code from HTML File
% Use grabcode to get MATLAB® code from an existing HTML file.
% Extract the MATLAB code from my_sine_wave.html into the variable code. To view the contents of the file, double-click my_sine_wave.html in your current folder.

code = grabcode('my_sine_wave.html')

% Copyright 2012 The MathWorks, Inc.