- #1
craigpmorgan
- 8
- 0
Hi all,
I'm trying to create a program that takes a user input and uses this input as the name of a cell array. I'm looking for something like the following:
id = input('Please Enter Plant I.D: ')
>> 112
% The system then calls the cell array named 112
% The user is then asked to input the relevant data, which is stored in a new row of the cell array 112 (I think I can program this, it is taking the initial input as the name of the cell array which I'm struggling with).
Any help will be gratefully appreciated.
Thanks for your time,
Craig
I'm trying to create a program that takes a user input and uses this input as the name of a cell array. I'm looking for something like the following:
id = input('Please Enter Plant I.D: ')
>> 112
% The system then calls the cell array named 112
% The user is then asked to input the relevant data, which is stored in a new row of the cell array 112 (I think I can program this, it is taking the initial input as the name of the cell array which I'm struggling with).
Any help will be gratefully appreciated.
Thanks for your time,
Craig