MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guia de Instalação Página 36: M-File Template
2
Getting Started
2-8
% created and the filename you created from
OUTPUT_TEMPLATE.HTML.
% Replace <OUTPUT_TEMPLATE.HTML> with the name of the HTML
output
% file you created using OUTPUT_TEMPLATE.HTML.
% This call fills the string RETSTR to return and optionally
% writes the output as a file if a valid filename is given
as the
% second argument to the present function.
templatefile = which('<OUTPUT_TEMPLATE.HTML>');
if (nargin == 1)
retstr = htmlrep(outstruct, templatefile);
elseif (nargin == 2)
retstr = htmlrep(outstruct, templatefile, outfile);
end
webmagic M-File
The data entered on the
webmagic1.html
input document is
automatically passed to MATLAB, which then runs the
webmagic
function. Notations in
boldface
refer to steps in the M-file template.
% Initialize the return string.
(Step 1)
retstr = char('');
(Step 2.
Not needed. No generated graphics.
)
% Get the msize (string) variable. Convert to a number.
(Step
3)
% Check the range.
if(~length(instruct.msize))
msize = 3; % Default empty field.
else
msize = str2double(instruct.msize);
if (msize > 20), msize = 20; end % Max size.
if (msize < 3), msize = 3; end % Min square.
end
% Save size as a char string in structure OUTSTRUCT.
(Step
4, 5)
outstruct.msize = msize;
Ficheiro PDF · ·
Perguntas sobre MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE
Ainda não há perguntas sobre este manual. Faça a primeira.
Manuais e produtos relacionados com Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE
- Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manual do Utilizador
(330 páginas) - Software MATLAB CONTROL SYSTEM TOOLBOX 9 Guia do Utilizador
(649 páginas) - Software MATLAB FINANCIAL DERIVATIVES TOOLBOX Manual do Utilizador
(119 páginas) - Software MATLAB SIMEVENTS RELEASE NOTES Guia do Utilizador
(114 páginas) - Software MATLAB SIGNAL PROCESSING TOOLBOX 6 Manual do Utilizador
(60 páginas) - Software MATLAB SIMULINK VERIFICATION AND VALIDATION - S Guia do Utilizador
(674 páginas) - Software MATLAB IMAGE PROCESSING TOOLBOX - RELEASE NOTES Guia do Utilizador
(122 páginas) - Software MATLAB SYSTEM IDENTIFICATION TOOLBOX 7 Guia do Utilizador
(531 páginas) - Software MATLAB DATABASE TOOLBOX RELEASE NOTES Guia do Utilizador
(298 páginas) - Software MATLAB DESIGN HDL CODER RELEASE NOTES Guia do Utilizador
(410 páginas) - Software MATLAB POLYSPACE 7 Guia de Instalação
(618 páginas) - Software MATLAB PARALLEL COMPUTING TOOLBOX 4 Guia do Utilizador
(128 páginas) - Software MATLAB DATABASE TOOLBOX RELEASE NOTES Guia do Utilizador
(684 páginas) - Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual do Utilizador
(408 páginas) - Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Manual do Utilizador
(22 páginas) - Software MATLAB CURVE FITTING TOOLBOX - RELEASE NOTES Manual do Utilizador
(54 páginas) - Software MATLAB GAUGES BLOCKSET RELEASE NOTES Guia do Utilizador
(114 páginas) - Software MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Especificações
(126 páginas) - Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Especificações
(216 páginas) - Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guia do Utilizador
(386 páginas)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86