Why is the Model Configuration Parameters GUI not opening and generating errors in Simulink (R2013b)?
2 views (last 30 days)
Show older comments
Hello
After creating a new model with S-function and scope, I cannot build the model nor enter the config set dialog. The following error is returned:
"Warning: Detected 1 error in Simulink.ConfigSet.getDialogSchema / Unable to find a compiler / Cannot create config set dialog."
Previously I "mex -setup" and choose the gcc compiler and compiled my S-function Capt.c. Compilation and link are OK. >> mex -f mexopts_gcc.bat Capt.c eib7.lib
I also tried with lcc compiler. Compilation OK but link failed. >> mex -f mexopts_lcc.bat Capt.c eib7.lib
Capt.c S-function uses C-functions inside a dll prvoded with .lib and .h files.
I am confused although I know I am a beginner in S-functions and I might therefore do things the wrong way. Edit: the dll is to use for rapid prototyping with Real-Time Windows Target. It contains a set of function for the communication with an EIB7 box from Heidenhain, which monitor absolute linear encoder LIC 401.
Sincerely
Félicien
0 Comments
Answers (1)
Jan Houska
on 20 Feb 2014
Real-Time Windows Target does not allow you to choose a compiler. It always uses a compiler that is included with the product - this is either Open Watcom or Clang/LLVM, based on product version.
There is not much chance that you will be able to use the DLL in Real-Time Windows Target External Mode (compiled). The reason for that is the DLL is very likely precompiled for Windows, requires Windows (Win32) services and therefore cannot be run inside the real-time kernel. However, you should be able to use the DLL in Normal Mode (uncompiled). Normal Mode does not have the same performance as External Mode has, but, depending on your application, it may be worth trying.
3 Comments
See Also
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!