Create a unique numeric code
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a notepad with the following format:
- Column 1 - Code;
- Column 2 - Username;
- Column 3 - Password;
- Column 4 - Name;

The objetive of my program is to add new users to the notepad.
So, how can I create a unique numeric code for the new user between 1 and 99 and add the new user to the list? The code must match the lowest available number in the list.
Thanks
1 comentario
Respuestas (1)
Walter Roberson
el 29 de Nov. de 2017
hint: textscan or fscanf with format
'%f%s%s%[^\n]'
0 comentarios
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices 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!