Skip to content

A lightweight library for embedding Matlab output window (graphs, plots) inside C# WPF x64 applications.

License

Notifications You must be signed in to change notification settings

teapottiger/WPFMatlabPlotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WPFMatlabPlotter

What?

WoW

A lightweight library for embedding Matlab output window (graphs, plots) inside C# WPF x64 applications.

Features Supported
Windows
Single C# dll
Open Source
MIT license

How?

1. Make sure that you have installed a MATLAB Runtime

Latest release can be found here.

2. Add a reference to WPFMatlabPlotter

Use the NuGet package manager to add a reference to WPFMatlabPlotter.

3. Define MatlabPlot in XAML

          <WPFMatlabPlotter:MatlabPlot x:Name="MainPlot" Width="300" Height="300" Margin="10" BorderBrush="Black" BorderThickness="1"/>

4. Build a plot

                //1. Call YOUR OWN Matlab .dll to draw a plot.
                _matlabController.matlab_plot();
                //2. Call WPFMatlabPlotter
                MainPlot.BuildGraph("Figure 1");

5. Destroy a plot (if you want to close it)

                MainPlot.DestroyGraph();

Examples

You can find examples (built for Matlab Runtime 9.2) in the /Examples folder in the code repository.

License

MIT - do whatever you want.

About

A lightweight library for embedding Matlab output window (graphs, plots) inside C# WPF x64 applications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published