| | |
Calling C function from MATLAB
![]() |
•
•
Join Date: Oct 2006
Posts: 1
Reputation:
Solved Threads: 0
I am calling C function from MATLAB using mex-files. The C function has a few static variables. I want to remove the static variables from the memory between consecitive calls to the C function. It is possible to do that without manually making all the variables in the C function 'non-static'. If there is a MATLAB command that clears the C memory, that will be very helpful.
Thanks.
Thanks.
![]() |
Similar Threads
- solution to my matlab code (Legacy and Other Languages)
- Helping with calling a function (C)
- help in my matlab code (Community Introductions)
- function declaration in MatLab (Legacy and Other Languages)
- Still need info on calling a function from bool! (C++)
- How would i recode as a function? (Java)
- Function that returns void (C++)
Other Threads in the C Forum
- Previous Thread: MFC Countdown Timer
- Next Thread: Segmentation Fault when run in Linux but perfect compilation and execution in Windows
| Thread Tools | Search this Thread |
* adobe ansi api array arrays binarysearch calculate centimeter char character cm convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic feet fflush file floatingpointvalidation fork forloop frequency getlasterror getlogicaldrivestrin givemetehcodez global graphics gtkgcurlcompiling gtkwinlinux hacking highest homework i/o inches incrementoperators intmain() iso km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. lowest match matrix microsoft mqqueue mysql oddnumber odf open opendocumentformat openwebfoundation pattern pdf performance posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scanf scheduling segmentationfault send shape single socketprograming socketprogramming stack standard strchr string suggestions test unix urboc user variable voidmain() whythiscodecausesegmentationfault win32api windows.h windowsapi





