You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ismembcYALMIP.m
    path of file: ./repos/YALMIP/extras
    
    the code of the file until where you have to start completion: function members=ismembcYALMIP(a,b)

% ismembc is fast, but does not exist in octave
% however, try-catch is very slow in Octave,

    
function members=ismembcYALMIP(a,b)

% ismembc is fast, but does not exist in octave
% however, try-catch is very slow in Octave,
% Octave user: Just replace the whole code here
% with "members = ismember(a,b);"
try
    members = ismembc(a,b);
catch
    members = ismember(a,b);
end