From: Floris Zoutman on 14 Apr 2010 09:53 I am trying to use the symbolic toolbox but there seems to be an extremely stupid bug in my version of matlab. I have tried the following line of code: x=sym('x') y=log(x) output: y=ln(x) f=matlabFunction(y) output f=@(x)ln(x) f(3) output: Error unknown function ln. For some reason matlab's symbolic toolbox seems to replace the function log, which is a built-in function to calculate the natural logarithm of a number, with the function ln, a function that does not exist. Can anybody tell me why this happens and how to fix it? I am using Matlab R2009A 32-bit on Windows XP. Many thanks for your help! With kind regards, Floris
From: almog shalom on 25 Apr 2010 09:17 Your bug is very strange, indeed. I use R2009a on Linux (Suse) with x86_64 architecture and don't have this bug.
|
Pages: 1 Prev: Find path of the application on MAC OSX Next: Running a slideshow in PowerPoint from Matlab |