Read Text File to add Simulink Blocks

Is there a clean way to read in a text file and based on its contents automatically add Simulink blocks based on text file contents?
The idea is to add blocks to a simulink model based on which items are configured in a text file.

 Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 11 de Abr. de 2011

0 votos

You can read in the text file using textread, and add blocks using add_block. Other functions that you can use to automate model creation are under Model Construction.

Más respuestas (0)

Categorías

Productos

Etiquetas

Preguntada:

el 11 de Abr. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by