# \#sim

**URL:** https://forum.plexim.com/tag/sim/161.md

[Latest](https://forum.plexim.com/latest.md) · [Categories](https://forum.plexim.com/categories.md) · [Tags](https://forum.plexim.com/tags.md)

---

## [Sim command produces error](https://forum.plexim.com/t/sim-command-produces-error/1136)

<div class="topic-metadata">

**Author:** [@Alberto\_Sanchez](https://forum.plexim.com/u/Alberto_Sanchez)\
**Replies:** 1\
**Last updated:** [July 5, 2022, 4:41pm UTC](https://forum.plexim.com/t/sim-command-produces-error/1136 "2022-07-05T16:41:58Z")

</div>

Hi I am trying to run a model using PLECS blockset using the sim command in a script. The model runs just fine by pressing the run button, but when I try to use sim I get the following error: Warning: “Cannot execute m…
