답변 있음
loadlibrary using default is not working
This looks like an installation issue with your compiler (you do have a c compiler installed?). I would first see if the mex co...

거의 11년 전 | 0

| 수락됨

답변 있음
unable to call windows API "FindWindow" and errors in using calllib
Loading a Windows dll via windows.h is not a simple task and is quite slow. The best solution for a few functions is to create ...

거의 11년 전 | 3

| 수락됨

답변 있음
error in calling functions from a DLL file
Is the windows system directory on your MATLAB path? It should not be and is causing the warnings that look like: Warni...

거의 11년 전 | 0

답변 있음
Pass DWORD pointer by using 'calllib' to c function
A DWORD is a uint32 in matlab but no libpointer or conversion should be necceary. You did not give enough information to form...

거의 11년 전 | 1

| 수락됨

답변 있음
error to load dll API using load libary
Those header files contain c++ classes which are not supported by loadlibrary. I very much doubt they worked or would work usin...

거의 11년 전 | 1

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

거의 11년 전

답변 있음
Matlab 2014a EXC_CRASH (SIGSEGV) crash when calling .dylib
I suggest contacting support for this type of issue. Some initial thought that may be way off base do to lack of informatio...

거의 11년 전 | 0

| 수락됨

답변 있음
system() call on windows, R2012b & R2014b, handling error popups
The chained commands work for me as seen buy the output of: system(['path &set path=%path:' matlabroot '\bin\win64;=% & pat...

거의 11년 전 | 0

답변 있음
Issue while passing array data other than double data type from C to Matlab using MexFunction
Problem here: plhs[0] = mxCreateNumericArray(2,dims,mxUINT16_CLASS,mxREAL); out1 = (unsigned int *)mxGetData(plhs[0]);...

대략 11년 전 | 0

답변 있음
Building .mexw64 files from c++ dlls
There are a many things going wrong here but the biggest problem is that you have a 32 bit dll and 64 bit MATLAB. That will not...

대략 11년 전 | 0

답변 있음
saving variable with -v7.3 flag check
Use the |whos| function: varinfo=whos('data'); saveopt=''; if varinfo.bytes >= 2^31 saveopt='-v7.3'; end s...

대략 11년 전 | 1

| 수락됨

답변 있음
nested function call using inputname crashes matlab
You have found a bug in the MATLAB jit. This code works correctly if you enter |feature accel off| from the command line first....

대략 11년 전 | 2

| 수락됨

답변 있음
genvarname command removed or not working?
|genvarname| has not been removed from R2014b, the code you posted works for me. |genvarname.m| should be in the toolbox direct...

대략 11년 전 | 1

답변 있음
Incompatibilities between JVM and MEX?
First guess is that one of the libraries you are using is installing a signal handler. Any third party signal handler is likely...

대략 11년 전 | 1

| 수락됨

답변 있음
Issue with calling function from a DLL with calllib
You need to fix the input type of buffer_size_bytes first. Loadlibrary requires a header file that compiles stand alone. Your ...

대략 11년 전 | 1

| 수락됨

답변 있음
How do I prevent frequent crashes when using simulink (R2014b)?
Having a 32 bit version of Java on the machine will not cause problems. Whether or not Java is up to date is not important. If...

대략 11년 전 | 0

답변 있음
Loadlibrary does not work with DLL function
You need a C header file (somefile.h) to load a library in MATLAB it is possible that you can create one by pasting the decelera...

대략 11년 전 | 0

답변 있음
cstring datatypes in library function calls dll files
Try : [retval,name]=calllib('pxc','pxcGetDeviceName',0,blanks(200),200); It is best to start by letting calllib do the da...

대략 11년 전 | 0

답변 있음
loadlibrary - Matlab R2013b 64bit
Contacting support may be your best option for this problem. Something is most likely not configured or installed correctly wit...

대략 11년 전 | 0

| 수락됨

답변 있음
How can I access the methods of a returned object?
Don't use dot to call the method: classmethod(myfunc(123)); In MATLAB with _standard objects_ there is no difference betw...

대략 11년 전 | 0

답변 있음
Question to MATLAB profiler and speed of code (spline calculation during optimization)
Your attempted pre-allocation by calling zeros for xj and yj is not doing anything useful and may be costing a small amount of t...

대략 11년 전 | 0

답변 있음
How Do I free up a Fortran Mexed substructure (running out of memory-leaking memory)
Unless you are calling mexMakeArrayPersistent I suspect you have another leak than that one. Matlab will eventually clean up al...

11년 초과 전 | 1

답변 있음
Problem using external shared library with pointers
Because ppcImgMem is an image not a string the best solution here is to create a prototype file using the mfilename option to lo...

11년 초과 전 | 0

| 수락됨

문제를 풀었습니다


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

11년 초과 전

문제를 풀었습니다


Is my wife right?
Regardless of input, output the string 'yes'.

11년 초과 전

문제를 풀었습니다


Text processing - Help Johnny write a letter home from camp
Johnny overuses the word 'great'. Write a script that will help him with this and future letters. If a sentence contains more ...

11년 초과 전

답변 있음
Matlab Calllib with macros
Your best option is to create a mex file. Macros are not part of the interface to a shared library.

11년 초과 전 | 0

답변 있음
Can Matlab Student compile mex files?
Yes, But, You must have a supported c++ compiler installed and configured (mex -setup) on your system. MATLAB does not ship...

11년 초과 전 | 1

| 수락됨

답변 있음
Increase limit on number of open files
It is quite possible that you are hitting the system limit and MATLAB is using the other handles. Java tends to keep each jar f...

11년 초과 전 | 1

답변 있음
Using static library in Matlab
Static libraries must be turned into dynamic (shared) libraries before they can be used by an existing program. The simplest wa...

11년 초과 전 | 0

더 보기