필터 지우기
필터 지우기

Unexpected MATLAB operator. how declare correctly?

조회 수: 1 (최근 30일)
Alma Martinez
Alma Martinez 2018년 6월 1일
댓글: Walter Roberson 2018년 6월 6일
[status]= abmsdk('SetDestinationFile', C:\ABM\B-Alert\Data\1830);
|
Error: Unexpected MATLAB operator.

채택된 답변

Walter Roberson
Walter Roberson 2018년 6월 1일
[status]= abmsdk('1830_b30_112311_122300.def', 'C:\ABM\B-Alert\Data\1830_1');
  댓글 수: 4
Alma Martinez
Alma Martinez 2018년 6월 4일
편집: Walter Roberson 2018년 6월 4일
Yes, i want to connect the B-Alert with matlab. And the format its:
[status]= abmskd ('SetDestinationFile'), destinationFilepath);
where the input is destinationFilepath-Absolute path to destination folder and name. But in anycase i have invalid command.
Walter Roberson
Walter Roberson 2018년 6월 4일
Try
status = abmsdk('SetDestinationFile', 'C:\ABM\B-Alert\Data\1830_1\1830_b30_112311_122300.def')
But if that is an existing file, make a back-up copy of it first, in case it overwrites the file.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Alma Martinez
Alma Martinez 2018년 6월 6일
편집: Walter Roberson 2018년 6월 6일
ok, i intent all. And the correct sintaxys, is:
[status]= abmsdk('SetDestinationFile',C:\ABM\B-Alert\Data\1830);
|
where the input is destinationFilepath-Absolute path to destination folder and name
But another
Error: Unexpected MATLAB operator. appear, is the C: maybe? Or another solution?
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 6월 6일
[status]= abmsdk('SetDestinationFile', 'C:\ABM\B-Alert\Data\1830');
Filenames should always be placed in quotes.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by