Borrar filtros
Borrar filtros

how can I replace a block?

1 visualización (últimos 30 días)
ACHRAF RAYANI
ACHRAF RAYANI el 6 de Mayo de 2013
I created a library (. Lib). I want to replace a block in my model with that of my library. How can we replace by a script? thank you

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 6 de Mayo de 2013
Please see replace_block.
  2 comentarios
ACHRAF RAYANI
ACHRAF RAYANI el 7 de Mayo de 2013
I need to replace a block that is contained in my own library not in simulink library
thnx
Kaustubha Govind
Kaustubha Govind el 7 de Mayo de 2013
Achraf: Does it not work if you make sure that your library is loaded (use load_system) and use the full path to the new block with replace_block? Could you please provide the exact syntax that you're using?

Iniciar sesión para comentar.

Categorías

Más información sobre Embedded Coder en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by