Changing a Drop Down component items via a string.
Hi all,
I am making a GUI for my XML files. The problem is related to a Drop Down component. As shown in the picture:
In the last column (option) and second row, a 1×6 string exist. Here is ther problem. When I manually define a 1×6 string array using the code bellow:
B = ["Red","Yellow","Blue","Green"];
I can change component’s items. But, when I use the bellow opcode:
inStruct.input.group.group(1).param(2).option
An error emerges!
Anyway, my question is how it is possible to change my drop down menu items by the items included in the second row and last column?
TNX.Hi all,
I am making a GUI for my XML files. The problem is related to a Drop Down component. As shown in the picture:
In the last column (option) and second row, a 1×6 string exist. Here is ther problem. When I manually define a 1×6 string array using the code bellow:
B = ["Red","Yellow","Blue","Green"];
I can change component’s items. But, when I use the bellow opcode:
inStruct.input.group.group(1).param(2).option
An error emerges!
Anyway, my question is how it is possible to change my drop down menu items by the items included in the second row and last column?
TNX. Hi all,
I am making a GUI for my XML files. The problem is related to a Drop Down component. As shown in the picture:
In the last column (option) and second row, a 1×6 string exist. Here is ther problem. When I manually define a 1×6 string array using the code bellow:
B = ["Red","Yellow","Blue","Green"];
I can change component’s items. But, when I use the bellow opcode:
inStruct.input.group.group(1).param(2).option
An error emerges!
Anyway, my question is how it is possible to change my drop down menu items by the items included in the second row and last column?
TNX. xml, gui MATLAB Answers — New Questions