Keeps skipping my input query
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jeremy Taylor Miller
el 30 de Oct. de 2020
Comentada: Jeremy Taylor Miller
el 3 de Nov. de 2020
MATLAB keeps skipping my query for an input only for the 3rd and 4th input I'm asking for... Not sure why. Any help? It skips directly after BM_str input down to the answer = inputdlg.
BW_str = input('Select water blank wells.\n', 's');
BW = str2num(BW_str);
BWa = mean(BW);
BM_str = input('Select media blank wells.\n', 's');
BM = str2num(BM_str);
BMa = mean(BM);
%Subtract blank from standards
SW_str = input('Input water standard to subtract blank.\n', 's');
SW = str2num(SW_str);
SW2 = SW-BWa;
SM_str = input('Input media standard to subtract blank.\n', 's');
SM = str2num(SM_str);
SM2 = SM-BMa;
SM2 = SM2';
%Select X values
prompt = {'Enter X values','Enter units'};
dlgtitle = 'X-axis values';
dims = [1 35];
definput = {'[40 20 10 5 2.5 1.25 0.625]','[RNA] (ng)'};
answer = inputdlg(prompt,dlgtitle,dims,definput);
5 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Logical 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!