Hi,
I have created a variable within a loop:
HName=strcat(FirstLetter, SecondLetter)
HName=AA
I have a value:
DominanceHierarchy(i,ii)
DominanceHierarchy=99
I want to assign this value to the variable that I created such that
AA=99;
I can't simply do
strcat(FirstLetter, SecondLetter)=DominanceHierarchy as the variable "AA" is then not associated with the value of 99.
Any suggestions?
I have created a variable within a loop:
HName=strcat(FirstLetter, SecondLetter)
HName=AA
I have a value:
DominanceHierarchy(i,ii)
DominanceHierarchy=99
I want to assign this value to the variable that I created such that
AA=99;
I can't simply do
strcat(FirstLetter, SecondLetter)=DominanceHierarchy as the variable "AA" is then not associated with the value of 99.
Any suggestions?