Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

IsEditable - Boolean signaling whether data is editable

Syntax

OK = D.IsEditable

Description

This is a property of mbcmodel.data.

This Boolean property indicates if a particular piece of data is editable. The following rules apply:

Examples

D  = p.Data;
D1 = p.Data;
BeginEdit(D1);
tp = p.Testplan;
Attach(tp, D);

Where p is an mbcmodel.project object, and D and D1 are mbcmodel.data objects.

At this point D1.IsEditable becomes false because D1 is now Attached to the test plan and hence can only be modified from the test plan. If you now enter:

OK = D1.IsEditable

the answer is false.

See Also

BeginEdit, IsBeingEdited, CommitEdit, RollbackEdit

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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