Feeds
已回答
Memory issues in generated for loops
The problem seems to be the single(). This works better: function y = fcn(u) y = u; for i = 0:single(0.15):1000000...
Memory issues in generated for loops
The problem seems to be the single(). This works better: function y = fcn(u) y = u; for i = 0:single(0.15):1000000...
10 years 前 | 1
| 已接受
提问
Memory issues in generated for loops
The simple Matlab code: function y = fcn(u) y = u; for i = single(0:0.15:1000-1) y = y + (i+1)^u; end ...
10 years 前 | 1 个回答 | 0
1
个回答提问
simple method of forcing single precision floating point operations
There are some frustrating things that occur when trying to generate single precision math using embedded coder. I only have sin...
10 years 前 | 3 个回答 | 0