Skip to content

GUI : Error while evaluating UIControl Callback

Error:

Check for incorrect argument data type or missing argument in call to function
'delete'.

Error in RGrid/delete_g1s (line 20)
    delete(object.Cells(deleted).result);

Error in Grid/pb_delete_call (line 54)
object.rGrid.delete_g1s(deleted_cell);

Error in Grid/set_delete_pb>@(src,event)pb_delete_call(object,src,event) (line 17)
        'callback',@(src,event)pb_delete_call(object,src,event));
 
Error while evaluating UIControl Callback.

Possible Problem: The event handler is not being deleted properly when the associated object is deleted as a result of clicking delete on the GUI table editor

Affected Modules: Interface (Matlab + Simulink) -> UI -> Table Logic (at the moment it looks like only this is affected at the Application Logic Level) -> Table Data structure

Current Workaround: None, you try and delete everything breaks

Edited by Pesara Amarasekera