Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

how to find specific path from simulink model text file for all components?

1 view (last 30 days)
hello all of you, firstly I want to thank you for your tome to look at my question. actually I am working on matlab from last few months and i am beginner to matlab programming. actually i have one text file which has structure like:
mydata : model2
date: 10.12.2015
time: 12:45:00
system{
name: pid
stroutput : 'currentsignal'
system{
name: pidcomponentmain
stroutput : 'currentsignaloutmain'
system{
name: pidcomponent
stroutput : 'currentsignalout'
}
}
system{
name: pidcomponentin
stroutput : 'currentsignalinput'
system{
name: pidcomponent2
stroutput : 'currentsignalout2'
}
}
}
from this structure i want to find path for every component like:
pid/pidcomponentmain/pidcomponent
pid/pidcomponentin/pidcomponent2
so can you please help me out that how can I will find this path? I have only Text file, not actual model.above I have attached that text file too.
thank you so much in advance.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!