MATLAB csv data import error

Hello.
When I tried to import data on MATLAB from a CSV file, it shows the error "Improper arguments for waitbar".
Can someone please help me understand what this error means, and how I can fix it? Thank you!

1 Comment

it would help if you can share a code (even simplified) and some data

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 4 May 2023
Based on what you've shared, it would appear the error has nothing to do with importing a csv. You syntax in creating or updating a waitbar is incorrect.
x Fractional wait bar length, real number
f Figure object (for your waitbar)
msg Wait bar message
character vector | cell array of character vectors | string array

1 Comment

One of my variables was named f (f=xx) and looks like that was the problem since its the same with the waitbar. Thank you for your help!

Sign in to comment.

Categories

Find more on App Building in Help Center and File Exchange

Products

Release

R2022b

Asked:

on 4 May 2023

Commented:

on 5 May 2023

Community Treasure Hunt

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

Start Hunting!