2413554_en-US

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

2413554_en-US

2413554_en-US

refence configuration path

In Simulink, when configuring the hardware, I am trying to change the directory for the reference configuration to a relative path.
Simulink -> HW-Settings -> Hardware Implementation -> Target hardware resources -> Referenced Configuration
Reference Configuration Path = '.\generated\referenced_config'

Unfortunately, it is not possible to enter a relative path here.
Nor have I so far been able to set the path via a MATLAB script.
Although the script appears to set the path in CoderTargetData, it is not actually applied.
Either the old path remains active, or an empty path is applied.

Is there a way to set a relative path for the reference configuration?

Re: refence configuration path

Hi, @AlexG124,

Thanks for the details. Could you please help us and let us know what are the MBDT toolbox version, as well as the MATLAB version that you are currently using?

In case you are using S32K3 toolbox, there is a model example showcasing the referenced configuration workflow, under model_ref/s32k3xx_refconfig_s32ct folder. Here you will find a MATLAB script called s32k3xx_refconfig_update_paths_callback.m that could help in achieving your goal.

It will be also helpful if you could let us know more details on your referenced configuration way of working, usage and application flow.


Best regards,

Dragos

标记 (1)
无评分
版本历史
最后更新:
星期五
更新人: