Cannot save model 'dfig' in the MDL file format because some of characters it contains are not valid in the current character encoding, 'US-ASCII'. Either remove these charac
7 次查看(过去 30 天)
显示 更早的评论
how to remove this problem ,i want to create the same model in old version of matlab 2010a ,and i had the same model on 2016a when i export it i get the erroe box ((Cannot save model 'dfig' in the MDL file format because some of characters it contains are not valid in the current character encoding, 'US-ASCII'. Either remove these characters from the model, or save the model in the SLX file format by using a file name with extension '.slx'.))
0 个评论
回答(1 个)
Harsh Sharma
2024-8-29
Hi Khelifa,
The error you are facing is because of the filename with which you are trying to save the model. Check the “Choose Valid Model File Names” section in the following MATLAB documentation to understand which file names are allowed - https://www.mathworks.com/help/simulink/ug/save-models.html#btiine0
Also, if you want to use the model in an older version of MATLAB, you may check the “Export Model to Previous Version Of Simulink” section in the above mentioned documentation page.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Environment Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!