Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

Reading a block state/output through the console during the simulation.

0 votes
Hi everyone!

Let's suppose that I forgot to insert a scope at the output of a block (in my case a Monoflop).

Now I have a very very slow simulation that takes more than two hours and I can't stop it... Is there a console command to get the output of the block with its path? I tried with " plecs('get','mdl/Monoflop') " but I get just the set parameters.

asked Jul 25, 2018 by nikilito (112 points)

1 Answer

+1 vote
Best answer

Unfortunately, no. You need to pre-specify in PLECS what nodes/signals you are interested in seeing either in a Scope/XY Plot/Display/To File/To Workspace (Blockset only) block before starting a simulation.

Kind regards,

answered Jul 25, 2018 by Kris Eberle (1,245 points)
selected Jul 25, 2018 by nikilito

I hoped there was a way!

Thanks a lot for your very quick answer!