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

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)

Please refer to the Paragraph under the heading 'Function Execution from the Deployed Component' of this link .

Categories

Products

Asked:

on 11 Apr 2016

Answered:

on 14 Apr 2016

Community Treasure Hunt

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

Start Hunting!