Run sections of Simulink diagram separately
Afficher commentaires plus anciens
So just as MATLAB code can section parts of the code and run them individually, I would like to do the same with Simulink. Some background: I have a robotic arm inverse kinematics as one section, the second section is a PID control on a DC motor. I want the end effector of the robotic arm to get in place first (the inverse kinematics section to run first) before the DC motor runs. The DC motor is separate from the robotic arm but the time and speed that it runs will depend on the robotic arm.
Is there a way to run them separately with some block, or have the program pause? Maybe I should keep the sections in separate files, save data from the first section to Workspace, then use that workspace data in the second section. Not sure, any advice?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Robotics dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!