convert simulink block to matlab code

3 Ansichten (letzte 30 Tage)
Kiran Mahmood
Kiran Mahmood am 11 Okt. 2018
Bearbeitet: Harsh am 1 Aug. 2024
how to convert simulink built-in block to matlab code? link? tutorial?
  2 Kommentare
Saurabh
Saurabh am 31 Jul. 2024
Hi Kiran,
While you can write a Simulink block in MATLAB code, not all Simulink blocks are written in MATLAB. Converting a Simulink block to C code may be the only way to see the logic, which you can then rewrite in MATLAB if required.
As for trying to look under the hood, unfortunately many of Simulink's block diagrams are proprietary code.
I hope this was helpful.
Harsh
Harsh am 1 Aug. 2024
Bearbeitet: Harsh am 1 Aug. 2024

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by