フィルターのクリア

how to sample sine wave into RAM ?

1 回表示 (過去 30 日間)
Henry Buck
Henry Buck 2016 年 2 月 26 日
回答済み: Andreas Goser 2016 年 2 月 26 日
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

採用された回答

Andreas Goser
Andreas Goser 2016 年 2 月 26 日
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.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by