saving . . . saved How to get an error message in XCOS? has been deleted. How to get an error message in XCOS? has been hidden .
How to get an error message in XCOS?
Title
Question
I have one simulation model and still did not figure it out what is the error as error message is not showing up. Thank you

The error is that my simulation work only for 0 second which is error but I dont how to overcome it. 

I will pay 400INR  for it if someone solve the error and explain me like tutions. Thank you

  "[verboseMessage] time = 0] {} Kalman_Filter_SIM: Calling with flag Ending(5)"

  "End of simulation for Kalman Filter block."

  "[verboseMessage] time = 0] {} System_SIM: Calling with flag Ending(5)"


</span>

Scilab Xcos-Introduction 00-01 min 0-10 sec 07-11-24, 4:48 a.m. vimsrocz@gmail.com

Answers:

1. Enable verbose logging:
   - Go to `Simulation > Setup` in XCOS
   - Check "Verbose" option to get more detailed messages

2. Common causes for 0-second simulation:
   - Algebraic loops in your model
   - Initialization errors in blocks
   - Incorrect solver settings (try changing to fixed-step solver)
   - Missing connections or undefined variables

3. Debugging steps:
   - Check all block parameters for valid values
   - Look for red highlights indicating errors
   - Try simplifying your model to isolate the issue

4. For your specific case:
   The "Ending(5)" flag suggests an early termination. This often occurs when:
   - A block fails to initialize properly
   - There's a division by zero or similar mathematical error
   - The Kalman Filter block has incorrect parameters

To properly diagnose, we would need to see your complete model structure and block parameters. The error is likely in how your Kalman Filter block is configured or connected.
22-05-25, 12:03 p.m. rashpat93


Log-in to answer to this question.