Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by