Running Robotics Toolbox Script 'mdl_planar3' from MATLAB Function block
1 次查看(过去 30 天)
显示 更早的评论
After running the script 'startup_rvc' in MATLAB, I have created a Simulink model with a PreLoadFcn: mdl_planar3, which helps me initialize and load 3 link planar mechanism's variables in MATLAB workspace from 'mdl_planar3.m' file.

The Simulink model is as shown:

with the Function Block's code:

When I try to run this code, its giving me several error's as shown below, mainly it does not recognize 'p3', which is already defined in Workspace.

Can someone please tell me how to fix it and run the Simulink model successfully?
Thanking You Harshil
0 个评论
回答(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!