An optoelectronic switch, which consists of two GaAs cuboids and a resistance, operates in a high output resistance mode, is directly connected to a pair of Pockls cell electrodes. kV electric pulses with continuous variable width in the ns region have been obtained. The output efficiency is high as 84%.