Matrix Dimensional Error Index error
Show older comments
Can anyone look into this error. I have debugged and fixed the signal error but program is still not running. Most likely the error is coming from the number of columns of prob=percentENER, 43 X52 and how to increase the column size from 52 to 659 as required for the program to run
5 Comments
Jan
on 28 Nov 2022
The posted code cannot run: your getmswfeat us a script, but it is called as a function.
Please note that you mention, that there is an error, post a screenshot of an error message and explain, that you have fixed this already. So we do neither have the running code nor the error message. Then suggesting a solution is very hard.
Post the current version of the code and a copy of the error message as text (not as screenshot). Thanks.
Jiri Hajek
on 28 Nov 2022
Edited: Jan
on 29 Nov 2022
Seems like a clone of this thread: https://www.mathworks.com/matlabcentral/answers/1865253-displaying-randomized-texts-in-app-designer-gui
john amoo otoo
on 28 Nov 2022
john amoo otoo
on 28 Nov 2022
Jeffrey Clark
on 29 Nov 2022
@john amoo otoo, as indicated in the first comment, the posted code isn't what you are running. In the posted code not only is getmswtfeat a function contained within the same named script file, but throughout it uses signals not signal as you show in the error message.
Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!