Can multiple Matlab files be compiled to one Excel add-in?
2 次查看(过去 30 天)
显示 更早的评论
I have one main function file. With this file, I run other scripts and use other functions I defined. Can I compile all the scripts and functions used into one Excel add-in. When I use the add-in in Excel, I just have to call the main function?
0 个评论
采纳的回答
Mihir Thakkar
2018-10-1
You can use multiple files and compile it to one Excel add-in. If you are compiling the main file using Library Compiler, it should automatically detect all the dependencies ( How Does MATLAB Deploy Functions? ).
However, if some files are not there by default, you can add them in "Files required for your library to run" section of your MATLAB Library Compiler window.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Excel Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!