Two variables need to be connected to one struct variable.
2 views (last 30 days)
Show older comments
dotty daniels
on 29 Sep 2020
Commented: dotty daniels
on 30 Sep 2020
two variable need to be connected to one structure. ie... Results.Name= lastname{target}, firstname{target}
THey come from two different sheets. I just cannot seem to write it in correctly for the code to run.
0 Comments
Accepted Answer
James Tursa
on 29 Sep 2020
What about something like this:
Results.First_Name = first_name{target};
Results.Last_Name = last_name{target}:
4 Comments
More Answers (0)
See Also
Categories
Find more on Structures 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!