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.

 Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 11 Avr 2011

0 votes

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.

Plus de réponses (0)

Catégories

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by