Viewing Source Code in built in simulink block?
96 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chandana
el 2 de Mayo de 2012
Respondida: hasan kasem
el 14 de En. de 2021
Hi can someone tell me how I can view the matlab source code for a built in simulink block? I am trying to make a modified accumulator block for my simulink model and I'd like to know how the built in simscape version is implemented. I have matlab version r2010b. Thanks
0 comentarios
Respuesta aceptada
Más respuestas (2)
hasan kasem
el 14 de En. de 2021
To generate code, you must make the following changes:
- In the Modeling tab of the model toolstrip, click Model Settings. The Configuration Parameters dialog opens. Navigate to the Code Generation tab, select the Generate code only parameter, and click Apply.
- In the Apps gallery, click Simulink Coder. The C Code tab appears. Click the Generate Code icon ().
0 comentarios
Ver también
Categorías
Más información sobre Data Logging en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!