주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

모델링

R2025b
하드웨어 연결을 위한 모델 준비, 하드웨어 프로토콜 지원을 위한 블록 추가

하드웨어 연결을 위한 Simulink® 모델을 준비하고, 하드웨어 프로토콜 지원을 위한 블록을 추가하고, 다양한 응용 사례를 다루는 예제를 참조합니다.

블록

Analog Input blockAnalog InputMeasure the voltage of analog input pin
Analog Output blockAnalog OutputSend analog output signal to DAC0_OUT pin
Digital ReadRead the logical value of digital input pin
Digital Write blockDigital WriteSet the logical value of a digital output pin
FXOS8700 6-Axes Sensor blockFXOS8700 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 Read blockI2C Controller ReadRead data from I2C peripheral device or I2C peripheral device register
I2C Controller Write blockI2C Controller WriteWrite data to I2C peripheral device or I2C peripheral device register
Push Button blockPush ButtonRead logical state of Push button
PWM Output blockPWM OutputGenerate pulse waveform on specified output pin
Quadrature Encoder blockQuadrature EncoderMeasure rotation of encoder in ticks
Serial Receive blockSerial ReceiveRead data from UART port
Serial Transmit blockSerial TransmitSend serial data to UART port
TCP Receive blockTCP ReceiveReceive data over TCP/IP network from remote host
TCP Send blockTCP SendSend data over TCP/IP network to remote host
UDP Receive blockUDP ReceiveReceive UDP message from UDP host
UDP Send blockUDP SendSend UDP message to UDP host

도움말 항목