showntimoon
Junior Member level 3

hi guys ...
I got this error message while making a function that perform the video coding (mpeg)
??? Error using ==> zeros
Out of memory. Type HELP MEMORY for your options.
Error in ==> huffmanenco at 70
enco = zeros(1, length(sig)*maxSize);
Error in ==> vid_encode at 107
V = huffmanenco(V,dict); % encoding
the matlab suggests some solutions which are :
1- use clear
2- use pack
3- decrease no of variables
4- increase the size of virtual memory in windows
I used them all but nothing happened and the problem still existed
what I should do to solve the problem ,you think ????
I got this error message while making a function that perform the video coding (mpeg)
??? Error using ==> zeros
Out of memory. Type HELP MEMORY for your options.
Error in ==> huffmanenco at 70
enco = zeros(1, length(sig)*maxSize);
Error in ==> vid_encode at 107
V = huffmanenco(V,dict); % encoding
the matlab suggests some solutions which are :
1- use clear
2- use pack
3- decrease no of variables
4- increase the size of virtual memory in windows
I used them all but nothing happened and the problem still existed
what I should do to solve the problem ,you think ????