function firstdeploy() input = (getenv('QUERY_STRING')); printHeader() x=str2double(input.size); sqre(x); printContent() printFooter() end function sqre = sqre(x) sqre = (x^2); end function printHeader() fprintf(1,'Content-type: text/html\n'); fprintf(1,'\n'); %Print the HTML response page to STDOUT. fprintf(1,''); fprintf(1,'My Squaring'); fprintf(1,''); end function printContent() fprintf(1,'

This is the square of your input:

'); fprintf(1, sqre(x)); end function printFooter() fprintf(1,''); fprintf(1,'\n'); end