While loop, how to loop with specific column in excel
Mostrar comentarios más antiguos
I've an excel spreadsheet, where i have a weight for 30 or so conductors in a specific column. I imported that column in matlab and now i'm trying to create it into a loop. I'm not sure how to go about it. i was wondering if i can get some guidance
example
the user pick a cable from the menu option that's given to him , matlab should go back in the excel sheet and pick the weight of the cable from the particular column cell
this is what i have so far
[numeric,txt,raw]=xlsread('typeofcables.xlsx') %importing the cable choice=menu('choose a conductor size','txt') % asking user to pick the cable
% now i want to loop it, because each cable has different weight
a=xlsread('typeofcables.xlsx','H:H')
f=a
while choice==0 weight_of_the_cable=a
end
Respuestas (0)
Categorías
Más información sobre Data Import from MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!