Dear all,
As suggested by Jason, I come here to ask for your help.
I am using FAST v8. I was trying to recompile the FAST library and FAST_SFunc Mex file in the Linux system (CentOs 7), in order to run FAST v8-Simulink. By the way I commented out the line 173 of FAST_SFunc.c following this answer viewtopic.php?t=1387 when I created the mex file. The compilation tool is gcc 6.3. The build log of mex file is here:
mex_build.log
Also, I got some warnings when I compiled the FAST_library. The build log has been attached.
build.log
I got both of them successfully in the bin folder: libFAST_Library_glin64.so and FAST_SFunc.mexa64. When I run the S-function in Simulink, Matlab got crashed and I received this segmentation error. I double-checked the compilation of the FAST Library and mex file. I don't know how to deal with this? Can you help me? Thank you so much!
The segmentation error is like this:


Dear all,
As suggested by Jason, I come here to ask for your help.
I am using FAST v8. I was trying to recompile the FAST library and FAST_SFunc Mex file in the Linux system (CentOs 7), in order to run FAST v8-Simulink. By the way I commented out the line 173 of FAST_SFunc.c following this answer viewtopic.php?t=1387 when I created the mex file. The compilation tool is gcc 6.3. The build log of mex file is here:
mex_build.log
Also, I got some warnings when I compiled the FAST_library. The build log has been attached.
build.log
I got both of them successfully in the bin folder: libFAST_Library_glin64.so and FAST_SFunc.mexa64. When I run the S-function in Simulink, Matlab got crashed and I received this segmentation error. I double-checked the compilation of the FAST Library and mex file. I don't know how to deal with this? Can you help me? Thank you so much!
The segmentation error is like this: