That sounds like you would have a (default) Simulink signal type of double and feed it into a block inport that expects a Fixed Point data type. I suggest looking up the documentation of that block.
how to sample sine wave into RAM ?
1 次查看(过去 30 天)
显示 更早的评论
Hi,
Iwant to sample a sine wave into Single Port RAM or Dual Port RAM but I got a error message:
" Data type mismatch. Input port 1 of 'Timing_control/Single Port RAM/Signal Specification' expects a signal of data type 'ufix2'. However, it is driven by a signal of data type 'double'. Component: Simulink | Category: Block error "
Can anyone know how todo it correctly,
Thanks, henrey
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!