How to run a SimMechanics robot model iteratively using Matlab code?
1 次查看(过去 30 天)
显示 更早的评论
Does anyone know how to run a SimMechanics robot model iteratively using Matlab code? Specifically, I first established a robot model using SimMechanics. After that, I constructed a neural network based controller using Matlab code, which can output signals to actuate the robot joints. The weights for the neural network are randomly generated. To optimize the weights of the neural network, I employed an evolutionary algorithm. To generate initial populations for the evolutionary algorithm, I used the following pseudo codes.
for 1:popsize
Run Neural Network;
Run SimMechanics Model;
Generate Population Individuals;
end
Can someone tell me how to achieve it? Many thanks!
0 个评论
采纳的回答
Sebastian Castro
2015-7-24
The following video is a good introduction to some things you can do. It talks about parallel computing also, but you can ignore it if you want.
- Sebastian
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Robotics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!