Error : Undefined function or method 'Stateflow​.Translate​.translate​' for input arguments of type 'double'.

조회 수: 5 (최근 30일)
I m simulating mdl file which contains two embedded matlab function file, it shows the following error
Error occurred while attempting to call the error callback function 'Stateflow.Translate.translate' of subsystem 'Solar_MPPT_Rloadstudy/PV panel/PV module'. The callback function should take a block handle and error ID as input arguments, and return a string that replaces the error produced within the subsystem. The following error was produced when the error callback function was called: Undefined function or method 'Stateflow.Translate.translate' for input arguments of type 'double'.
Here PV module is embedded fcn(1)
the other embedded matlab fcn(2) in the model started simulating as it shows intermediate output values in the command window
Control flow is embedded fcn(2) gives control input to a simulink subsystem, according to that, this subsystem get input from the embedded fcn(1)
  댓글 수: 3
V Vaishnavi Kumar
V Vaishnavi Kumar 2012년 11월 26일
편집: V Vaishnavi Kumar 2012년 11월 26일
ya k will try, but the same error occurred before. when the sample time in discrete power gui is reduced and solver type changed to *variable type, robust * it cleared, now i modified some other block for proper output and it again showing error.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by