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...
9年弱 前 | 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 ...
9年弱 前 | 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...
9年弱 前 | 3 件の回答 | 0