CanReplay from Vehicle Tool Box in accelerator Mode in reference model

2 views (last 30 days)
I am using
  • MATLAB Version: 9.1.0.441655 (R2016b)
  • Vehicle Network Toolbox : Version 3.2
I have a reference model using CanReplay block.
When building top model in accelerator mode, I have the following error :
Error reported by S-function 'MIL_AB2_CAN_Replay_msf' in 'MIL_AB2/TmpSFcnForModelReference_AB2_CAN_Replay':
Could not open library: slhostlibcanreplay.dll.
To run the generated code outside the MATLAB environment, use the packNGo function.
When running only model that uses CanReplay block, there is no issue with accelerator mode.
Is there a way to use CanReplay block in reference model, and run it in accelerator mode ?
The only solution found, is to copy the dll in the folder in which simulation is executed.
Regards,
Laurent

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!