Varargservlet

This demo uses MATLAB Builder for Java to create a Java component from a MATLAB function varargexample.m. A Java Servlet was created which calls into the MATLAB created component to display a plot of the arguments specified. The plot is displayed in the web page using Web Figures feature of MATLAB Builder for JAVA.
One point of interest in this demo is the use of the MATLAB varargin and varargout for optional input and output to the varargexample.m function. The use of variable arguments involves logic on the Java implementation side to call the MATLAB created component with the correct arguments. Requirements:
· MATLAB Release: R2007b
· MATLAB Builder for Java

DMCA Notice-Privacy Policy
2004 - 2013 DownScripts. All rights reserved.