MATLAB csv data import error

1 次查看(过去 30 天)
茉由子
茉由子 2023-5-4
评论: 茉由子 2023-5-5
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 个评论
Mathieu NOE
Mathieu NOE 2023-5-4
it would help if you can share a code (even simplified) and some data

请先登录,再进行评论。

回答(1 个)

Cris LaPierre
Cris LaPierre 2023-5-4
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 个评论
茉由子
茉由子 2023-5-5
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!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 App Building 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by