Borrar filtros
Borrar filtros

why do i recieve a warning message: Warning: Name is nonexistent or not a directory

1 visualización (últimos 30 días)
I create a sturtup.m file, but i receive a warning message:(Warning: Name is nonexistent or not a directory: C:\Program > In path (line 109) In addpath (line 86) In startup (line 1) Warning: Name is nonexistent or not a directory: Files\MATLAB\R2015a\BNT > In path (line 109) In addpath (line 86) In startup (line 1)
Warning from path (line 109) matlabpath([cPath1{:} cPath2{:}]); K>> ) my Windows startup.m file reads as follows:
addpath C:\Program Files\MATLAB\MATLAB Production Server\R2015a\BNT
add_BNT_to_path
format compact
dbstop if error
dbstop if warning

Respuestas (1)

Walter Roberson
Walter Roberson el 29 de Sept. de 2023
Change
addpath C:\Program Files\MATLAB\MATLAB Production Server\R2015a\BNT
to
addpath('C:\Program Files\MATLAB\MATLAB Production Server\R2015a\BNT')
Each space in the original command is being interpreted as the end of an argument.

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