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

2 visualizaciones (últimos 30 días)
Ji Li
Ji Li el 26 de Sept. de 2018
Respondida: Mihir Thakkar el 1 de Oct. de 2018
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?

Respuesta aceptada

Mihir Thakkar
Mihir Thakkar el 1 de Oct. de 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.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by