How can I fix the error-message that appears in the MATLAB as “gethostbyname() call failed?

Last Updated:

To fix the error, follow these steps:

  1. Go to the model options under QUARC > Options
  2. On the left side navigation go to Code Generation > Interface
  3. 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.

Can't find what you're looking for?