export the script from already made GUI
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi everyone,
I have a GUI file for an instrument which is reading the data through USB and plotting it in real time.
I would like to export the data in real time and analyse it to give realtime feedback based on the data. How I can extract the script from the GUI file?
Thanks for your help!
댓글 수: 2
답변 (1개)
Walter Roberson
2022년 7월 27일
If the GUI is written in MATLAB, then the source code is the "script", and if you want to extend the GUI to be able to do something else, you would modify the existing source code.
If you have a compiled GUI, a .exe, then you cannot extract the source code from it -- at least not in any easy way. In some circumstances it would be possible to "decompile" an executable, but it is often a pain to do.
댓글 수: 2
Walter Roberson
2022년 7월 28일
I am not sure what the question is then?
You could modify the callback function to do whatever is required.
"export" the data is not general for us to give advice.
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!