Retrieving Data from User using data tables in Matlab?
Show older comments
I am currently trying to ask a user to select a specific data from a table of values including named variable columns. I have to ask the user to input a desired number, each associated with a gas name. The data I have has 7 gas names in column one, properties of pressure in column two for each gas, properties of temperature for each gas in column 3 ect. I am having trouble asking the user to select a specific gas from my table, I have tried assigning the gas names to the row and column that it appears in my table and then providing a list of numbers to be associated with each gas but it is not working.
A second problem that I have is to do with the associated data of pressure for the specific gas, I have so that P=('input',column number) where the input is the number chosen by the user, associated with the gas from the list of numbers I have provided. i.e; He=1.., He=(1,1);.
Thank you for your help!
3 Comments
dpb
on 22 Nov 2020
Show us what you've done and where, specifically, you have a problem and a sample of the data.
By "table" do you mean a MATLAB table or just a generic description...we need precise definitions of what you're working with.
Karina Coman
on 22 Nov 2020
Karina Coman
on 22 Nov 2020
Accepted Answer
More Answers (0)
Categories
Find more on Elements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!