回答済み
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

さらに読み込む