First
|
Prev |
Next
|
Last
Pages: 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
Can a mex file share same memory as Simulink variables by accident? Hi All I am having a very weird problem, and I am not sure how to track the root cause down. I have a mex file in Fortran, where I am tracking the derivatives of a system, either defined by equations, or the same equations in Simulink. When I run the matlab file "func.m" that conatins the matlab equations of the der... 13 Jul 2010 06:30
segmentation fault when standalone application tries to callib Hello, I have a problem with a compiled script I wrote in matlab that is using functions from a dll file written in delphi. At the beginning before I compiled the script I loaded the dll by using a header file and it worked out fine. But when I wanted to compile it I read that compiled matlab application doesn't su... 15 Jul 2010 09:51
Help needed with fminsearch Hello, I'm trying to find linear regression coefficients based on maximizing the correlation coefficient between a set of observed predictors (X) and observations (y) (instead of minimizing the LSE as is done with standard linear regression, i.e., b = [(X^TX)^-1]X^Ty). In other words, I'm trying to find an optimum s... 14 Jul 2010 04:25
help with interp1: ??? Error using ==> interp1 at 261 The values of X should be distinct. hello everyone, I'm getting error in interp1 when trying to use it with the matrix M eventhough the values are indeed distinct which is the error interp1 is claiming about or am I doing something wrong?, any help?. yi = interp1(M(1:22,2),M(1:22,1),0.0021); M=[9.00000000000000e-06,0.0794328234724282; 9.0000000... 13 Jul 2010 06:30
Patch and different area color for 4 squares I am trying to display 4 equally sized squares each with the a distinct color by using the patch() command in Matlab. I do however not understand how to assign the colors to each distinct square. Can someone show me how this can be accomplished in the easiest way possible? Please write the matlab code so I can un... 13 Jul 2010 06:30
how to unlock file when fid cleared? Hi folks, I have a basic problem which I haven't been able to solve, though I think it must be quite common. I need to unlock files after the fid has been deleted ... snippets follow: this works: fid = fopen('foobar.bin', 'w'); fwrite(fid,7); fclose(fid) delete foobar.bin but this doesn't: ... 13 Jul 2010 10:52
catching a GUIDE GUI when it becomes visible I have a GUI created using GUIDE, and I need it to perform a certain operation after the GUI becomes visible but before control is handed over to the user. It seems that the figure becomes visible after the OpeningFcn runs, at which point the GUI's main function runs a last time. So it would seem I need to place my cod... 13 Jul 2010 05:26
urlread problem I'm trying to get data out of a password protected website. I can get urlread to go through the password to the main page but from there I can not get to the page I want to. I have tried copying that specific address with the password by all it says is my user credentials have expired. This is the same as if I paste th... 13 Jul 2010 04:20
Node locations in Trimesh Hi all, I'm trying to figure out the coordinates(x,y,z) of the nodes of a triangular mesh that I created using the trimesh function. Does anyone know of an easy way to figure out where the nodes are? Also, I need to know which nodes are connected to all the other nodes. My shape is circular and thus I had to use pol... 13 Jul 2010 10:52 |