필터 지우기
필터 지우기

MATLAB Toolbox Instrument : impossible to connect a device

조회 수: 3 (최근 30일)
Sarah Guiffray
Sarah Guiffray 2015년 4월 1일
답변: Christiaan 2015년 4월 2일
Hello,
I try to execute a code but some function don't work. For example, I can't connect my device because I have an error with this function icdevice('nameofdriver').
"Undefined function 'icdevice' for input arguments of type 'char' ".
I don't know how to resolve this problem ?
Thank you in advance,

채택된 답변

Christiaan
Christiaan 2015년 4월 2일
Dear Sarah,
The Mathworks function icdevice is a function which comes with the 'Instrument Control Toolbox'. Please type the following in the MATLAB prompt:
>> ver
In the output you find all the toolboxes you have. If you see the toolbox 'Instrument Control Toolbox' listed, then you be able to use the function.
If you have the toolbox but still cannot use the function, please type the following in the MATLAB prompt:
>> which icdevice
If a path is found, you can try to use the MATLAB function restoredefaultpath. If this doesn't work, you have to look on your computer where the function is and restore it to the correct path. If even that doesn't work, you should reinstall MATLAB together with its Toolbox.
Good Luck! Christiaan

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Instrument Connection and Communication에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by