Why is it hardcoded to use <modelname>.sldd as data store?

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

Why is it hardcoded to use <modelname>.sldd as data store?

跳至解决方案
1,854 次查看
Henrik-Wires
Contributor IV

Why does the NXP MBDT hardcode <modelname>.sldd as external data store?

This conflicts with other uses of external model data store, and makes using referenced configurations harder than it needs to be.

Mathworks recommended setup for referenced configurations is to use a common shared sldd for the configurations in the project, and link this to each model. But if you do this method with NXP MBDT then MBDT overrides the data store next time you open the model, and MBDT also gets very confused.

0 项奖励
回复
1 解答
1,747 次查看
dragostoma
NXP Employee
NXP Employee

Hi, @Henrik-Wires,

For reference, you can review the s32k3xx_refconfig_s32ct model structure located in the model_ref folder. This example illustrates how referenced configurations are applied within a model‑reference hierarchy: the top‑level model’s SLDD is referenced by the subordinate models through the use of Referenced Dictionaries.

dragostoma_0-1766398120533.png

If you prefer to apply the referenced‑configuration approach within a standard model hierarchy (rather than a model‑reference hierarchy), you can create a standalone SLDD file and reference it from each model‑specific SLDD that requires this configuration. This is done using the same mechanism described earlier, through the Referenced Dictionaries section.

 

Hope this helps, 

Dragos

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,748 次查看
dragostoma
NXP Employee
NXP Employee

Hi, @Henrik-Wires,

For reference, you can review the s32k3xx_refconfig_s32ct model structure located in the model_ref folder. This example illustrates how referenced configurations are applied within a model‑reference hierarchy: the top‑level model’s SLDD is referenced by the subordinate models through the use of Referenced Dictionaries.

dragostoma_0-1766398120533.png

If you prefer to apply the referenced‑configuration approach within a standard model hierarchy (rather than a model‑reference hierarchy), you can create a standalone SLDD file and reference it from each model‑specific SLDD that requires this configuration. This is done using the same mechanism described earlier, through the Referenced Dictionaries section.

 

Hope this helps, 

Dragos

0 项奖励
回复
1,457 次查看
Henrik-Wires
Contributor IV
Thanks. I'll give it a try.
0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2267019%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%B8%BA%E4%BB%80%E4%B9%88%E7%A1%AC%E7%BC%96%E7%A0%81%E4%BD%BF%E7%94%A8%3CMODELNAME%3E.sldd%20%E4%BD%9C%E4%B8%BA%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%EF%BC%9F%3C%2FMODELNAME%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267019%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%B8%BA%E4%BB%80%E4%B9%88%E6%81%A9%E6%99%BA%E6%B5%A6%20MBDT%20%E7%A1%AC%E7%BC%96%E7%A0%81%3CMODELNAME%3E.sldd%20%E4%BD%9C%E4%B8%BA%E5%A4%96%E9%83%A8%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%EF%BC%9F%3CBR%20%2F%3E%3CBR%20%2F%3E%E8%BF%99%E4%B8%8E%E5%A4%96%E9%83%A8%E6%A8%A1%E5%9E%8B%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%E7%9A%84%E5%85%B6%E4%BB%96%E7%94%A8%E9%80%94%E7%9B%B8%E5%86%B2%E7%AA%81%EF%BC%8C%E5%B9%B6%E4%BD%BF%E5%BC%95%E7%94%A8%E9%85%8D%E7%BD%AE%E7%9A%84%E4%BD%BF%E7%94%A8%E5%8F%98%E5%BE%97%E6%AF%94%E9%A2%84%E6%9C%9F%E7%9A%84%E8%A6%81%E9%9A%BE%E3%80%82%3C%2FMODELNAME%3E%3C%2FP%3E%3CP%3EMathworks%20%E6%8E%A8%E8%8D%90%E7%9A%84%E5%8F%82%E8%80%83%E9%85%8D%E7%BD%AE%E8%AE%BE%E7%BD%AE%E6%98%AF%E4%B8%BA%E9%A1%B9%E7%9B%AE%E4%B8%AD%E7%9A%84%E9%85%8D%E7%BD%AE%E4%BD%BF%E7%94%A8%E9%80%9A%E7%94%A8%E5%85%B1%E4%BA%AB%20sldd%EF%BC%8C%E5%B9%B6%E5%B0%86%E5%85%B6%E9%93%BE%E6%8E%A5%E5%88%B0%E6%AF%8F%E4%B8%AA%E6%A8%A1%E5%9E%8B%E3%80%82%E4%BD%86%E6%98%AF%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%BF%E7%94%A8%E6%81%A9%E6%99%BA%E6%B5%A6%20MBDT%20%E6%89%A7%E8%A1%8C%E6%AD%A4%E6%96%B9%E6%B3%95%EF%BC%8C%E9%82%A3%E4%B9%88%E4%B8%8B%E6%AC%A1%E6%89%93%E5%BC%80%E6%A8%A1%E5%9E%8B%E6%97%B6%20MBDT%20%E5%B0%B1%E4%BC%9A%E8%A6%86%E7%9B%96%E6%95%B0%E6%8D%AE%E5%AD%98%E5%82%A8%EF%BC%8C%E8%80%8C%E4%B8%94%20MBDT%20%E4%B9%9F%E4%BC%9A%E5%8F%98%E5%BE%97%E9%9D%9E%E5%B8%B8%E6%B7%B7%E4%B9%B1%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2267654%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Why%20is%20it%20hardcoded%20to%20use%20%3CMODELNAME%3E.sldd%20as%20data%20store%3F%3C%2FMODELNAME%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267654%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F255097%22%20target%3D%22_blank%22%3E%40Henrik-Wires%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%E4%BD%9C%E4%B8%BA%E5%8F%82%E8%80%83%EF%BC%8C%E6%82%A8%E5%8F%AF%E4%BB%A5%E6%9F%A5%E7%9C%8B%E4%BD%8D%E4%BA%8E%20%3CCODE%20translate%3D%22no%22%3Emodel_ref%3C%2FCODE%3E%20%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%AD%E7%9A%84%20%3CCODE%20translate%3D%22no%22%3Es32k3xx_refconfig_s32ct%3C%2FCODE%3E%20%E6%A8%A1%E5%9E%8B%E7%BB%93%E6%9E%84%E3%80%82%E6%AD%A4%E7%A4%BA%E4%BE%8B%E8%AF%B4%E6%98%8E%E4%BA%86%E5%A6%82%E4%BD%95%E5%9C%A8%E6%A8%A1%E5%9E%8B%E5%BC%95%E7%94%A8%E5%B1%82%E6%AC%A1%E7%BB%93%E6%9E%84%E4%B8%AD%E5%BA%94%E7%94%A8%E5%BC%95%E7%94%A8%E9%85%8D%E7%BD%AE%EF%BC%9A%E4%B8%8B%E7%BA%A7%E6%A8%A1%E5%9E%8B%E9%80%9A%E8%BF%87%E4%BD%BF%E7%94%A8%20%E5%BC%95%E7%94%A8%20%E5%AD%97%E5%85%B8%E6%9D%A5%E5%BC%95%E7%94%A8%E9%A1%B6%E7%BA%A7%E6%A8%A1%E5%9E%8B%E7%9A%84%20SLDD%E3%80%82%3CSTRONG%3E%3C%2FSTRONG%3E%3CSTRONG%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22dragostoma_0-1766398120533.png%22%20style%3D%22width%3A%20497px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dragostoma_0-1766398120533.png%22%20style%3D%22width%3A%20497px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22dragostoma_0-1766398120533.png%22%20style%3D%22width%3A%20497px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F370937i2040BFC4A3D06547%2Fimage-dimensions%2F497x178%3Fv%3Dv2%22%20width%3D%22497%22%20height%3D%22178%22%20role%3D%22button%22%20title%3D%22dragostoma_0-1766398120533.png%22%20alt%3D%22dragostoma_0-1766398120533.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E5%A6%82%E6%9E%9C%E6%82%A8%E6%9B%B4%E6%84%BF%E6%84%8F%E5%9C%A8%E6%A0%87%E5%87%86%E6%A8%A1%E5%9E%8B%E5%B1%82%E6%AC%A1%E7%BB%93%E6%9E%84%EF%BC%88%E8%80%8C%E4%B8%8D%E6%98%AF%E6%A8%A1%E5%9E%8B%E5%8F%82%E8%80%83%E5%B1%82%E6%AC%A1%E7%BB%93%E6%9E%84%EF%BC%89%E4%B8%AD%E5%BA%94%E7%94%A8%E5%8F%82%E8%80%83%E9%85%8D%E7%BD%AE%E6%96%B9%E6%B3%95%EF%BC%8C%E5%88%99%E5%8F%AF%E4%BB%A5%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E7%8B%AC%E7%AB%8B%E7%BB%84%E7%BD%91%20%5C(SA%5C)%20SLDD%20%E6%96%87%E4%BB%B6%E5%B9%B6%E4%BB%8E%E9%9C%80%E8%A6%81%E6%AD%A4%E9%85%8D%E7%BD%AE%E7%9A%84%E6%AF%8F%E4%B8%AA%E7%89%B9%E5%AE%9A%E6%A8%A1%E5%9E%8B%E7%9A%84%20SLDD%20%E4%B8%AD%E5%BC%95%E7%94%A8%E8%AF%A5%E6%96%87%E4%BB%B6%E3%80%82%E8%BF%99%E6%98%AF%E4%BD%BF%E7%94%A8%E5%89%8D%E9%9D%A2%E5%9C%A8%20%E2%80%9C%3CSTRONG%3E%E5%8F%82%E8%80%83%E8%AF%8D%E5%85%B8%3C%2FSTRONG%3E%E2%80%9D%20%E9%83%A8%E5%88%86%E4%B8%AD%E6%8F%8F%E8%BF%B0%E7%9A%84%E7%9B%B8%E5%90%8C%E6%9C%BA%E5%88%B6%E5%AE%8C%E6%88%90%E7%9A%84%E3%80%82%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E5%B8%8C%E6%9C%9B%E5%AF%B9%E6%82%A8%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%E3%80%81%20%3C%2FP%3E%0A%3CP%3E%E5%BE%B7%E6%8B%89%E5%8F%A4%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2290011%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Why%20is%20it%20hardcoded%20to%20use%20%26lt%3Bmodelname%26gt%3B.sldd%20as%20data%20store%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2290011%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E8%B0%A2%E8%B0%A2%E3%80%82%E6%88%91%E4%BC%9A%E8%AF%95%E8%AF%95%E7%9A%84%E3%80%82%3C%2FLINGO-BODY%3E%3C%2FLINGO-SUB%3E