Info
此问题已关闭。 请重新打开它进行编辑或回答。
Store character in a array possible?
2 次查看(过去 30 天)
显示 更早的评论
I want to store the name of the character the user type so I can use it for a future function [t,fs]= wavread(file);
however I get this error: In an assignment A(:) = B, the number of elements in A and B must be the same.
CODE:
for i=10
i=i+1
name = input ('Enter the name of the voice command:','s');
file(i) = sprintf('%s.wav',name);
end
0 个评论
回答(1 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!