How to remove the warning?

6 visualizaciones (últimos 30 días)
Huadong Hu
Huadong Hu el 14 de Abr. de 2019
Respondida: Image Analyst el 14 de Abr. de 2019
>> 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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 14 de Abr. de 2019
Editada: Walter Roberson el 14 de Abr. de 2019
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 comentario
Huadong Hu
Huadong Hu el 14 de Abr. de 2019
the problem is solved,thank you for helping me a lot!

Iniciar sesión para comentar.

Más respuestas (1)

Image Analyst
Image Analyst el 14 de Abr. de 2019
See attached utility for turning off benign warning messages.

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by