what is wrong with readmatrix()?

9 Ansichten (letzte 30 Tage)
宇昊 彭
宇昊 彭 am 20 Mai 2023
Kommentiert: 宇昊 彭 am 21 Mai 2023
I'm using R2022a to finish my homework,but readmatrix() is not functioning properly
A=readmatrix('database.txt','Range','A1:D150');
The command runs right on the local runner,but once I run on my own Matlab R2022a ,it will say that "improper use of readmatrix,not enough input arguments":
choose"pause on errors"and the result:
However,a few weeks ago there is no mistake of readmatrix.I can't believe that I didn't change my code but the Matlab itself get something wrong.That's wierd.Files below are my all whole project so far.Can anyone help me?Thanks a lot!
  7 Kommentare
Stephen23
Stephen23 am 21 Mai 2023
Perhaps some other function you have created/saved is interfering:
宇昊 彭
宇昊 彭 am 21 Mai 2023
Thanks a lot! I did not understand the question along with the answer.Just then I read carefully and I change the function name "mode" to "damage".The problem has been solved.Thanks a lot!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by