Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Problem with regex in GUIDE
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Luis Miguel López Santamaría
el 14 de Mayo de 2017
Cerrada: MATLAB Answer Bot
el 20 de Ag. de 2021
Hello everybody,
I'm trying to write a regular expression my code is the next one:
expression = 'pi|[0-9]\s[0-9]|pi';
aux = get(handles.intervalo, 'String');
index = regexp(aux, expression);
empty = [];
c = isequal(index, empty);
if c == 1
errordlg('Tiene que ser de la forma [a b]', 'Error');
end
The problem is when a I write a expression like [pi e] don't give any error can anyone help?
Thank you.
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!