santdiego / simExtSimulink

Plugin and blocks to communicate the CoppeliaSim robotic simulator with the Matlab Simulink environment.
BSD 2-Clause "Simplified" License
21 stars 9 forks source link

Cannot load library C:\\Program Files\\CoppeliaRobotics\\CoppeliaSimEdu\\simExtSimulink.dll #3

Open dilshan-dev opened 1 year ago

dilshan-dev commented 1 year ago

Hi,

Thank you for the excellent work you have made available. I'm getting the following error when running the example as well as my custom project.

[/Pioneer_p3dx@childScript:error] [string "/Pioneer_p3dx@childScript"]:19: attempt to index a nil value (global 'simulinkTable') stack traceback: [string "/Pioneer_p3dx@childScript"]:19: in function 'sysCall_actuation'

Any help that can be provided to resolve it is much appreciated!

I was able to compile the plugin. Thank you!

Kind regards, Dilshan

dilshan-dev commented 1 year ago

Hi again,

I followed your comments on the Coppelia forum about the issue mentioned in the topic. I also rebuilt the plugin by following instructions, but I can see the following error in the console when loading CoppeliaSim.

[CoppeliaSim:loadinfo] plugin 'Simulink': loading... error: library ( C:/Program Files/CoppeliaRobotics/CoppeliaSimEdu/simExtSimulink.dll ) load: "Cannot load library C:\Program Files\CoppeliaRobotics\CoppeliaSimEdu\simExtSimulink.dll: The specified module could not be found." [CoppeliaSim:error] plugin 'Simulink': load failed (could not load). The plugin probably couldn't load dependency libraries. Try rebuilding the plugin.

Could you please provide some insights on how to resolve this? I look forward to a favorable reply soon.

Thank you!

Kind regards, Dilshan