I dont know why my model has this error because in my code,i have never ust SQRT function.Hope all you help me,especially Sebastian.
MATLAB: An error occurred while running the simulation and the simulation was terminated Caused by: Domain error. To compute complex results from real x, use ‘sqrt(complex(x))’.
simulinksqrt error
Related Question
- What can I use as a Plus or Minus sign
- Error struct with field
- Matrix
- I want to solve an equation which is complex in nature as well as complex in structure. I wrote a simple code which is not working. I have no idea how to solve that equation. I am attaching the code that i wrote and equation image
- Constraints on meshgrid. Remove points outside function
Best Answer