i would like know matlab command for import base work space data to .sldd
    6 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Praveen Elapolu
 el 17 de En. de 2022
  
    
    
    
    
    Respondida: Titus Edelhofer
    
 el 17 de En. de 2022
            Hi,
I created mydictionary.sldd with commnad Simulink.data.dictionary.create. 
I would like know the programmatically  how to export base workspace data (example: signals, params etc) to mydictionary.sldd . 
once Data is exported to mydictionary.sldd, how to change property of variable  from Simulink.Signal to Raptor.Signal and also how to change Storage class of a variable programmatically(by using commands).
0 comentarios
Respuesta aceptada
  Titus Edelhofer
    
 el 17 de En. de 2022
        Hi Praveen,
take a look here: https://www.mathworks.com/help/simulink/ug/store-data-in-dictionary-programmatically.html. It describes how to add entries to the dictionary. If you scroll down a bit you'll see a script that also looks out for signals and parameters of the model in base workspace and then loops on them to import.
Titus
0 comentarios
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.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!