Getting "Unrecognized function or variable 'reshape'" error!!
Show older comments
I am running R2021b and using simple reshape function.
But Matlab is giving Unrecognized function or variable 'reshape'".
I checked for the path of this function and its present in the path values.
Any idea what could be wrong.
3 Comments
DGM
on 26 May 2022
How are you using it, and of what class is the object you're passing to it?
KSSV
on 26 May 2022
Show us the code you tried.
Kumar Vishal Rai
on 27 May 2022
Accepted Answer
More Answers (1)
%reshape([1 2 3 4],:,1);
reshape([1 2 3 4], [], 1) % use [] for auto computed size
Categories
Find more on Logical 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!