Community Profile

Contact

Top 5% contributor

Dear All, I have been able to successfully compile a Fortran MEX file in Xcode on my Mac OS X (Lion) but the MEX crashes Matl...

0 Answers

0

Asked 2 years ago

Hi Peter, Is it possible for you to let me know how to perform the reverse interpolation you mentioned? Many thanks. Tony in ...

7131 views

Responded 7 years ago

Many thanks for the comments guys... I've included a snippet of my code to show exactly what I have.. The code functions well fo...

2831 views

Responded 6 years ago

Hi Guys, I'm not sure if it's an issue with Matlab or if I'm just doing something wrong. When I attempt to create a movie of a ...

Posted 6 years ago

Ok Stefan, After toying around with it for a few hours I finally got it to work... I even got the intel MKL to work as well.......

2248 views

Thanks Stefan, I've actually been able to get my hands on the files but I'm just a bit unclear on how to buld the required libr...

OK .....Thanks for that Bruno.... I have Matlab 2007a so I'm guessing I might have to upgrade to get the LAPACK capabilities t...

Hi All, I think I might be missing something but when I look at Matlab help on using LAPACK in a Fortran mex files the advance...

Posted 7 years ago

Thanks James!!! It worked like a charm... I opted for the following format to store the vertex nodes *pr++ = x+0.5*vCell.pts[...

2231 views

Responded 4 years ago

Hi All, I'm preparing an interface to a C++ Voronoi library and I've gotten to the point where I have the vertices for each cel...

Posted 4 years ago

Hi James, Many thanks for your patience...I just got my code to run perfectly... Using the Debbuger I noticed a few bugs and n...

2028 views

How do I get matlab to read a subroutine contained in a subroutine????? I seem to get an error when I sink a subroutine call w...

OOps Thanks James....you hit the nail on the head...... I have a quick question though.....My Fortan code originally consisted ...

Hi Rob... I'm giving the error obtained when using the mex myfile.f95 myfileg.f95 in matlab.. "s_anal8.f90(160) : Error: This...

Hi All, I'm currently trying to convert some f95 code to Mex files using Matlab 2007a but I'm having no luck.(Matlab does not ...

Charles, Glad to help. Best wishes, Tony

1665 views

Responded 2 years ago

Charles, Apologies for the delayed response! Please change the two lines defining the input and output for the subroutine Times...

Charles, I went through your code and have made a few modifications. Please see the amended code below and let me know if you ha...

Charles, I have not gone through your code in any detail but regarding the preprocessor directive please try changing the file e...

Hi James, I sent you an email stating what I did to get it sort of up and running..I've pasted it below just in case I messed u...

1644 views

Hi James, Within my fortran mex gateway code I retrive the output for the global stiffness matrix keglob using the following c...

Hi All, I'm trying to cheat a bit by having my Finite Element Consolidation code build up the global stiffness matrix via For...

James, Thanks for the speedy reply. I did not use the real*8, external :: mxgetscalar, since I was using your fortran 95 interfa...

1205 views

Dear All, I have been able to successfully compile a Fortran MEX file in Xcode on my Mac OS X (Lion) but the MEX crashes Matlab...

Posted 2 years ago

Ok Bruno, I'll have another look see.... In my first attempt I was only plotting the displaced mesh with a given x and y coord...

1090 views

Hi Bruno, Thanks for that one...but I have a silly question for you..... If I use the patch it plots each cell and thus retur...

Hi All, Does anyone have any idea on how to best plot finite element meshes with discontinuities(eg. cracks)? I have a crack i...

Hey All, I'm trying to create a movie of my output results but I'm having a bit of difficulty retaining the plots title and co...

918 views

Hi All, This might be an easy one but I seem to be stuck.... I have the stresses at four points within a Finite Element (4 Ga...

820 views

Dear All, I have developed a mex file that makes repeated calls to mxCreateDoubleMatrix and unfortunately when debugging using ...

628 views

Load more