MATLAB Answers

Type mismatch error while calling VBA from matlab

1 view (last 30 days)
Elizabeth
Elizabeth on 29 Oct 2015
Commented: Geoff Hayes on 29 Oct 2015
Hi, I am Elizabeth and I am a newbie with Matlab.
When I was trying to call excel VBA from matlab, I got this error message:
Error using COM.Excel_Application/Run
Invoke Error, Dispatch Exception: Type mismatch.
I didn't understand what does it mean. The inputs are [6x1] matrix, if it might help. Thank you in advance!

  1 Comment

Geoff Hayes
Geoff Hayes on 29 Oct 2015
Elizabeth - please post the code that you have written that leads to this error so that we can get an idea of what may be the cause.

Sign in to comment.

Answers (0)

Sign in to answer this question.