naaz
September 29th, 2006, 12:52 AM
hello people...i have recently started using MatLab and well it is the greatest tool around...sure we should have a matlab forum...\
and please i was having a problem in matlab...if please someone can help..
i used the radon function from the image procesing toolbox, but it gave this error..
"??? Attempt to execute SCRIPT radon as a function.
Error in ==> radon at 4
[R xp] = radon(I,theta);"
wat does it mean, how can i rectify it?
yiannakop
October 6th, 2006, 05:08 AM
hello people...i have recently started using MatLab and well it is the greatest tool around...sure we should have a matlab forum...\
and please i was having a problem in matlab...if please someone can help..
i used the radon function from the image procesing toolbox, but it gave this error..
"??? Attempt to execute SCRIPT radon as a function.
Error in ==> radon at 4
[R xp] = radon(I,theta);"
wat does it mean, how can i rectify it?
Hi. I believe this last post should be posted in the Algorithms Forum. If the moderators find it necessary, they could move this post (along with mine) in the specific forum. Anyway, I suspect you have created in your working directory an m-file named "radon" which has no arguments (i.e. it is a script function) and has a call to the radon() function. If this is the case, then you should not do that: matlab is confused, since it finds a call at radon m-file and is first looks at the working directory (not in the image processing toolbox directory). I think you should rename your m-file.
Hope I helped,
Best regards,
Theodore