EDN Admin
Well-known member
Hi everyone,
Is there anyone can help to solve error C2664: printf : cannot convert parameter 2 from void to ... ?
Here my code :
#include <stdio.h><br/>
#include <stdlib.h><br/>
#include "anisodiff1D.h"<br/>
#include "anisodiff1D_initialize.h"<br/>
#include "anisodiff1D_terminate.h"<br/>
#include "rt_nonfinite.h"<br/>
#include "anisodiff1D.h"<br/>
#include "power.h"<br/>
#include "conv.h"<br/>
<br/>
int main(void)<br/>
{<br/>
<span style="white-spacere real_T diff_sig_data[210];<br/>
<span style="white-spacere int32_T diff_sig_sizes[1];<br/>
<span style="white-spacere anisodiff1D_initialize();<br/>
<span style="white-spacere printf("anisodiff1D=%gn",anisodiff1D(diff_sig_data,diff_sig_sizes));<br/>
<span style="white-spacere anisodiff1D_terminate();<br/>
<br/>
return 0;<br/>
}
Thanks in advance
View the full article
Is there anyone can help to solve error C2664: printf : cannot convert parameter 2 from void to ... ?
Here my code :
#include <stdio.h><br/>
#include <stdlib.h><br/>
#include "anisodiff1D.h"<br/>
#include "anisodiff1D_initialize.h"<br/>
#include "anisodiff1D_terminate.h"<br/>
#include "rt_nonfinite.h"<br/>
#include "anisodiff1D.h"<br/>
#include "power.h"<br/>
#include "conv.h"<br/>
<br/>
int main(void)<br/>
{<br/>
<span style="white-spacere real_T diff_sig_data[210];<br/>
<span style="white-spacere int32_T diff_sig_sizes[1];<br/>
<span style="white-spacere anisodiff1D_initialize();<br/>
<span style="white-spacere printf("anisodiff1D=%gn",anisodiff1D(diff_sig_data,diff_sig_sizes));<br/>
<span style="white-spacere anisodiff1D_terminate();<br/>
<br/>
return 0;<br/>
}
Thanks in advance
View the full article