Error in [Classname].[DLLname] occurred in Excel function created from matlab function

I described simple function
function [ ret ] = getSumVector( vector )
ret = sum(vector);
end
named getSumVector.m. And I would like to use this function in Excel. So, I built the excel add-in using matlab compiler (2013a). It generated following files in distrib directly
  • getSumVector.bas
  • getSumVector_1_0.dll
Next,I put getSumVector.bas in add-in file thorough VBA. Though I used getSumVector function in excel, the error occurred .
How should I do to use matlab function in excel in correct?

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Export to MATLAB についてさらに検索

質問済み:

2013 年 9 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by