How does this code support in carparking slot identification?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Saktheeswaran Mohan
el 17 de Jul. de 2021
Comentada: Saktheeswaran Mohan
el 17 de Jul. de 2021
set(handles.text2,'string',10-handles.Num_object);
0 comentarios
Respuesta aceptada
Walter Roberson
el 17 de Jul. de 2021
It doesn't. It is code that assumes that there are 10 spots, and assumes that the code above calculated the number of used slots, and so it is reporting the number of available slots to the user as 10 minus the number of used slots. However the line itself has no role in figuring out which slots are used.
Más respuestas (1)
John D'Errico
el 17 de Jul. de 2021
Out of context, this code is meaningless. It has absolutely nothing to do with the question you have asked about. And that was essentially the same answer the last time you asked virtually the same out of context question.
0 comentarios
Ver también
Categorías
Más información sobre Digital Filter Analysis 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!