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.

Accessing variables in C-Script for Rapid Prototyping Application

0 votes
409 views
We intend to use the RT box as a controller to drive a real machine. I would like to know if it is possible to have access to the variables defined in the C-Script without explicitly sending the signals out through the output port? (analogous to the trace file for Matlab S-Fcn in dSpace). The objective is to observe and tune multiple signals in real time.

Any help is appreciated!
asked Apr 23, 2018 by Anantaram (12 points)

1 Answer

+1 vote
No, this is not possible. Variables within a C-Script are only visible within the C code.
answered Apr 23, 2018 by Oliver Schwartz (618 points)
...