Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
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

Réponses (1)

Walter Roberson
Walter Roberson le 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.

Catégories

En savoir plus sur Search Path dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by