mex function co-simulation directory error
4 次查看(过去 30 天)
显示 更早的评论
I am trying to run a co-simulation with a modeling software called AMESim, which generates a *.mexw64 file. I'm using an s-function as the interface to the mex file in Simulink. The simulation works just fine when the models are all in the current working directory. However, when i put them down one level in the model architecture (one folder deep, which is on the matlab path) the so-simulation fails with the following error:
Error in 'PlantModel/S-Function' while executing C MEX S-function 'PlantModel_', (mdlInitializeConditions), at time 0.0. Caused by: Simcenter Amesim mexfunction PlantModel_ did an abnormal exit!_
Note: PlantModel_ is the *.mexw64 file
2 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!