Error : Undefined function or method 'Stateflow.Translate.translate' for input arguments of type 'double'.
Show older comments
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 Comments
Kaustubha Govind
on 26 Nov 2012
Please contact MathWorks Tech Support about this to check if it might be a bug. It seems to be an error with some internal code.
V Vaishnavi Kumar
on 26 Nov 2012
Edited: V Vaishnavi Kumar
on 26 Nov 2012
Saurabh
on 4 Jul 2014
Any soution for the above mentioned problem????
Answers (0)
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!