record matlab code when using interface
조회 수: 4 (최근 30일)
이전 댓글 표시
Is there a way to see the code created by the matlab interface the same way you can record visual basic on excel. A simple example would be importing a csv. It is easy to click the import data button and make sure the first row is dropped, etc. I'm curious if I can then see the code that was executed to import that data. Thanks
댓글 수: 0
답변 (1개)
Walter Roberson
2016년 3월 7일
If you use uiimport() then over at the top right where it says "Import Selection", there is a drop-box. That drop-box has options for "Generate script" and "Generate function" that will create appropriate code for you.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!