Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using regexp The 'STRING' input must be either a char row vector, a cell array of char row vectors, or a string array. #4

Open
sanbuddhacharyas opened this issue Jul 13, 2020 · 2 comments

Comments

@sanbuddhacharyas
Copy link

I am getting this error
Error using regexp
The 'STRING' input must be either a char row vector, a cell array of char row vectors, or a string
array.

Error in get_synched_frames (line 20)
files = regexp(ls(sceneDir), '(\s+|\n)', 'split');

Error in demo_synched_projected_frames (line 11)
frameList = get_synched_frames(sceneDir);

@robo-alex
Copy link

Hi! Would you please tell me how you solve this if you had handled it?

@awsaf49
Copy link

awsaf49 commented Jun 16, 2022

I solved this issue simply by replacing regexp with the following code,

files = string({dir(sceneDir).name});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants