S Function related error
Show older comments
Hi,
I get the following error when I try to run a simulink model that uses a Matlab/Simulink toolbox called TNO Delft( privately obtained).
" Error in 'test_delfttyre_cpi/CPI tyre/S-Function' while executing C MEX S-function 's_delfttyre_cpi', (mdlStart), at time 0.0. "
What could be the probable reasons for such an error.?
[I have installed the following C compiler "Microsoft Visual C++ 2010 express.] [ Matlab Version :7.12.0(R2011a); 64bit]
Thank you.
12 Comments
Kaustubha Govind
on 17 Jun 2013
It looks like the S-function itself might be throwing an error. Do you see any other information about the actual error? If you have access to the source code, you may want to look into how the mdlStart function is implemented. If not, please try contacting the vendor.
Alexander
on 18 Jun 2013
Kaustubha Govind
on 18 Jun 2013
Great! Could you please post your solution as an Answer and accept it, so we know this is resolved? Thanks!
Alexander
on 25 Jun 2013
Kaustubha Govind
on 25 Jun 2013
Alexander: It is difficult to help in this situation because I don't know anything about the S-function. If you have the source code, I would recommend debugging it. In the absence of the source code, it might be best to contact the vendor.
Alexander
on 25 Jun 2013
Alexander
on 27 Jun 2013
Kaustubha Govind
on 28 Jun 2013
Are there any DLLs in \MF-Tyre MF-Swift 6.1.2.1\?
Alexander
on 29 Jun 2013
Alexander
on 29 Jun 2013
Kaustubha Govind
on 1 Jul 2013
Have the DLL files been added to the System PATH environment variable as well?
Purushottam Desai
on 29 Sep 2022
Hello,
I too have been facing the same issue. I get an error saying:
while executing C MEX S-function...(mdlstart), at time 0.0
caused by error opening road data file.
Can someone help me with this.
Answers (0)
Categories
Find more on BeagleBone Black in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!