UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 30501

System Generator for DSP - Error "Unable to load model file.." occurs when trying to open mdl file

Description

When I'm trying to open the a Simulink model, I encounter the following errors: 

 

"Error using => open at 162 

Unable to load model file '<file_name>.mdl' due to the presence of characters that are not supported in the current character encoding setting 'GBK' ..."

Solution

The problem usually occurs in non-English operating systems.  

 

To resolve the problem, run the following command in the MATLAB console: 

 

bdclose all; 

 

set_param(0,'CharacterEncoding','windows-1252')

AR# 30501
Date Created 03/10/2008
Last Updated 05/22/2014
Status Archive
Type General Article