フィルターのクリア

How to display matlab plots in a GUI in python using api engine?

10 ビュー (過去 30 日間)
LeGeND
LeGeND 2020 年 8 月 16 日
Hi. I am developing a GUI in python and it will pass input parameters entered by user to script written in MATLAB (using api engine). MATLAB will then execute code and generate plots in the end. Now I want them to be shown in my GUI (at specific place for example the output space I have specified for plots) and not just as MATLAB displays. So how can it be done?
Thank you.

回答 (1 件)

Thiago Henrique Gomes Lobato
Thiago Henrique Gomes Lobato 2020 年 8 月 16 日
I don't think any python GUI has a canvas which can handle matlab plots directly. What you can do is to save your matlab plot as, for example, a .jpg file and then create a matplotlib canvas that display the plot as the .jpg image.

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by