Info

This question is closed. Reopen it to edit or answer.

How to pass values to S function through Mask Dialog and use those values in Processor-in-the Loop mode and external mode?

2 views (last 30 days)
Hello,
I have logic algorithm written in a S-function builder. I need to let the user pass values using a Mask Dialog to the S-Function which has to execute on the hardware or run in the PIL mode.
Example:
A parameter named "Speed" whose value I want to obtain from the Mask Dialog needs to be read inside the S-Function builder and perform appropriate action based on the value of "Speed".
How can this be achieved? Thanks in advance.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!