How can I get the points of the Scope block while the simulation is running?
    11 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Enrique Pinto
 el 18 de Jun. de 2015
  
    
    
    
    
    Comentada: Enrique Pinto
 el 23 de Jun. de 2015
            I have a simulink model running in External mode (using the Real-Time Windows Target). And I would like to obtain the points the Scope block shows (for example in a variable) at the same time; I mean: no waiting until the simulation ends and create the ScopeData variable in the Workspace.
0 comentarios
Respuesta aceptada
  Andrew Schenk
    
 el 19 de Jun. de 2015
        You can execute the following MATLAB Command to update the scope data variables in the Workspace while Simulink is running. Note the data will not "stream" into the Workspace variable, but it will be updated every time the command is run.
set_param(bdroot,'SimulationCommand','WriteDataLogs');
Más respuestas (0)
Ver también
Categorías
				Más información sobre Target Computer Setup en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

