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