Retrieving Data from User using data tables in Matlab?
显示 更早的评论
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 个评论
dpb
2020-11-22
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
2020-11-22
Karina Coman
2020-11-22
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Elements 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
