I have the following errors when i run my simulation

Expected either a logical, char, single, or double. Found an mxArray. mxArrays are returned from calls to the MATLAB interpreter and are not supported inside expressions. They may be used on the right-hand side of assignments and as arguments to MATLAB calls.
Function 'Embedded MATLAB Function' (#83.925.939), line 21, column 31: "cumsum(function)"
Actually i have written code in m file and incorporated it to embedded matlab function and run the model and i got these errors. If any one are familiar with this error can you please let me know

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

질문:

2014년 12월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by