Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

xPC Target - Manipulating Source Blocks without Rebuilding Models

5 visualizaciones (últimos 30 días)
Ale
Ale el 31 de Mayo de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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!!!

Respuestas (1)

Michael Wittkopf
Michael Wittkopf el 7 de Ag. de 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.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by