View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Using MATLAB(R) visualization in a .NET PictureBox

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

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

Using MATLAB(R) visualization in a .NET PictureBox


Martti K (view profile)


02 Mar 2009 (Updated )

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

| Watch this File

File Information

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   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
12 Aug 2009 Robert

Robert (view profile)

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

04 Mar 2009 1.2

Added screenshot

24 Mar 2009 1.4

refined the description a bit

31 Mar 2009 1.5

Improved / simplified copying of the bitmap data

30 Jul 2009 1.6

Added trademarks

19 Oct 2009 1.7

Added copyrights, removed executables.

01 Sep 2016

Updated license

Contact us