Error occurred while executing callback for any function ( 'info' for example)

조회 수: 2 (최근 30일)
Sabin Donos
Sabin Donos 2014년 1월 16일
댓글: Sabin Donos 2014년 1월 17일
Hi, I Need a listener for csv file changes in a specified directory so i use the following code:
fileObj = System.IO.FileSystemWatcher(fx_path); fileObj.Filter = '*.csv'; fileObj.EnableRaisingEvents = true; addlistener(fileObj,'Changed',@candle_pattern_live);
candle_pattern_live is a function with no inputs or outputs but i still get the following error message: Warning: Error occurred while executing callback: Error using candle_pattern_live Too many input arguments.
The same error occurs if i change candle_pattern_live with a trivial function with no inputs like "info" or "ver". Any thoughts on this issue?
Thanks, Cristi

답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by