www.pudn.com > VoiceActivityDetection.rar > saveArrayforMatlab.cpp


#include   
#include "saveArrayforMatlab.h" 
 
 
/* 
int saveArrayForMatlab(char *name, int data[],int length){ 
	 
	FILE* out;  
	int i; 
	 
	if( ( out = fopen( name, "rb" ) ) == NULL )  
		{  
		printf( "error can not read file.\npress any key to continue..." );  
		getchar();  
		return 0;  
		} 
	for(i=0;i