MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de instalación Página 37: (Step 6)

Creating MATLAB Web Server M-Files
2-9
% Create magic square in output structure OUTSTRUCT.
outstruct.msquare = magic(msize);
% Get column, row, and diagonal sum.
Put in OUTSTRUCT.
d = sum(outstruct.msquare,1);
outstruct.msum = d(1,1);
% Output the results and optionally write as a file if the
% filename was given as the second argument to WEBMAGIC.
(Step 6)
templatefile = which('webmagic2.html');
if (nargin == 1)
retstr = htmlrep(outstruct, templatefile);
elseif (nargin == 2)
retstr = htmlrep(outstruct, templatefile, outfile);
end

Archivo PDF · ·

Imprimir

Imprimir documento

Compartiendo

Preguntas sobre MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE

Todavía no hay preguntas sobre este manual. Haga la primera.

Hacer una pregunta

Respondemos con el manual e indicamos la página. La pregunta se publica en el sitio después de revisarla.

Todas las preguntas y respuestas ›

Productos y manuales relacionados para Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE