필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Segmentation violation detected when stop time is infinite, in Simulink

조회 수: 1 (최근 30일)
Sriharsha
Sriharsha 2015년 5월 27일
마감: MATLAB Answer Bot 2021년 8월 20일
I have written an C Mex function, in which i created a Shared Memory. I compiled it and i got ".mexw32" file. I am able to use that in an S-Function Model toolbox and Run it.
I wrote other file in Visual Studio, which can receive the data from this shared Memory. Even this is Compiled and built and it is Succeeded.
Now, i ran this Simulink model with finite Stop Time. This worked Properly without any fail.
But, i want the Process to Run Continuously, so, i set Stop Time as : Inf.
Now, i am facing an error. When i simulate the model with Infinite Stop Time, MATLAB crashes and i get an error:
Segmentation violation detected .
What could be the Problem?

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by