Community Profile

photo

ryan


Active since 2013

Statistics

  • 3 Month Streak
  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Answered
In order to use my compiled mex function windows SDK 7.1 is required... Does anyone know why?
Thanks Friedrich. I had to compile the mex in debug mode because it was linked to another .dll (not from microsoft). Looks like ...

10 years ago | 0

Question


In order to use my compiled mex function windows SDK 7.1 is required... Does anyone know why?
To put in more deal, I have all of the c++ redistributable packages installed also. But i would like to make it so windows SDK 7...

10 years ago | 3 answers | 0

3

answers

Question


mexw64 function dynamically linked to .dll will not run w/out c compiler
I am running an executable matlab program that is using a mexw64 function, which is linked to a .dll. It runs fine on my compute...

10 years ago | 2 answers | 0

2

answers

Question


mxGetNumberOfElements causing matlab to force close
I have compiled a mex function that compiled fine, and part of the code is trying to get the size of a string in a cell array of...

10 years ago | 0 answers | 0

0

answers

Answered
Mex function issues when executing in matlab
Would i put that inside the .def file? Right now this is my .def: LIBRARY LibName EXPORTS mexFunction And my mexFunction ...

11 years ago | 0

Question


Mex function issues when executing in matlab
I have created a mex function using visual c++ 2010, and for some reason, the function works but once the function ends, it caus...

11 years ago | 3 answers | 0

3

answers

Answered
compiling a cpp function into a mex, then compiling that mex into a matlab exe (w/ other matlab code). What about the dll, h, and .lib files? And loadlibrary will not cut it in this case.
I got this to work actually. The only thing is my mex function forces matlab to exit upon completion...

11 years ago | 0

Question


callback for button group of toggle buttons 'SelectionChangeFcn' not working
I have 3 toggle buttons on a button group panel. using guide, i created the callback 'selectionchangefcn', but when i switch bet...

11 years ago | 1 answer | 1

1

answer

Question


Why does running my mex function cause matlab to shutdown?
For some reason the mexw64 function I have compiled causes matlab to shut down on me. I compiled the mex function in visual c++ ...

11 years ago | 2 answers | 0

2

answers

Question


error when trying to turn project into a mex function
error LNK2001: unresolved external symbol mexPrintf. Not sure how to fix this...

11 years ago | 0 answers | 0

0

answers

Question


getting error "fatal error C1083: Cannot open include file: 'mex.h': No such file or directory" when trying to create mex
For some reason mex.h is not being found. I am using microsoft visual c++ 2010 express and matlab 2011b. I have done the mex -se...

11 years ago | 0 answers | 0

0

answers

Question


compiling a cpp function into a mex, then compiling that mex into a matlab exe (w/ other matlab code). What about the dll, h, and .lib files? And loadlibrary will not cut it in this case.
I would like to compile my c++ function into a mex. This function is linked to a dll library. When i compile the matlab program ...

11 years ago | 2 answers | 0

2

answers

Question


hexidecimal from matlab to c++ from a calllib function
There is a function in a c library i am using, and one of the input arguments is a ulong. In the header file the constant I wish...

11 years ago | 0 answers | 0

0

answers

Answered
Problem loading library nicaiu.dll
http://www.mathworks.com/support/solutions/en/data/1-63MY7L/index.html?solution=1-63MY7L I had the same problem, and found th...

11 years ago | 2

Question


How do i get rid of the warning 'The function 'functionname' was not found in the library In loadlibrary at 402'
I cannot figure out why this warning pops up. But inside the h file this is an example of one of the functions it says was not f...

11 years ago | 1 answer | 0

1

answer

Question


Using a shared .dll library while making an executable
So i know in order to use the 'loadlibrary' function you need a c compiler. But what if i turn the matlab code calling the 'load...

11 years ago | 1 answer | 0

1

answer

Question


error using the loadlibrary function
I am getting a loadlibrary error on line 421, and cannot figure out why. I have microsoft visual c++ 2010 express, and windows j...

11 years ago | 1 answer | 0

1

answer

Answered
Using ButtonDownFcn on textboxes that are on top of an axes
For 2011b, it does not seem to work. Thanks for the help.

11 years ago | 0

Answered
Dropdown Menu with check marks
Is there any way to change the background color of different lines in a drop down menu? (almost like a checkbox)

11 years ago | 0

Question


Using ButtonDownFcn on textboxes that are on top of an axes
For some reason the buttondownfcn will not work for textboxes that are on top of an axes. I am using the axes for the background...

11 years ago | 2 answers | 0

2

answers

Question


Dropdown Menu with check marks
Is there a way to make a dropdown menu (using guide), where each of the options in the dropdown menu can also act as checkboxes?...

11 years ago | 2 answers | 0

2

answers

Question


manipulating CData property in 'Property Inspector' for a push button
How exactly do you manipulate the properties of CData? I am aware you can take away a pushbutton's depth by using this but I am ...

11 years ago | 0 answers | 0

0

answers

Answered
Giving 'Static Text' a callback
@Walter How would you go about changing the CData property? the only thing with the uicontrol: where do i define the object n...

11 years ago | 0

Question


Giving 'Static Text' a callback
I would like to give a 'static text' in a gui a callback. i.e i would like to be able to click on the static text box, and have ...

11 years ago | 3 answers | 0

3

answers

Question


I keep getting this error only in executable mode: undefined function or method 'edit' for input arguments of type 'char'
For some reason I keep getting the following error only when I am running my program in a .exe format: undefined function or met...

11 years ago | 1 answer | 0

1

answer

Question


Strange warning box during executable mode
I keep getting this warning box when running the program as a console application, but not when running in matlab. It says '...

11 years ago | 1 answer | 0

1

answer

Question


Opening txt files using fopen, and fgetl in my executable program is bugging out. Any ideas?
When i run the program just straight out of matlab it works fine. In the program there are many occasions where i use fgetl, and...

11 years ago | 0 answers | 0

0

answers

Answered
How do you open a .xlsx file in excel from matlab.
Thank you! Exactly what I was looking for.

11 years ago | 0

Question


How do you open a .xlsx file in excel from matlab.
I am trying to open up a .xlsx file from matlab, and have it open in excel. Right now I am using the command open(filename). Thi...

11 years ago | 4 answers | 0

4

answers