Clear Filters
Clear Filters

Can multiple Matlab files be compiled to one Excel add-in?

1 view (last 30 days)
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?

Accepted Answer

Mihir Thakkar
Mihir Thakkar on 1 Oct 2018
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.

More Answers (0)

Categories

Find more on Excel Add-Ins in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!