How lmivar and lmiterm Manage LMI Representation

Users familiar with MATLAB® may wonder how lmivar and lmiterm physically update the internal representation LMISYS since LMISYS is not an argument to these functions. In fact, all updating is performed through global variables for maximum speed. These global variables are initialized by setlmis, cleared by getlmis, and are not visible in the workspace. Even though this artifact is transparent from the user's viewpoint, be sure to

  • Invoke getlmis only once and after completely specifying the LMI system

  • Refrain from using the command clear global before the LMI system description is ended with getlmis

Was this topic helpful?