Project

General

Profile

Not able to build a simulink model for ESP32

Added by Marco Cini 3 months ago

Hello,
I am new in this comunity and in the usage of WJ2 for ESP32.
I am trying to build a Simulink model that contain only a digital port write ad pulse generator for LED blinking function.
I installed all the software reported in https://waijung2-doc.aimagin.com/system-requirements.html but it seems that something it is still not working.
Full diagnositc report is attached.
Can anyone elp me with this issue?


Replies (5)

RE: Not able to build a simulink model for ESP32 - Added by Parth Maheshwari (พาร์ท) 3 months ago

Hi Marco,

Thank you for reaching out.

I have checked the error and it seems to be related to the generated C code. I would need to see the the generated project folder. Could you please attach that?

Thank you.

Sincere regards,
Parth

RE: Not able to build a simulink model for ESP32 - Added by Marco Cini 3 months ago

Hi Parth,
thank you for your quick answer. It is very appreciated!

Attacched here you find all the autogerated files and the simulink model.

Best regards,
Marco Cini

RE: Not able to build a simulink model for ESP32 - Added by Parth Maheshwari (พาร์ท) 2 months ago

Hi Marco,

Thank you for your patience.

We have checked and it seems like some files that are normally present during code generation are missing. This may well be due to the MATLAB version you are using, which is R2023b.

There may be a possibility that the core of MATLAB R2023b was updated, and we have tested the working of our software up to R2022b only.

If you have R2022b, please try with that. It will also make it easier for us to support you if you are using a MATLAB version that we are currently running or an older version than us, as we have tested our software with those versions.

Sometimes newer MATLAB versions create issues which we can't always solve immediately and it may take us some time to get back to you.

Sincere regards,
Parth

RE: Not able to build a simulink model for ESP32 - Added by Marco Cini 2 months ago

Hi Parth,
thank you for the support, I installed Matlab22b and now I am able to build and deploy my model.
For the sake of curiosity, do you think you will debug Waijoung2 even for Matlab releases newer than 2022b?

Thank you again,
Marco Cini

RE: Not able to build a simulink model for ESP32 - Added by Parth Maheshwari (พาร์ท) 2 months ago

At the moment it is not on our roadmap.

Glad it is working for you now.

Sincere regards,
Parth

    (1-5/5)