S-Function builder fails compilation diagnostics gives "Error using fopen ..."
이전 댓글 표시
I followed the very simple and straightforward guide to write an S Function Builder Block here https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/39354/versions/10/download/zip/DriversGuide.zip and I get the following error when clicking the Build button:
Error using fopen
The file name contains characters that are not contained in the filesystem encoding.
Certain operations may not work as expected.
I have r2018a.
댓글 수: 6
Walter Roberson
2018년 4월 13일
What is the name you are giving to the S function?
Tim Darrah
2018년 4월 13일
편집: Tim Darrah
2018년 4월 13일
Walter Roberson
2018년 4월 13일
I looked through the various models in the .zip but I could not see anything obvious.
Which model was it that you had open when you did the build ?
Doug Kaiser
2018년 4월 27일
편집: Doug Kaiser
2018년 4월 27일
This is also occurring on my system when trying to build from the built in MATLAB s function builder example model.
open_system([docroot,'/toolbox/simulink/sfg/examples/sfbuilder_example']);
This only started happening after upgrading to r2018a.
Doug Kaiser
2018년 4월 27일
편집: Doug Kaiser
2018년 4월 27일
This problem does not occur when the exact same thing is tried back on r2017b.
Johnny Wall
2018년 7월 7일
@Mathworks, is this a bug in R2018A, that S-Function Builder does not work?
답변 (1개)
Stefanie Schwarz
2018년 9월 10일
0 개 추천
Hi,
please check out the article below to see what we currently know about this error message:
카테고리
도움말 센터 및 File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!