Comparison with an empty matrix

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

 Accepted Answer

if isempty(available_channels)
% Variable is null

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!