The right way to create a user function inside a GUIDE

Illustration
Amoli - 2020-07-31T11:16:05+00:00
Question: The right way to create a user function inside a GUIDE

The gui have an axes and a table, the ideal is when the user changed some shared data, then both the axes and table are need to be updated. How can I add a self-defined function inside this gui to update both axes and table? I tried something like this, but the M file IDE tells that "nesting too deep"   function updatedAxes() if dataChanged %update axes %update table else %something else end end

Expert Answer

Profile picture of Kshitij Singh Kshitij Singh answered . 2025-11-20

Find Solution: delete the 'end' which paired with your 'function'


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!