採用された回答

Walter Roberson
Walter Roberson 2018 年 6 月 1 日

0 投票

[status]= abmsdk('1830_b30_112311_122300.def', 'C:\ABM\B-Alert\Data\1830_1');

4 件のコメント

Alma Martinez
Alma Martinez 2018 年 6 月 1 日
編集済み: Walter Roberson 2018 年 6 月 1 日
i have enter this and other possibilities, because there aren't info about the operator. but it isn't incorrect.
>> [status]= abmsdk('1830_b30_112311_122300.def', 'C:\ABM\B-Alert\Data\1830_1');
Error using abmsdk
Invalid command...
Walter Roberson
Walter Roberson 2018 年 6 月 1 日
This appears to refer to the Advanced Brain Monitor (ABM) B-Alert SDK
The first parameter passed to abmsdk needs to be a command, such as SetDestinationFile
I seem to be having difficulty finding a list of the available commands.
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 日

0 投票

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.

サインインしてコメントする。

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by