copy - Copy operating point or operating point specification

Syntax

op_point2=copy(op_point1)
op_spec2=copy(op_spec1)

Description

op_point2=copy(op_point1) returns a copy of the operating point object op_point1. You can create op_point1 with the function operpoint.

op_spec2=copy(op_spec1) returns a copy of the operating point specification object op_spec1. You can create op_spec1 with the function operspec.

Examples

Create an operating point object for the model, magball.

opp=operpoint('magball')

The operating point is displayed.

 Operating Point for the Model magball.
(Time-Varying Components Evaluated at time t=0)

States: 
----------
(1.) magball/Controller/Controller
      x: 0            
      x: 0            
(2.) magball/Magnetic Ball Plant/Current
      x: 7            
(3.) magball/Magnetic Ball Plant/dhdt
      x: 0            
(4.) magball/Magnetic Ball Plant/height
      x: 0.05         
 
Inputs: None

Create a copy of this object, opp.

new_opp=copy(opp)    

An exact copy of the object is displayed.

 Operating Point for the Model magball.
(Time-Varying Components Evaluated at time t=0)

States: 
----------
(1.) magball/Controller/Controller
      x: 0            
      x: 0            
(2.) magball/Magnetic Ball Plant/Current
      x: 7            
(3.) magball/Magnetic Ball Plant/dhdt
      x: 0            
(4.) magball/Magnetic Ball Plant/height
      x: 0.05         
 
Inputs: None

See Also

operpoint, operspec

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS