Is it possible to use mxCalloc and mxFree in S-Functions?
Show older comments
I created identical S-Functions with dynamic memory allocation. One uses calloc/free and it works fine. The other one uses mxCalloc/mxFree and it crashes every now and then when simulating.
Accepted Answer
More Answers (0)
Categories
Find more on Create MATLAB S-Functions 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!