How to output Matlab-Com​piled-Exce​l-Addin array in Excel? If VBA is required, please provide sample code.

1 次查看(过去 30 天)
Hello, How do I get the output of the following compiled function in Excel? I've compiled the function as excel-addin Please provide step-by-step guide and example compiled function on how I output the result in Excel. Thanks
function y = mymagic(x)
%MYMAGIC Magic square of size x.
% Y = MYMAGIC(X) returns a magic square of size x.
% This file is used as an example for the MATLAB
% Builder EX product.
y = magic(x)

回答(1 个)

Debarati Banerjee
Debarati Banerjee 2016-4-14
Please refer to the Paragraph under the heading 'Function Execution from the Deployed Component' of this link .

类别

Help CenterFile Exchange 中查找有关 Excel Add-Ins 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by