| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Data Acquisition Toolbox |
| Contents | Index |
| Learn more about Data Acquisition Toolbox |
out = isdioline(obj.Line(index))
obj.Line(index) | One or more lines contained by obj. |
out | A logical value. |
out = isdioline(obj.Line(index)) returns a logical 1 to out if obj.Line(index) is a line. Otherwise, a logical 0 is returned.
isdioline does not determine if lines are valid (associated with hardware). To check for valid lines, use the isvalid function.
Typically, you use isdioline directly only when you are creating your own M-files.
Suppose you create the function myfunc for use with the Data Acquisition Toolbox software. If myfunc is passed one or more lines as an input argument, then the first thing you should do in the function is check if the argument is a line.
function myfunc(line)
% Determine if a line was passed.
if ~isdioline(line)
error('The argument passed is not a line.');
endYou can examine the Data Acquisition Toolbox software M-files for examples that use isdioline.
![]() | ischannel | islogging | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |