필터 지우기
필터 지우기

Smart way to handle out of folder pathing?

조회 수: 1 (최근 30일)
Brian
Brian 2015년 3월 24일
댓글: Radha Krishna Maddukuri 2015년 3월 27일
Hello, thanks for reading this,
I have a question about executable compiling, specifically when it deals with programs that reference functions, etc in other folders.
In the source code, I have no problems with pathing. My problem comes when I compile the code into a standalone exe, and suddenly references to function folders causes the exe to exhibit multiple errors.
What is a smart way to deal with pathing? When I run the standalone exe's on other computers, I can use the command line to output errors, and 99/100 problems that pop up have to do with pathing errors. What I've done in the meantime was remove all instances of pathing in my code, and brought every function, picture, etc into one folder. That made the exe work perfectly, but its a bit of a organizational nightmare.
Thanks for the advice!

채택된 답변

Radha Krishna Maddukuri
Radha Krishna Maddukuri 2015년 3월 25일
Hi Brian,
I understand that you are facing issues with managing the file paths in deployed applications.
I suggest you to go through the following blog post by Loren Shure on behalf of Peter Web:
This blog post discusses in detail about path management. I hope this helps.
  댓글 수: 2
Brian
Brian 2015년 3월 25일
Thanks! Will check this out.
Radha Krishna Maddukuri
Radha Krishna Maddukuri 2015년 3월 27일
If you find the answer helpful, you can accept the answer, so that others who search for similar queries, may know that the answer was indeed helpful.

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by