I have the following errors when i run my simulation
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!