Is there any way to disable code generation in Simulink
Ältere Kommentare anzeigen
Hi,
I have my own matlab function which I have entered into Simulink as MATLAB Function Block. I use design.lowerpass filter in it as well as other functions that Simulink Coder does not support. I don't want to generate C code for my Simulink model I just want to perform simulations and want Matlab to interpret my function. Is there any way to tell Simulink not to generate code? There seem to be no option to have no target is Simulink. What will happen if I remove Simulink Coder from my path? All the help files are full of how to generate code but none tell how not to generate it.
Regards
Adam
Akzeptierte Antwort
Weitere Antworten (2)
Gijs van Oort
am 6 Mai 2013
1 Stimme
Have a look at the coder.extrinsic function within you %codegen'ereated function.. Otherwise, you could try to use the 'interpreted matlab function' and call your self-written m-file which does what you want. (note that the terminology on these user-defined functions has changed somewhere between Matlab2010 and 2012, so have a wide look around in the User-defined functions if you cannot find the adequately named block.
1 Kommentar
Adam
am 6 Mai 2013
Shashank Prasanna
am 6 Mai 2013
0 Stimmen
Have you tried using this?:
1 Kommentar
Adam
am 6 Mai 2013
Kategorien
Mehr zu Filter Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!