Hi,
I have a data structure (tempExp) that looks like the following:tempExp.size --> This is a stringtempExp.color --> This is a stringtempExp.data --> Usually a 1x2000 doubleRight now I ask the user make "size" and "color" selections in a gui popupmenu which I save as string variables called "size" and "color". What I would like to do is use that information to select the appropriate tempExp.data field and eventually use that to make plots, or further processing, etc.For example, user selects "orange" and "medium". How do I use that information to search the tempExp structure that contains the color "orange" and size "medium" and then access/return the corresponding tempExp.data for those user selected fields?Thank you for your time!
Best Answer