Hi all,(adsbygoogle = window.adsbygoogle || []).push({});

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

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab: User defines variable name

Loading...

Similar Threads - Matlab User defines | Date |
---|---|

[Matlab] Function Handle-user input | Jul 31, 2014 |

Calculating similarity between users using matlab | Nov 19, 2012 |

Matlab help! User defined function! | Nov 7, 2012 |

MATLAB User Input Prompt in Functions | Jun 20, 2012 |

MATLAB HELP how to ask user for 2 input variables | Jun 14, 2012 |

**Physics Forums - The Fusion of Science and Community**