Git Product home page Git Product logo

Comments (5)

benfulcher avatar benfulcher commented on August 23, 2024

I seems that 'Name' mode (which @olivercliff added) assumes a cell of strings, so it fails when you input a string (the name theMatchString is deceptive due to the double-use of this input with 'Keyword' mode, as originally intended.
Hopefully the latest commit fixes this: 4056ea7

from hctsa.

LJGz avatar LJGz commented on August 23, 2024

It still isn't working for me. It returns the error

Error using TS_GetIDs (line 119)
One output argument (IDs) required for 'Name' input.

I guessed that it might be the switch should be 0 on assert(nargout == 1,'One output argument (IDs) required for ''Name'' input.')
Changing it to 0 resulted in

Warning: No matches to the 1 input strings found in D:\myfile
> In TS_GetIDs (line 140) 

I tried it both with the examples given

line 127 cmatch = find(strcmp(theDataTable.Name,theMatchString{i})); compares strings, however I if they are not an exact it will return empty. The only way to get a result is if theMatchString{i} is exactly the same not as per the example 'length'.

Sorry I don't know how to re-open an issue.

from hctsa.

olivercliff avatar olivercliff commented on August 23, 2024

When the 'Name' option is set, that function only allows one output. Do you have more than one?

from hctsa.

LJGz avatar LJGz commented on August 23, 2024

Yes I do. I was hoping to filter everything with a particular keyword that exists within the string that within the Name string.

from hctsa.

olivercliff avatar olivercliff commented on August 23, 2024

That should be fine. Output one argument (only), which will return this list

from hctsa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.