command for Importing a file in systemdesk
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
How to import a file in Dspace using m script?
댓글 수: 0
답변 (1개)
  Giancarlo Osella
 2024년 7월 16일
        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
참고 항목
카테고리
				Help Center 및 File Exchange에서 Big Data Processing에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

