How can I fix the error-message that appears in the MATLAB as “gethostbyname() call failed?
To fix the error, follow these steps:
- Go to the model options under QUARC > Options
- On the left side navigation go to Code Generation > Interface
- Under Data exchange, click on the Transport layer property and select “quarc”, even if it is already selected. This forces the MEX-file name to change to “quarc_comm”, which is what we need to run QUARC models.