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

Answers (0)

Categories

Products

Asked:

on 10 Dec 2014

Community Treasure Hunt

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

Start Hunting!