Simulink reference model keeps compiling

Hi Matlab Community,
I have a question on reference model on simulink.
I am working with a top model that includes reference model (pre-compiled to accelerate the compilation of the top model).
However, even of the reference model hasn't changed simulink tells me that the model has change and must be saved (sometimes) and other times just recompile it despite no changes were made on it.
I have 4 reference model in the top model and only one has this problem.
There models are setup to compile on speedgoat real time targets.
I a can give you further information to help you in the better understanding of my problem, do not hesitate.
Thank you !

 採用された回答

Diego Kuratli
Diego Kuratli 2021 年 1 月 21 日

0 投票

Hi Gabriel,
Does the problematic reference model include Speedgoat drivers, or other particular blocks that are not included in the other reference models? If yes, which blocks?

5 件のコメント

Gabriel Lopes
Gabriel Lopes 2021 年 1 月 25 日
Hi Diego,
Thank you for your answer.
Yes, it incluses the IO Setup, Read and Send blocks from Speedgoat Blockset for the IO682 card (Arinc).
However, another model including setup, read/send for IO941, IO107 and IO134 does not recompile everytime. The only model with an issue is the Arinc One. And it takes quite a lot of time so it is being very annoying to recompile.
I've checked the models' options, and both have the 'Recompile if changes detected' option ticked.
Diego Kuratli
Diego Kuratli 2021 年 1 月 25 日
It appears that the "Update Model" operation affects models with IO682 blocks. Please report the issue to Speedgoat Support.
Gabriel Lopes
Gabriel Lopes 2021 年 1 月 25 日
Ok, so nothing to do on the Matlab Simulink Side to avoid this useless compilations ?
Thanks for your support Diego.
Diego Kuratli
Diego Kuratli 2021 年 1 月 25 日
Correct, this does not seem a problem related to Simulink / Simulink Coder. The problem is that the IO682 blocks are somehow modifying the model even if there isn't any modification. If the model is modified, then Simulink Coder needs to recompile it.
Gabriel Lopes
Gabriel Lopes 2021 年 1 月 25 日
Thanks you !

サインインしてコメントする。

その他の回答 (1 件)

Ahmed Fahmy
Ahmed Fahmy 2024 年 1 月 5 日

0 投票

I have this problem and I am not using any SpeedGoat Drivers. Is there any other reason for this to happen?

カテゴリ

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by