Is it possible to embed MATLAB figures in a modern .Net user interface such as WinUI, WPF, or MAUI?
조회 수: 22 (최근 30일)
이전 댓글 표시
I'd like to create the user interface for my application using one of the modern .Net UI frameworks such as WinUI, WPF, or MAUI but still use MATLAB functions such as plot, histogram, and imshow for data visualization, ginput for interaction, etc. I know that it's possible using the Compiler SDK to call MATLAB from .Net and have it display images and plots, but what I'd really like to do is display those images and plots embedded in the .Net-based UI, rather than have them pop up as separate windows. Can this be done? If so, how?
I saw one very old StackOverflow post about doing this in a WinForms app (c# - how to plot matlab figure inside winform application? - Stack Overflow) but nothing more recent about doing it with one of the modern UI frameworks.
댓글 수: 0
답변 (1개)
Neha
2023년 8월 29일
Hi Matt,
I understand that you want to display MATLAB images and plots embedded in a .NET-based UI. Currently this feature is not supported, a possible workaround is explained here: Can I embed a MATLAB GUI in a .NET Windows Form with MATLAB Builder NE 3.0.1 (R2009a)? - MATLAB Answers - MATLAB Central (mathworks.com)
Hope this helps!
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!