what is wrong with readmatrix()?

6 visualizzazioni (ultimi 30 giorni)
宇昊 彭
宇昊 彭 il 20 Mag 2023
Commentato: 宇昊 彭 il 21 Mag 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 Commenti
Stephen23
Stephen23 il 21 Mag 2023
Perhaps some other function you have created/saved is interfering:
宇昊 彭
宇昊 彭 il 21 Mag 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!

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by