my code is like this
prompt = {'CompoundName','Temperature'};dlg_title = 'Input';num_lines = 1;CompoundName = inputdlg(prompt,dlg_title, num_lines);C1=126.1C2=183C3=77C4=0V=C1*T^C2/1+C3/T+C4/T^2;if strcmp(CompoundName, 'Acetaldehyde')fprintf=('viscosity: %d',V);end
Best Answer