MATLAB: Do I get an error when using the xPCFSScGetFilename xPC Target C-API function in xPC Target 2.6.1 (R14sp1)

c++ apierroridentifierSimulink Real-Timeundeclaredxpcxpcfsscgetfilename

I am using the function xPCFSScGetFilename in my C-code. At compile time I get the following error:
'xPCFSScGetFileName': identifier not found, even with argument independant lookup'
I am passing this function correct input and output arguments as described in the documentation. Why am I getting this error?

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
We have verified that there is an error within the documentation for xPC Target for the xPCFSScGetFilename function within the xPC Target API Reference Guide. The documentation implies that this function is spelled with a capital "N" in "FileName". Instead, the "N" should be lowercase, as in "Filename". Change your code to reflect this case sensitivity.