Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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

Antworten (1)

Walter Roberson
Walter Roberson am 29 Sep. 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.

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by