Error when generating code using MATLAB Coder for function containing "fread"
显示 更早的评论
When I try to generate code using MATLAB Coder for a function "testCode.m" (attached), I receive an error that says -'function call failed'. This error message occurs for all lines containing the "fread" function. Why do I get this error message?
NOTE - I have unchecked the 'Enable Variable Sizing' option because I want my code to run faster. When the option was checked, I received no errors.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!