When a tag is defined for an app designer slider, the value-changing-function for that slider is not triggered.
I’m using Version R2024a. When I create a slider component in App Designer and define a ValueChangingFcn for it, it works fine … as long as "Tag" (in the "Identifiers" section of the slider) has not been defined. That is, the ValueChangingFcn callback is called as I drag the slider. However, if I define Tag (e.g. ‘abc’ without the quotes), then the ValueChangingFcn is no longer called when I drag the slider.
I should mention that this appears to occur only with the slider. With a Numeric Edit Field, the presence of a tag has no adverse effect on the call to its callback.
Does anyone know a workaround?I’m using Version R2024a. When I create a slider component in App Designer and define a ValueChangingFcn for it, it works fine … as long as "Tag" (in the "Identifiers" section of the slider) has not been defined. That is, the ValueChangingFcn callback is called as I drag the slider. However, if I define Tag (e.g. ‘abc’ without the quotes), then the ValueChangingFcn is no longer called when I drag the slider.
I should mention that this appears to occur only with the slider. With a Numeric Edit Field, the presence of a tag has no adverse effect on the call to its callback.
Does anyone know a workaround? I’m using Version R2024a. When I create a slider component in App Designer and define a ValueChangingFcn for it, it works fine … as long as "Tag" (in the "Identifiers" section of the slider) has not been defined. That is, the ValueChangingFcn callback is called as I drag the slider. However, if I define Tag (e.g. ‘abc’ without the quotes), then the ValueChangingFcn is no longer called when I drag the slider.
I should mention that this appears to occur only with the slider. With a Numeric Edit Field, the presence of a tag has no adverse effect on the call to its callback.
Does anyone know a workaround? app designer, tag identifier, slider MATLAB Answers — New Questions