Info

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

xPC Target - Manipulating Source Blocks without Rebuilding Models

1 view (last 30 days)
Hi Everyone,
If I use a "Signal Builder" as a a source block for my Simulink model is there any way I can change the "Signal Group" that drives the model once it is built and loaded onto an xPC Target computer?
I am not limited to using the "Signal Builder", the idea is to be able to choose/alternate the Input/Source Signals that drives the model without having to rebuild the model all the time.
I have looked up the Help under xPC target section, looks like we can only at most manipulate scopes??
Many Thanks for any Suggestion/Help!!!

Answers (1)

Michael Wittkopf
Michael Wittkopf on 7 Aug 2012
I use the manual switch with multiple inputs hooked up. You can use different constants or different signal builder blocks and switch them while the simulation is running without rebuilding. It is not perfect, but saves alot of rebuild time.

Community Treasure Hunt

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

Start Hunting!