Error when generating code using MATLAB Coder for function containing "fread"
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!