Error in esig call

2 ビュー (過去 30 日間)
Sean
Sean 2011 年 4 月 5 日
I am trying to esablish an eSignal Desktop API connection using the esig function. I am calling it exactly as specified in the user guide:
E = esig('mylogin')
I'm getting the following error returned:
??? Undefined variable "IESignal" or class "IESignal.HooksClass".
Error in ==> esig.esig>esig.esig at 33 e.eSignal = IESignal.HooksClass;
What does this mean?

回答 (2 件)

Sean de Wolski
Sean de Wolski 2011 年 4 月 5 日
'mylogin' is a 1x7 string; not anything else. I don't have the esig function but I assume it expects something of class 'IESignal.HooksClass' not a string. Perhaps:
esig(mylogin);
?
  1 件のコメント
Sean
Sean 2011 年 4 月 5 日
No, it is expecting a string.
Here is the method definition for esig.
function e = esig(user)
%ESIG eSignal Desktop API connection.
% E = ESIG(USER) creates a eSignal Desktop API connection given the
% username USER.
%
% See also CLOSE, GETDATA, HISTORY, TIMESERIES.
%Enable feature
esig.dffeature;
%Create .NET object and set application user id
e.eSignal = IESignal.HooksClass;
e.eSignal.SetApplication(user);
%Verify that user id is valid, data manager may need to catch up at
%first connection
if ~e.eSignal.IsEntitled
pause(10)
if ~e.eSignal.IsEntitled
error('datafeed:esig:notEntitled',char(e.eSignal.GetIsEntitledError))
end
end
end %end esig constructor

サインインしてコメントする。


pangyuteng
pangyuteng 2011 年 8 月 18 日
Hi Sean, You will need to contact eSignal to add the "desktop API service", note that this service will require additional service charge per month.

カテゴリ

Help Center および File Exchange3-D Volumetric Image Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by