Why am I unable to pass an array from a COM object generated by the MATLAB COM Builder to my VBScript application?

1 view (last 30 days)
Why am I unable to pass an array from a COM object generated by the MATLAB COM Builder to my VBScript application?
Whenever I try using VBScript to access data from an array returned by a COM object generated by the MATLAB COM Builder, I receive the following error message:
Type mismatch

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This has been verified as a limitation of the MATLAB COM Builder 1.0 (R13SP1) with objects accessed from VBScript that return data as an array .
There are currently no known workarounds.
  1 Comment
Rutuja Shirali
Rutuja Shirali on 25 Jun 2015
Hello Mohamed. Please contact MathWorks Technical Support and create a ticket about this issue. Some engineer from the team will investigate further.

Sign in to comment.

More Answers (0)

Products


Release

R13SP1

Community Treasure Hunt

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

Start Hunting!