Can somebody spot the issue in the code?
2 views (last 30 days)
Show older comments
Hello
I have written the code "fourBarSim.m" which is a fourbar linkage simulation. I have also given the code "Project_2_Checker.m" which is for checking the work. When I compare the visualization to the visualization of the Project_2_Checker and it's numeical calculation, everything seems to be exactly what it should be but the cheker gives 0% and says that it is incorrect. I need the code to pass the checker and I was hoping somebody could spot what is wrong with what I have done. I also need to provide two .p files for the Project_2_Checker but I cannot upload .p files so I changed the extension to .m but if you want to run these two files please change the .m of "Auto_Grader_2_Function.m" and "fourBarSimCorrect.m" to .p. I very much hope somebody can help me out. Thank you!
Edit: Thank you for the comments. I removed:
% INITIALIZATION
% clear all variables
clc
clear
and the issue remains
2 Comments
Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!