Simscape block missing source code

2 Ansichten (letzte 30 Tage)
Joris Naudin
Joris Naudin am 29 Dez. 2021
Kommentiert: Joris Naudin am 12 Jan. 2022
Hi,
I would like to create a simscape component highly similar to the "Variable Orifice ISO 6358 (G)" but the source code isn't available.
How can I see it?
Thanks

Antworten (1)

Pratyush Roy
Pratyush Roy am 12 Jan. 2022
Hi Joris,
One can generate C/RTL code for the block using coders available and get the logic from there. This link might be helpful.
Otherwise it might be difficult to get access to the source code, as metioned in this answer.
Hope this helps!
  1 Kommentar
Joris Naudin
Joris Naudin am 12 Jan. 2022
Hi Pratyush,
Thanks for the reply. I can't find the "Code Generation" tab, here's what I see :
Are you sure this is will work even for Simscape components ?
Thank you !

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Sources finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by