I use a structure to pass values and interact between MATLAB and C with a critical section in it. I receive a crash whenever I try to pass the critical section to MATLAB through a structure.
MATLAB: Do I receive a segmentation violation when using a critical section in a structure to interface with MATLAB 7.3 (R2006b)
7.3crashcriticalgetMATLABr2006bsectionsegmentationsetstructureviolationvoid
Related Question
- Do I have difficulty in using the << operator with the ramp function with mwArray
- Does the MATLAB Help Browser not show the help contents in MATLAB 7.3 (R2006b)
- Is Hardware-in-the-Loop (HIL) optimization supported when using the Link for Code Composer Studio 1.3.1 (R14) with the TI C6x or C54x DSK
- Is it possible to pass pointers of type HWND to functions loaded through the Generic DLL Interface in MATLAB 7.3 (R2006b)
- Do I receive an error about the structure being empty when I try to create a nested structure pointer using LIBSTRUCT in MATLAB 7.10 (R2010a)
- Do I get “native method ‘nativeThreadRequest’ not registered. Method not found” warning when I deploy the standalone application using MATLAB Compiler 4.5 (R2006b)
- Do I receive the warning “variable ‘x’ of class ‘struct’ contains nonsaveable members” when using a shared library created with MATLAB Compiler to save a structure created in C++
- Does the YEARFRAC function no longer return integer results when time period spans a leap year as of MATLAB 7.3 (R2006b)
Best Answer