This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EK-TM4C123GXL: An Error When Configuring Block Diagram in Simulink to the Microcontroller Board

Part Number: EK-TM4C123GXL
Other Parts Discussed in Thread: ENERGIA

Hi all, 
I was trying to run the provided example from Engeria "TIVA123_gettingstarted" file after I did all the installations and setup. I have MATLAB R2018a. I got this error:

(Error in 'TIVA123_gettingstarted/Digital Output1': Initialization commands cannot be evaluated. 
Caused by: 
Error while obtaining sizes from MEX S-function 'arduinodigitaloutput_sfcn' in 'TIVA123_gettingstarted/Digital Output1/Digital Output'. 
The 4th right hand argument, FLAG, passed to MEX level2 S-function "arduinodigitaloutput_sfcn" must be an integer)

Can anyone tell me how to resolve that?