| Simulink® Control Design™ | ![]() |
op_point2=copy(op_point1)
op_spec2=copy(op_spec1)
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.
Note The command op_point2=op_point1 does not create a copy of op_point1 but instead creates a pointer to op_point1. In this case, any changes made to op_point2 are also made to op_point1. |
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
![]() | addoutputspec | findop | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |