フィルターのクリア

Real number (format), AD sampling

2 ビュー (過去 30 日間)
Peter Balazovic
Peter Balazovic 2022 年 2 月 25 日
コメント済み: Walter Roberson 2022 年 2 月 27 日
I'd like to extend the AD conversion example (Sigma-Delta A/D Conversion) to get connect with other modules.
I'd like to have real number out of the AD Conversion, and have this number with other SW function.
Please what and how to realize it and extend the example and connected to the SW function?
  3 件のコメント
Peter Balazovic
Peter Balazovic 2022 年 2 月 25 日
編集済み: Peter Balazovic 2022 年 2 月 25 日
I'd like to use the digitized signal as number for m-scritp (SW) processing - how can I access it? Do I need to samle it? How can I connect a m-script to the AD converter?
Walter Roberson
Walter Roberson 2022 年 2 月 27 日
You can send the signal into a MATLAB Function Block, if you want the processing to happen as the model runs.
If you want to post-process the signal after the model runs, then you could Save To Workspace, or you could log the signal. If you log the signal then instead of running your model interactively, have MATLAB code run sim() and save the output from sim(), which will be an object that you can access the logged signal values from.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by