Shared Simulink Cache Files doesn't work
Show older comments
Hello,
i using Matlab "R2020b" and i have problem in Cache files (.slxc),
i have a model Simulink Contains many Referance Models and when i compile the Model it take time ~5h and after the compiling of the Model, Matlab generate a Cache files succufly in my Computer for set up the speed of the compilation (~1h),but when i want to share the Cache files with another person it doesn't work in his Computer and the Model Simulink take many times to finish the Compilation (~5h again) and after the Compilation it doesn't generate another Cache files but it Modify on the existing Cache files that i generated
knowing that we use the Same Parmeters and the Version
Dignostic in My Computer:

Dignostic in the Computer of the Person :

and to Configure the Path of existing Cache files we use this scripte :
RootPath = pwd;
Cachefile_Path = fullfile(RootPath,'Cashe_file');
Simulink.fileGenControl('set', 'CacheFolder', Cachefile_Path );
set_param(0, 'CacheFolder', fullfile(RootPath,'Cashe_file'))
Can you guys help me to resolve this issue pls
Thank you,
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!