c# - How to display matlab figure in WPF application -


I have a matlab file which pulls 3 plots and I have an application in WPF. How can I insert plots from matlab in my WPF application? (I do not want to run matlab's interface with my application)

I do not want to include the screenshot of the plot, but I want to import a live plot from the mathab from the ability to zoom in. Zoom out And change the size of the plot Is it possible?

If it has an extern tool for it, it will also be good.

  1. If you display

    Screenshots, you can export it from Matlab only as a PNG and show it as an image.

  2. If you exclude matlab, you can let it load, plot, zooming and resizing it for you.
  3. If you want to zoom in and resize yourself, you can make the multab script a CSV file or something similar, then load it into your WPF application, it can be used by many available conspiracy utilities Ex:.).

    The only way is that you can come out to Matlab, and then show the Matlab figure as part of your WPF application using low level Windows calls, but it is not easy And version can break Windows or Metlab versions.

Comments