How to remove the warning?

조회 수: 22 (최근 30일)
Huadong Hu
Huadong Hu 2019년 4월 14일
답변: Image Analyst 2019년 4월 14일
>> LFToolboxPath = fileparts(mfilename('fullpath'));
fprintf('Adding paths for LF Toolbox ');
addpath( LFToolboxPath );
addpath( fullfile(LFToolboxPath, 'SupportFunctions') );
addpath( fullfile(LFToolboxPath, 'SupportFunctions', 'CameraCal') );
fprintf('%s, done.\n', LFToolboxVersion)
Adding paths for LF Toolbox Warning: Name is nonexistent or not a directory: SupportFunctions.
> In path at 115
In addpath at 95
Warning: Name is nonexistent or not a directory: SupportFunctions\CameraCal.
> In path at 115
In addpath at 95
v0.4 released 12-Feb-2015, done.

채택된 답변

Walter Roberson
Walter Roberson 2019년 4월 14일
편집: Walter Roberson 2019년 4월 14일
Do not execute that code by copying and pasting it into the command window. It needs to be executed from inside a .m file that is in the same directory that the code for the toolbox is in.
  댓글 수: 1
Huadong Hu
Huadong Hu 2019년 4월 14일
the problem is solved,thank you for helping me a lot!

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

추가 답변 (1개)

Image Analyst
Image Analyst 2019년 4월 14일
See attached utility for turning off benign warning messages.

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by