Simulink scheme text and block recognition - how to approach

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on Language Support in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!