Forums » Req. WJ2(ESP32) support »
sntp compilation error
Added by martin van beek almost 4 years ago
When trying to compile the original Waijung 2 SNTP example, Matlab will generate a compile error because the s-function 'esp32_sntp' is missing!
How can I solve this problem.
Best regards,
Martin.
Replies (2)
RE: sntp compilation error - Added by Chandima Jayaneththi (จันทิมา) almost 4 years ago
Hello Martin,
To solve this problem, please change the name of the model file name. As in the capture image that you have attached, the model name seems to be esp32_sntp . The name of the sntp block is also esp32_sntp .
If you change the name of the model file you can be able to fix the issue.
And let us know if the problem persist.
RE: sntp compilation error - Added by martin van beek almost 4 years ago
Hi Chandima,
It's really amazing, by changing the "filename", the project could be build without errors.
Thanks for your quick response and have a nice day.
Kind regards,
Martin.