How can i get this to simulate.
Show older comments
Ive been tasked with a college group project to simulate a circuit in simulink featuring op amps. We have chose a line following robot found from online( first pic). I have the basic foundation of it done, however for the life of me cannot get it to simulate, with the errors giving me a pleathora of details I cannot figure out. If anyone has any idea or suggestion would be appreciated.


5 Comments
Walter Roberson
on 26 Mar 2026 at 20:07
What are the first few errors?
Eric
on 26 Mar 2026 at 21:23
Yifeng Tang
on 27 Mar 2026 at 13:52
Edited: Yifeng Tang
on 27 Mar 2026 at 13:53
I'm not an electrical engineer ... but I noticed the GND connection isn't connected to a ground (electrical reference). could that be why?
Or is that little box marked GND the ground?
Eric
on 27 Mar 2026 at 15:09
Walter Roberson
on 27 Mar 2026 at 20:51
At the moment, I do not see any stages in the IR sensors that take time. You have feedback, but there are no memory blocks, or hold blocks, or rate transition blocks, or anything else that introduce delays. Perhaps I overlooked something, but at the moment it looks to me as if you have an algebraic loop that Simulink would attempt to find the steady-state solution for all at the same time
Answers (0)
Categories
Find more on Magnetic Elements 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!