Field assignment to a non-structure array object

1 view (last 30 days)
Hello,
I have a block(Subsystem) in the simulink with a mask, if I double click this block, then an GUI with an edit box and button would appearing. The button is to choose the data in my computer and the edit box to show a List ( as a result from my code ). Then, if an element from this list chosen, a number should be shown in an other block(Block2)
set_param(XXX, 'bitpatterns', YYY).
It worked, however, just for the first attempt, and for the next attempt it says
"Error evaluating 'MaskCallback' callback of Subsystem block(mask) 'main/Subsystem'. (btw. 'main' is the name of the file, main.slx)
Field assignment to a non-structure array object.
anyone have an idea?

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!