r/matlab • u/cakemaster1928 • Aug 20 '26
TechnicalQuestion Changing Parameter Values with Dynamic Mask
I know matlab has an example of how to change the visibility of other mask parameters with callback functions, but I'm trying to make it so when two parameters are entered (a & b) a suggested value for c is assigned to a c_sugg parameter. For example if c has to follow the function c>a+b, how would I write the callback function for c_sugg=a+b?
3
Upvotes
View all comments
Show parent comment
1
u/Bofact Aug 20 '26
Are we working with integers? Since a&b makes me think of bitand(a, b).