Simulink scheme text and block recognition - how to approach

1 次查看(过去 30 天)
Hello everyone,
Im facing to some challenging problem and i would like to discuss and share some ideas with you.
I need to create tool which should be able to representing Simulink block scheme as a text. This text will be used as a requirement for another documents. In ideal case - you will import picture of model in simulink to this tool and it should be able to say you for example : output1 is represented as a logical OR of function fcn1 and fcn2.
(or simply something like input 1 and Input 2 goes to block AND1...)
I would like to ask whats the best way how to do it. I was thinking about some deep learning process or image recognition (can work for blocks) and OCR (for text - i already tried).
Or maybe try to export simuilnk block to matlab ( i did it with some easy script) - but there is a issue that im not able to export signal names. Or is there any way how to do it? If i can extract all needed data (types of blocks, signal names...) there should be way how to make some tool.
Im also able to generate C code from Simulink and see the conditions.
Thanks for your help and any ideas, im open to all kind of interesting solutions, i would like to improve my skills in Matlab on this project.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Language Support 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by