Path: AerospaceUtils/CAD
% Find the indices of components containing a particular string -------------------------------------------------------------------------- Form: [k,c] = FindComponents(g,field,str,caseSensitive,exact); -------------------------------------------------------------------------- ------ Inputs ------ g CAD Model data structure, returned from BuildCADModel field Field to search in, located at: g.component().FIELD str String to search for cS Flag. Case sensitive (1) or not (0). exact Flag. Search for exact string (1) or not (0). ------- Outputs ------- k Indeces of components c Names of components --------------------------------------------------------------------------
Back to the AerospaceUtils Module page