What is a Segmentation violation?
Show older comments
Hi,
I got a simulink model which gives me an segmentation violation error when I want to simulate. I cannot find the cause. And not knowing what that error actually means, makes it even harder to find the cause.
So what is an segmentation violation and how can it be caused?
Help is appreciated
5 Comments
Kaustubha Govind
on 3 Apr 2013
Do you have any C/FORTRAN S-functions in your model? Since these are typically user-written binaries, there may be several causes for SegV in them, which can be found out by debugging. If you are only using Simulink library blocks, then you may want to report this as a bug to MathWorks Tech Support.
Stephan
on 4 Apr 2013
Kaustubha Govind
on 4 Apr 2013
Stephan: If you are able to share your model, I would recommend reporting it as a bug to MathWorks Tech Support. It might be best to start by trimming your model to see if you can figure out which block or combination of blocks causes the crash. Thanks!
Stephan
on 8 Apr 2013
Image Analyst
on 8 Apr 2013
Answers (0)
Categories
Find more on Configure and View Diagnostics 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!