not able to call function,show plot error may be
Show older comments
Respected all,
I am a student and I am trying to make a program in matlab.
I have a book and I have copied program from that book but I am getting error.
Please help me as I am new to this and I need this for my study.
I will try to attach the files here.
Thanks in Advance.
3 Comments
KALYAN ACHARJYA
on 11 Aug 2019
Please make it simple, so that people are interest to try on it. Try with one by one function file?
Any Issues?
umang modi
on 11 Aug 2019
dpb
on 11 Aug 2019
Well, it's a little much to expect folks to do your work for you...contacting the source of the program would be the first place to go if it doesn't run as provided.
Altho you could attach the code the way you tried to execute it and the resulting error message--if it's something that you didn't call the function correctly or the like probably somebody can spot it.
If it's a real problem inside the other code, that's a lot more of an issue for volunteers to tackle...
Answers (1)
umang modi
on 12 Aug 2019
3 Comments
dpb
on 12 Aug 2019
That's not the entire message in context...need everything in red plus the command that started the script.
dpb
on 12 Aug 2019
[MOVED Answer to COMMENT--dpb]
this is the command:
cam = CamMotion(cam,showPlot);
and this is the error:
Undefined function or variable 'showPlot'.
Error in CamDesigner (line 32)
cam = CamMotion(cam,showPlot
as per my attachement u can run the files and see if I am not able to explain sir.
Thanks
dpb
on 12 Aug 2019
Looks like showPlot is a flag variable for user to create...
showPlot=true;
cam = CamMotion(cam,showPlot);
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!