Created one function to generate webpages for both Matlab Structures and Matlab scripts