How to add location of dll files to the system path.

조회 수: 43 (최근 30일)
Nicola Fairbairn
Nicola Fairbairn 2018년 6월 14일
편집: Nicola Fairbairn 2018년 6월 27일
I have a folder full of dll files and I want to add the location of the dll files to the system path. How do I do this?
  댓글 수: 2
Jan
Jan 2018년 6월 14일
What is "the system path" and where should the "location" be available? Please explain exactly, which problem you want to solve. What is the connection to Matlab?
Nicola Fairbairn
Nicola Fairbairn 2018년 6월 15일
I'm not entirely sure, I'm following instructions to try and get MATLAB to talk to Micromanager to operate a microscope and the instructions say " Add the location of the dll files to the system path. This is not required for all device drivers but is required to access the Andor driver on a Windows 7 system. "
The sites are in this link: https://micro-manager.org/wiki/Matlab_Configuration

댓글을 달려면 로그인하십시오.

채택된 답변

Guillaume
Guillaume 2018년 6월 15일
Add the location of the dll files to the system path
The procedure is described under step 2 of the procedure for version <= 1.3:
2. Add the path with the drivers (all the .dll files) to the windows PATH enviromental variable (Start->Settings->Control Panel->System->Advanced->Environment Variables, make a new 'User variable for Administrator named 'PATH' and set it to the location of Micro-Manager (for instance: C:/Program Files/Micro-Manager-1.3).
However, their instructions are a bit iffy and assume you're logged in with the Administrator account (you shounldn't log in with that account!). Better instructions would be (for Win 7):
  • Start->Settings->Control Panel->System->Advanced->Environment Variables
  • Under System variables (the bottom part of the dialog), locate the Path variable
  • Click edit
  • Go to the end of Variable value and add ;C:/Program Files/Micro-Manager-1.3 (assuming that's where you've installed the software)
  • Click OK on all the dialogs to save the new settings
You may need to log off and back on for the modification to take effect.
Note that this has nothing to do with matlab and honestly if their software was competently written you shouldn't have to do any of that.
  댓글 수: 1
Nicola Fairbairn
Nicola Fairbairn 2018년 6월 27일
편집: Nicola Fairbairn 2018년 6월 27일
Hi, Thanks for clearing that up - issue I'm now having is that it does not seem to like the creating a java object part. It's flagging up errors everyhere

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Vandana Rajan
Vandana Rajan 2018년 6월 14일
If you are referring to MATLAB path, then you can add paths using the function 'addpath'.

Jan
Jan 2018년 6월 16일
There is a community for the MicroManager: https://micro-manager.org/wiki/Micro-Manager%20Community. Ask there for help. But you can ask an internet search engine also for the terms: "add folder to system path". It would not be efficient, if I summarize, what you can find there.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by