The optimal attitud control problem of speecraf during the sbetehing Process ofsolar wings is discussed in mis paper Amathematical model of the systom isestabished by use of the mulhbody dynamics and oPtical control theory. An algorithmof contro for the stretching process is proposed, considering the nonhlonomic behavior of the system. The effectiveness of the apprach is shown by numerical simulation.