important
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
disp('1 for comp1');disp('2 for comp2');disp('3 for comp3');disp('4 for comp4');disp('5 for comp5');disp('6 for comp6');disp('7 for comp7');
% in the above components I want to select components
nc = input('Input the components')
% for example nc = 3 , now after giving this each component has a value of a variable Tc, Pc, w associated with it , how can I assign particular variable values after selecting my components
2 comentarios
Walter Roberson
el 4 de Mayo de 2012
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
Walter Roberson
el 4 de Mayo de 2012
Please use titles that give an indication of the content of the question being asked. I looked back over the Questions that you have asked, and you have often used titles that do not give any indication of the subject area. People tend to skip over Questions that have meaningless titles.
Respuestas (1)
Walter Roberson
el 4 de Mayo de 2012
Use "switch", or use a table of initial values that you index into.
2 comentarios
Ver también
Categorías
Más información sobre MATLAB Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!