Unexpected fault in input
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
For a reason i can not understand MATLAB constantly stops when i try to use input command in a for repeat!!!!
What's wrong with it?! please help
_LI.jpeg)
3 Commenti
Walter Roberson
il 18 Nov 2018
why does it think that line 267 to enter force is a comment ? There is no obvious % commenting it out . Does the line above it have a ... on it?
Risposte (1)
Stephen23
il 17 Nov 2018
Modificato: Stephen23
il 18 Nov 2018
You did not enter any value, so FF is empty.
Any empty array cannot be expanded to fill the non-empty locations that you have specified with subscript indexing.
10 Commenti
Walter Roberson
il 18 Nov 2018
With those inputs, for me it fails on line 379
Nodes=R(2:33,1:4);
This is because the textscan() inputs almost nothing. It is
C = textscan(fileID,'%f %f %f %f %f %f %f',N,'CommentStyle','//');
however the first line with 7 input values in the file is line 166 so the textscan fails almost immediately.
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!.png)
