Borrar filtros
Borrar filtros

Info

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

Editing parameter of a block by loading a file element

1 visualización (últimos 30 días)
Gianpiero Buzzo
Gianpiero Buzzo el 28 de Oct. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
i'm working with xPC Target tool. I'm using the UDP Send binary block to send data over a network. My question is: Is it possibile set the IP address automatically?
As simulation starts, my model load a configuration file from target HDD, how can I save the IP address in that file, and use it in my model at starting of simulation?
I think to sava it as a string variable, when simulation starts, load that one from file and pass the variable name to the block. Is it a possible way to fix my issue?
hoping to be clear.
PS: I'm just using the configuration file. I load it at beginning of simulation, and save all data in Data memory block. it works fine.
Best Regards

Respuestas (0)

La pregunta está cerrada.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by