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.
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 个)
另请参阅
类别
在 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!