MATLAB Answers

I'd like to know how can I model a sprind-damper dynamic system in Matlab Code. My goal is to simulate the dynamic behavior of a motorcycle as it rides over a bump. I'd use any help.

2 views (last 30 days)
joan oliver
joan oliver on 3 Aug 2020
Answered: Rhea Chandy on 29 Mar 2021
I'd like to know how can I model a sprind-damper dynamic system in Matlab Code. My goal is to simulate the dynamic behavior of a motorcycle as it rides over a bump. I'd like to model it in Matlab code, I've already done it in simulink. Any advisewill help.

Answers (1)

Rhea Chandy
Rhea Chandy on 29 Mar 2021
Since you have already modelled the system in Simulink, It seems like you are asking for a way to convert your Simulink model into Matlab. There is no documented way to do this, but as of R2020a you can use Simulink Compiler to compile your model and use it with your deployed / compiled App Designer app.
This example shows you the workflow of creating a simulation app in App Designer and using Simulink Compile to deploy it.
For more information on Simulink Compilers, you can look here: Simulink Compiler

Community Treasure Hunt

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

Start Hunting!

Translated by