MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guia de Instalação
Consulte online ou descarregue Guia de Instalação para Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE. MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Installation guide Manual do Utilizador
For Use with MATLAB
MATLAB Web Server
MATLAB Web Server
Ficheiro PDF · ·
Resumo do Conteúdo
Computation Visualization Programming For Use with MATLAB ® MATLAB Web Server Version 1 MATLAB Web Server
How to Contact The MathWorks: www.mathworks.com Web comp.soft-sys.matlab Newsgroup [email protected] Technical support [email protected]…
Contents Preface About This Book vi Organization of the Document vi Typographical Conventions vii Related Products viii MATLAB on the Web Introduction…
ii Contents Getting Started Introduction 2-2 Templates 2-2 Creating Input Documents 2-4 Input Template 2-4 Creating MATLAB Web Server M-Files 2-7…
iii Reference Function Summary 4-2 htmlrep 4-3 matweb 4-6 wscleanup 4-7 wsprintjpeg 4-8 wssetfield 4-9 Directory Structure Troubleshooting Web Server…
iv Contents
Preface About This Book vi Organization of the Document vi Typographical Conventions vii Related Products viii
Preface vi About This Book This book describes the MATLAB ® Web Server. The MATLAB Web Server lets you deploy MATLAB based applications over a network…
Typographical Conventions vii Typographical Conventions This manual uses some or all of these conventions. Item Convention Used Example code Monospace…
Preface viii Related Products The MATLAB Web Server requires MATLAB Release 11 or later. No other MathWorks-supplied software is required. See…
Related Products ix MATLAB C/C++ Graphics Library for automatically compiling MATLAB programs that contain graphics and graphical user interfaces…
Preface x
Introduction 1-2 MATLAB Web Server Environment 1-2 Building MATLAB Web Server Applications 1-3 Product Requirements 1-5 Web Requirements 1-5…
Introduction MATLAB Web Server Environment The MATLAB ® Web Server enables you to create MATLAB applications that use the capabilities of the World…
Introduction 1-3 In a more complex network, the Web server daemon can run on a machine apart from the others. Building MATLAB Web Server Applications…
3 Write a MATLAB M-file that: a Receives the data entered in the HTML input form. b Analyzes the data and generates any requested graphics. c Places…
Product Requirements 1-5 Product Requirements The MATLAB Web Server has the same supporting hardware and software requirements as MATLAB itself…
Installation Availability The MATLAB Web Server is available on UNIX (Solaris) workstations and IBM PC compatible computers running Microsoft Windows…
Installation 1-7 -m 1 This number represents the number of MATLABs that can run concurrently. After testing that everything is working properly, you…
Copy matweb.conf in <matlab>/toolbox/webserver/wsdemos to the directory aliased by /cgi-bin or equivalent. Copy all demo HTML files in…
Installation 1-9 at the command prompt to see detailed information about a specific script. After completing the MATLAB and MATLAB Web Server…
3 Open the copied file in a text editor and follow the directions for modifying the file. Save and close the file when you are done.
Installation 1-11 4 Solaris users should create a link in the rc directory associated with run level 3. cd /etc/rc3.d; ln -s ../init.d/webserver…
Deinstallation To remove MATLAB Server from the Windows NT Registry, open a command prompt (MS-DOS) window. Enter the command sequence cd…
Graphics Display 1-13 Graphics Display We recommend that Solaris/Linux users use Virtual Network Computing (VNC) for their X display. VNC can be used…
The file directory created contains a README file that discusses how to install the software. The directory contains four files vncviewer vncserver…
Graphics Display 1-15 The first time you run the vncserver, you will be prompted for a password. This password controls access to the VNC viewer…
webstart -display :1 [webstart]:Calling webdown to take down MATLAB Web Server . . . No server to take down . . . [webstart]:Calling webboot to start…
Introduction 2-2 Templates 2-2 Creating Input Documents 2-4 Input Template 2-4 Creating MATLAB Web Server M-Files 2-7 M-File Template 2-7 Creating…
Introduction The process of creating a MATLAB Web Server application involves the creation of: An HTML input document for data submission to MATLAB.…
Mostrar as 86 páginas
Introduction 2-3 webmagic1.html: the webmagic input document webmagic2.html: the webmagic output document webmagic.m: the webmagic MATLAB M-file…
Creating Input Documents Input Template The file input_template.html provides the code needed to create a MATLAB Web Server input document. An…
Creating Input Documents 2-5 <p><input type="submit" name="Submit" value="Submit"></p> <!-- STEP 5 Add the name of your main application function to…
To display the input document and run the magic squares demonstration locally on your computer, start your Web browser and set the URL to…
Creating MATLAB Web Server M-Files 2-7 Creating MATLAB Web Server M-Files M-File Template You use the M-file template to code your MATLAB application…
% created and the filename you created from OUTPUT_TEMPLATE.HTML. % Replace <OUTPUT_TEMPLATE.HTML> with the name of the HTML output % file you created…
Creating MATLAB Web Server M-Files 2-9 % Create magic square in output structure OUTSTRUCT. outstruct.msquare = magic(msize); % Get column, row, and…
Creating Output Documents Output Template The file output_template.html provides the code needed to create a MATLAB Web Server output document. An…
Creating Output Documents 2-11 The source for the webmagic2.html template document looks like <!-- HTML output template used by webmagic.m in call to…
When displayed in a browser, webmagic2.html looks like
Debugging Your Application 2-13 Debugging Your Application Debugging Procedure You can use the MATLAB debugging facility plus your Web browser to…
outfile in this case is twebmagic.html, the second argument passed to webmagic. The second step in debugging is to use your Web browser to examine…
Additional Application Examples 2-15 Additional Application Examples The easiest way to learn how to create MATLAB applications that send and receive…
The URL for the players example is http://<your_domain>/cgi-bin/matweb.exe?mlmfile=players& on Windows NT. (On Solaris/Linux use matweb instead of…
Additional Application Examples 2-17 This input document allows you to set the characteristics of the peaks plot you want to generate. This is a more…
also be used to maintain contexts among the different connections in an application.You can see this in the code s.GraphFileName =…
Additional Application Examples 2-19 Note When the input form contains a “clickable” image created by an <input> tag of the form <type = "image" name…
Stock Price Simulation Now that you are familiar with the use and operation of the MATLAB Web Server, look at webstock, a program that uses MATLAB to…
Inside the MATLAB Web Server Components 3-2 File Locations 3-4 Understanding matlabserver 3-5 matlabserver.conf 3-5 Using matlabserver 3-6 Returning…
MATLAB Web Server Components The MATLAB Web Server consists of a set of programs that enable MATLAB programmers to create MATLAB applications and…
: Figure 3-1: MATLAB on the Web Initial HTML Form or URL Generated HTML Form Client MATLAB Client http daemon matweb matlabserver M-files Data…
File Locations Any M-files used in conjunction with a Web application, including matweb.m, must appear on the MATLAB path. The matweb and matweb.conf…
Understanding matlabserver 3-5 Understanding matlabserver is designed to run continuously in the background as a Windows NT service or as a background…
Note that the values for the variables can contain references to other shell variables using the normal shell $ notation. Table 3-1: Additional…
Understanding matlabserver 3-7 Changing Initial Data Edit matlabserver.conf on Windows NT. On Solaris/Linux run the webconf script to initialize the…
When the MATLAB Web Server is installed, matweb is placed in <matlab>/webserver/bin/arch for all architectures. This placement allows you to run…
Understanding matlabserver 3-9 All the fields that can be contained in matweb.conf are described in Table 3-2. After you create a new MATLAB Web…
matweb M-File Looking again at the source from the webmagic1.html file (see “webmagic Input” on page 2-5), observe that the line <input type="hidden"…
Reference
4 Reference 4-2 Function Summary This chapter provides detailed descriptions of the functions in the MATLAB Web Server. Function Purpose htmlrep…
htmlrep 4-3 4htmlrep Purpose Substitute values for variable names in HTML document Syntax outstring = htmlrep(instruct,infile) outstring =…
htmlrep 4-4 Note The extendmemory attribute is designed only for use with htmlrep independently of the MATLAB Web Server. Using it with the MATLAB Web…
htmlrep 4-5 <SELECT NAME="NAMELIST" SIZE=10 AUTOGENERATE=$mylist$ MULTIPLE> <OPTION SIZE=6> </SELECT> htmlrep uses the HTML code from the <SELECT> tag…
matweb 4-6 4matweb Purpose MATLAB Web Server main entry point Syntax matweb(instruct) Description matweb is an M-file that in turn calls a MATLAB…
wscleanup 4-7 4wscleanup Purpose Purge stale files from directory Syntax deletecount = wscleanup(filespec,timewindow,direc) deletecount =…
wsprintjpeg 4-8 4wsprintjpeg Purpose Create JPEG file Syntax status = wsprintjpeg(fig, jpegfilename) Description status = wsprintjpeg(fig…
wssetfield 4-9 4wssetfield Purpose Add new field or append to existing field Syntax s = wssetfield(s,name1,value1,...) Description s =…
wssetfield
Directory Structure
A Directory Structure A-2 MATLAB is distributed in compressed format on CD. The installation procedure moves the files to your hard disk, decompresses…
You must also place a copy of the appropriate matweb executable and matweb.conf into the /cgi-bin aliased subdirectory of the HTTP server root…
A Directory Structure A-4 Table A-4: <matlab>/toolbox/webserver/wsdemos File Purpose dummy.html Temporary HTML document in bottom frame of…
File Purpose webpeaks1.html HTML frame webpeaks2.html peaks plot output form webstock.html Stock price simulation input form webstock1.html Stock…
A Directory Structure
Troubleshooting Web Server General Troubleshooting B-2 Additional Troubleshooting for Windows NT B-4 Additional Troubleshooting for Solaris and Linux…
B Troubleshooting Web Server B-2 This section provides three categories of troubleshooting information: General Troubleshooting Additional…
Application-Specific Log File Not Produced If present, the mllog variable in matweb.conf ( see “matweb.conf” on page 3-8) creates an…
B Troubleshooting Web Server B-4 1 matlabserver is not running. On Solaris or Linux run the webstat script. On Windows NT click the Start button, open…
Viewer appears, click on Log on the menu bar and choose Application from the pull-down menu. Double-click on a matlabserver entry to receive…
B Troubleshooting Web Server B-6 Startup Sequence If you install a new version of MATLAB and the MATLAB Web Server, you need to start MATLAB before…
C Selected Bibliography
C Selected Bibliography C-2 Numerous books have been published about HTML programming and the World Wide Web. Two that we have found both useful and…
Index A alias 1-8 aliases 1-7 applications 1-3 authoring systems 1-3 availability 1-6 B bind error B-3 browsers 1-5 C configuration files 3-2…
Index I-4 nomenclature 2-5 single entry B-4 matweb program 3-7 matweb.conf 3-8 application development 1-3 format 1-6 locating graphic files 1-7 mldir…
Index I-5 Solaris B-6 Windows NT B-4 twebmagic.m 2-13 typographical conventions (table) vii V virtual network computing (VNC) 1-13 VNC virtual network…
Index
Mais documentos para Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE
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

