| Contents | Index |
| On this page… |
|---|
Your Role in the WebFigure Deployment Process What You Need to Know to Implement WebFigures |
Depending on your role in your organization, as well as a number of other criteria, you may need to implement either the beginning or the advanced configuration of WebFigures.
The table WebFigures for MATLAB Builder JA Deployment Roles, Responsibilities, and Tasks describes some of the different roles, or jobs, that MATLAB Builder JA users typically perform and which method of configuration they would most likely use when implementing WebFigures for MATLAB Builder JA.
WebFigures for MATLAB Builder JA Deployment Roles, Responsibilities, and Tasks
| Role | Typical Responsibilities | Tasks |
|---|---|---|
| MATLAB programmer |
|
|
| Java developer (business-service developer or front-end developer) |
|
|
The following knowledge is assumed when you implement WebFigures for MATLAB Builder JA:
If you are a MATLAB programmer:
Advanced to expert knowledge of MATLAB
If you are a Java developer:
Knowledge of how to create a J2EE Web site on a J2EE-compliant Web server
Experience deploying MATLAB applications is helpful
Install the following products to implement WebFigures for MATLAB Builder JA, depending on your role.
MATLAB
MATLAB Builder JA
MATLAB Compiler
MATLAB Compiler Runtime (see the system
requirements at http://www.mathworks.com/
support/sysreq/current_release/)
Java Developer's Kit (JDK) (see the list of supported compilers).
J2EE compliant Web server, such as Apache® Tomcat™
Java Runtime Environment (JRE) (see the system requirements).
MATLAB Programmer
| Role | Knowledge Base | Responsibilities |
|---|---|---|
|
|
|
|
To work with the examples in this chapter:
Assume the following MATLAB function has been created:
function df = getKnot()
f = figure('Visible','off'); %Create a figure.
%Make sure it isn't visible.
knot; %Put something into figure.
df = webfigure(f); %Give figure to function
% and return the result.
close(f); %Close the figure.
endAssume that the function getKnot has been deployed in a Java component (using Getting Started for example) with a namespace of MyComponent.MyComponentclass.
Assume the MATLAB Compiler Runtime (MCR) has been installed. If not, refer to Installing the MATLAB Compiler Runtime (MCR) in the MATLAB Compiler documentation.
If you are running a UNIX variant, such as Linux, WebFigures requires a display to be available in the Web server's environment in order for text labels to be rendered properly.
Set the DISPLAY environment variable to a valid X Server before running the WebFigure application.
![]() | About the WebFigures Feature | Quick Start: Implementing a Custom WebFigure | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |