I have the following errors when i run my simulation

4 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by