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

2 views (last 30 days)
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)

Answers (1)

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

Categories

Find more on Data Export to MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!