command for Importing a file in systemdesk
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yash Nichat
el 14 de Ag. de 2018
Respondida: Giancarlo Osella
el 16 de Jul. de 2024 a las 12:02
How to import a file in Dspace using m script?
0 comentarios
Respuestas (1)
Giancarlo Osella
el 16 de Jul. de 2024 a las 12:02
After project creation use the following command to import files
FileList{1,1} = arch_file;
FileList{2,1} = 'Comm_Interface.arxml';
ImportSettings = Project.Serializer.GetNewImportSettings();
feature('COM_SafeArraySingleDim', 1);
ImportSettings.SetFilePaths(FileList);
ImportSettings.SetElementSelection({'[/]'});
feature('COM_SafeArraySingleDim', 0);
ImportSettings.ImportDiagrams = 0;
ImportSettings.SelectAllElements = 1;
ImportSettings.ShowImportDialog = 0;
ImportSettings.CheckSettings();
success = Project.Serializer.Import(ImportSettings);
0 comentarios
Ver también
Categorías
Más información sobre Biological and Health Sciences 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!