I have the following errors when i run my simulation
1 次查看(过去 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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Customization 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!