SkillAgentSearch skills...

WPFMatlabPlotter

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

Install / Use

/learn @teapottiger/WPFMatlabPlotter
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated3y ago
Forks1

Languages

C#

Security Score

75/100

Audited on Apr 26, 2022

No findings