CanReplay from Vehicle Tool Box in accelerator Mode in reference model

2 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by