5.0

5.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 245.03 KB File ID: #23154
image thumbnail

Using MATLAB(R) visualization in a .NET PictureBox

by Martti

 

02 Mar 2009 (Updated 19 Oct 2009)

How to bring bitmap data generated from a MATLAB(R) figure into a C# application.

| Watch this File

File Information
Description

This example shows
- how to retrieve a pixel data matrix of a bitmap of desired size from a MATLAB(R) figure
- how to use Builder for .NET to create a .NET library assembly of a MATLAB function that generates the above-mentioned pixel data
- how to call this assembly from a C# application, and how to efficiently copy the pixel values to a PictureBox.

Zip packet contains all source files and VS 2005 project files, and 2008B compiled dlls.
Compilation instructions are in file README.m.

Required Products MATLAB Builder NE
MATLAB Compiler
MATLAB release MATLAB 7.6 (R2008a)
Other requirements Microsoft(R) Visual Studio(R) (2005)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
12 Aug 2009 Robert

thank you!
very useful!!!!!!!

Please login to add a comment or rating.
Updates
04 Mar 2009

Added screenshot

24 Mar 2009

refined the description a bit

31 Mar 2009

Improved / simplified copying of the bitmap data

30 Jul 2009

Added trademarks

19 Oct 2009

Added copyrights, removed executables.

Tag Activity for this File
Tag Applied By Date/Time
builder ne Cristina McIntire 03 Mar 2009 15:48:26
net Cristina McIntire 03 Mar 2009 15:48:26
compiler Cristina McIntire 03 Mar 2009 15:48:26
c Cristina McIntire 03 Mar 2009 15:48:26
hardcopy Martti 09 Mar 2009 08:46:48
visualization Martti 09 Mar 2009 08:46:48
c a 04 Nov 2009 03:45:08
builder ne a 04 Nov 2009 03:45:13
compiler a 04 Nov 2009 03:45:17

Contact us at files@mathworks.com