Sync from remote server: 2025-10-12 18:56:41

This commit is contained in:
2025-10-12 18:56:59 +02:00
commit 7e8ee264aa
553 changed files with 161447 additions and 0 deletions

15
Tilt/IDunit.m Executable file
View File

@@ -0,0 +1,15 @@
function unitID = IDunit(IDcentralina,conn,FileName)
text = 'IDunit function started';
fileID = fopen(FileName,'a');
fmt = '%s \r';
fprintf(fileID,fmt,text);
comando = ['select id from units where name like ''' IDcentralina ''' '];
unitID = fetch(conn,comando);
text = 'Unit ID downloaded correctly, IDunit function closed';
fprintf(fileID,fmt,text);
fclose(fileID);
end