주요 콘텐츠

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

모델링

R2026a
하드웨어 연결을 위한 모델 준비

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

블록

모두 확장

DC Motor blockDC MotorRepresent connected DC motor and set motor speed
Digital Output blockDigital OutputRepresent one pin as digital output and set logical value
Servo Motor blockServo MotorRepresent connected servo motor and set angular position value
Competition Switch blockCompetition SwitchRead switch positions of VEXnet Competition Switch and provide logical values for Autonomous and Driver modes
Gamepad Accelerometer blockGamepad AccelerometerRead analog value from VEX gamepad accelerometer
Gamepad Button blockGamepad ButtonRepresent one button on VEX gamepad and read logical value
Gamepad Joystick blockGamepad JoystickRepresent one control axis on x-yanalog VEX gamepad joystick and read values
LCD Button blockLCD ButtonRead logical state of selected push button on LCD Display Module
LCD Screen blockLCD ScreenDisplay text and numerical value on specified line of LCD screen
Analog Input blockAnalog InputRead the value of a sensor attached to an analog input pin
Digital Input blockDigital InputRead the digital value of an input pin
Gyroscope blockGyroscopeMeasure yaw rotation in degrees
Integrated Encoder Module blockIntegrated Encoder ModuleMeasure the rotation of a motor in ticks
Optical Shaft Encoder blockOptical Shaft EncoderMeasure the rotation of a motor in ticks
Ultrasonic Sensor blockUltrasonic SensorMeasure the distance to an object: 0.02 to 2.0 meters (m)
Arcade Module blockArcade ModuleGet the right and left wheel speed values of a robot in an Arcade configuration
Field Simulator blockField SimulatorView the simulation speed values of a two-wheel robot
Gamepad Simulator blockGamepad SimulatorGet the simulation value of a VEX gamepad using Logitech F310 or XBOX Controller
Gear Transmission blockGear TransmissionSet a scalar value (1 to 4) based on input values
Latch blockLatchLatch the logical value based on the change in the input signal
Real Time blockReal TimeSlow down simulation time close to real time

도움말 항목