DLL Error in excel sheet

5 views (last 30 days)
Baha411
Baha411 on 4 Dec 2021
Commented: Walter Roberson on 14 Dec 2021
Hi. I am trying to follow this example in the page:
I am getting this error message when I put the code in excel
Error in mymagic.mymagicClass.1_0: MWComUtil 9.11 could not be found in the registry. Please refer to MATLAB Compiler SDK documentation for instructions on how to install and register MWComUtil.
I couldn't find anything for its instructions.
Can anyone help figure this out?
  12 Comments
Baha411
Baha411 on 13 Dec 2021
I have a few quick followup questions regarding addins for excel.
Here is an example:
function [x, y, z] = funct1(input1, input2, input3)
x = input1*input2;
y = input1+input2;
z.out1 = input1*input2^2;
z.out2 = input1*input3^2;
z.out3 = input2*input3^2;
So, the question is how I can extract which output to be printed in excel when I call this addin? For example, if I want only x to be printed in excel; or only y to be printed, or only z.out1, z.out2, or z.out3 to be printed, how can I specify that in excel? I really appreciate if you could answer this.
Walter Roberson
Walter Roberson on 14 Dec 2021
Sorry, I have no experience in that matter. I do not have Excel for Windows, and these features do not work on Excel for Mac.

Sign in to comment.

Answers (0)

Categories

Find more on Data Import from MATLAB in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!