Simultaneous reading of mat file allowed?
    9 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    CAM
      
 el 3 de Dic. de 2019
  
I know it is bad to allow multiple users to write to a mat-file simultaneously (or one read while another is writing).
But can two users simultaneously read (only) from a mat-file?  Or do we need to lock out other users while another performs any R/W operation?
0 comentarios
Respuesta aceptada
  Vahila Kayithi
    
 el 27 de Dic. de 2019
        Having multiple instances of the same file is not recommended. A possible workaround for this issue would be to create a "lock" file for each instance of MATLAB. You can find an example on how to use the lock mechanism in the below link.
Más respuestas (0)
Ver también
Categorías
				Más información sobre Workspace Variables and MAT Files 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!

