is it possible to specify a project library only

Hi,
I have been trying to specify a specific folder to contain project files. The code in the files is altered to be specific to the project, but is similar to code Ive used elsewhere.
I would therefore like to specify where matlab looks for the project library - not permanently set a library folder. So just a folder that the code currently running will look in first.
Any ideas if this is possible? Google search and search in this forum have not shown up much.
thanks

 채택된 답변

Martijn
Martijn 2011년 1월 31일

0 개 추천

You should be able to use private functions for this. More information about private functions can be found in the MATLAB documentation:
http://www.mathworks.com/help/releases/R2010b/techdoc/matlab_prog/f4-70335.html

추가 답변 (1개)

Rhys
Rhys 2011년 1월 31일

0 개 추천

Almost exactly what I was looking for, will take a bit of rearranging of my files, Id have preferred the private file above and not below the calling file, but a very workable solution. Thanks

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

질문:

2011년 1월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by