필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
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

답변 (1개)

Walter Roberson
Walter Roberson 2023년 9월 29일
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.

카테고리

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