MATLAB Answers

Comparison with an empty matrix

7 views (last 30 days)
Hi, I want to compare matrix with an empty matrix but it gives me an error of "Not enough input arguments."
if available_channels == []
Any help guys............Thank you

  0 Comments

Sign in to comment.

Accepted Answer

Image Analyst
Image Analyst on 4 Jul 2014
if isempty(available_channels)
% Variable is null

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!