MATLAB Answers

Simulink S-Function builder "error using fopen"

6 views (last 30 days)
Jacco Hubregtse
Jacco Hubregtse on 17 Jun 2018
Answered: Stefanie Schwarz on 12 Sep 2018
When I try to build a simple Simulink model containing the S-Function builder block, the block won't build providing the following error message:
Error using fopen
The file name contains characters that are not contained in the filesystem encoding.
Certain operations may not work as expected.
This even happens with the simple example provided by Matlab:
open_system([docroot,'/toolbox/simulink/sfg/examples/sfbuilder_example']);
This happens in Matlab R2017a, R2017b and R2018a. I've one other guy that got the same issue https://nl.mathworks.com/matlabcentral/answers/394552-s-function-builder-fails-compilation-diagnostics-gives-error-using-fopen, which was solved by using an R2017b instead of R2018a.
Can anyone suggest a solution? Any help is greatly appreciated.

  0 Comments

Sign in to comment.

Answers (1)

Stefanie Schwarz
Stefanie Schwarz on 12 Sep 2018
Hi Jacco,
please check out the article below to see what we currently know about this error message:

  0 Comments

Sign in to comment.

Sign in to answer this question.