メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

モデル化

ハードウェア接続用のモデルの準備、およびハードウェア プロトコルをサポートするためのブロックの追加

ハードウェア接続用の Simulink® モデルを準備し、ハードウェア プロトコルをサポートするためのブロックを追加し、各種アプリケーションを取り上げた例を参照します。

ブロック

Analog InputMeasure the voltage of analog input pin
Analog OutputSend analog output signal to DAC0_OUT pin
Digital ReadRead the logical value of digital input pin
Digital WriteSet the logical value of a digital output pin
FXOS8700 6-Axes SensorGet measurement of linear acceleration and magnetic field along the X, Y, and Z axes of the FXOS8700 6-Axes chip
I2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller WriteI2C 周辺デバイスまたは I2C 周辺デバイス レジスタにデータを書き込む
Push ButtonRead logical state of Push button
PWM OutputGenerate pulse waveform on specified output pin
Quadrature EncoderMeasure rotation of encoder in ticks
Serial ReceiveRead data from UART port
Serial TransmitSend serial data to UART port
TCP ReceiveReceive data over TCP/IP network from remote host
TCP SendSend data over TCP/IP network to remote host
UDP ReceiveReceive UDP message from UDP host
UDP SendSend UDP message to UDP host

トピック