Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Change Simulink function exported prototype
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I'm trying to generate a set of public functions that will serve as interface to my module once I generate C code from it. I'm setting up a number of Simulink Functions in the top level of that model and in general it works as intended.
The only problem is that I can't control the function naming once the C file gets generated. It always generates it in the format of ModuleName_FunctionName(args), but the coding guidelines from the company I work for state that we must use ModuleName__FunctionName(args), with the double underscore.
How can I achieve this? I'm sending attached a sample model with a single Simulink function.
2 Kommentare
TAB
am 14 Aug. 2018
Which Matlab Version?
In my Matlab 2015b, I can easily control the function name (file name is always same as function name) in Simulink Function Block.
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!