How to Configure simulink out-ports to generate specific argument of function?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
So I want to generate the code for a function where it gives the argument as shown in the image below. So what configuration should be done in simulink outports to get argument as this?

0 Commenti
Risposta accettata
stozaki
il 16 Gen 2020
How do you use model referencing?
You can add arguments by using a model reference and setting the storage class of the output to Auto.
By the way, the next document is the contents of R2019b.
Regards,
stozaki
2 Commenti
stozaki
il 17 Feb 2020
Modificato: stozaki
il 17 Feb 2020
@Amit,
I think this is a limitation of Embedded Coder.
If you do not use Model Reference, use Atomic Subsystem.
The setting at that time is Reusable Function and the storage class is Exported Global or auto storage. but argument are " * " pointer.
Regards,
stozaki
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!