How to Load Multiple dll files that have one header
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
I have 3 dll files that I want to load and there is a header file that corresponds to all 3. Do I just use the loadlibrary('libName1','libName2', 'libName3', 'headerfile.h')? It's not working so I'm assuming not this.
댓글 수: 0
채택된 답변
  Philip Borghesani
    
      
 2015년 6월 26일
        You need to call loadlibrary three times. It will be faster if you create a prototype file the first time or even do it once and keep track of the file for all future sessions:
loadlibrary('libname1','header','mfilename','LibPrototype') % do once
loadlibrary('libname#', @LibPrototype) % All future loads look like this
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

