Keeps skipping my input query
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!