MATLAB: Executing matlab scrip from excel

apiautomatic executionbatchexcellinking matlab and excel

Hello everyone.
I wrote a matlab scrip that produce a figure as a result. I want to run this scrip from excel, like assigning it to a Button or any otherway, so when I click on that button I can see the plot, noth the matlab interface, only the result.
how can I achive such a thing?
thanks in advance

Best Answer

Please refer to this MATLAB documentation - Using MATLAB with Excel. I believe it should help you integrate the MATLAB code with Excel