Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Compiler   

Working with Static Images

There are several options when dealing with images through a component.

You can simply save the image from the M-code to a drive somewhere using print functionality (the front end references the physical file directly). This is not ideal since the middle tier is behind the firewall (and the front end is in front of it), incurring possible security concerns with where the files reside.

Using Java, you can return a Java image object from M and use it directly from the JSP or servlet by saving it to disk or converting it to a byte stream.

 Using a Static Image In a JSP Page

 Using a Static Image in a ASPX Page

 Interacting with Images Using JavaScript (for .NET or Java)

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS