excel Input with condition
2 views (last 30 days)
Show older comments
Hamid on 11 Nov 2015
Commented: Hamid on 13 Nov 2015
I'm gonna write an app that needs many inputs. after inserting inputs, some values will be select from some tables with many raws and columns.
if material==copper then Ko=1,K1=2,K3=4 ...
else if material==aluminum then Ko=20,K1=11,K3=-9 ...
else if ...
and so on
what should I do for the best?
Image Analyst on 12 Nov 2015
if strcmpi(material, 'copper')
elseif strcmpi(material, 'aluminum')
That's about all we can say with what you gave us. We'd need specifics to provide any more code. There's a lot you can do with MATLAB but unless we know what it is, we can't offer advice other than to look at this link: http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab
More Answers (0)
Find more on Data Import from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!