Hi Shivam,
Is there any "PreSaveFcn" callback which might be triggering the error?
To check the PreSaveFcn, right click on the editor, click on "Model Properties" and then switch to "Callbacks" tab.
Hope this helps.
Sanman
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!