The PIL simulation reports an error, and the host and target board subdata types do not match. How to solve this problem, I am using the PIL module generated by stateflow, the input and output type of defining the stateflow data is double
古いコメントを表示
### Starting application: 'HysteresisControl_ert_rtw\pil\HysteresisControl.out' Starting PIL simulation *** User inputs: Target Configuration: C:\Users\MAXHK\ti\CCSTAR~1\DSP283~1.CCX Program Name: C:\testtt\HYSTER~1\pil\HYSTER~1.OUT Board Name: unspecified (connect to first board) CPU Name: unspecified (connect to first CPU) *** Starting debug session... *** Debug Session Name: Texas Instruments XDS100v3 USB Debug Probe_0/C28xx *** Board Name: Texas Instruments XDS100v3 USB Debug Probe_0 *** CPU Name: C28xx *** Connecting to target... *** Loading the program to the target... *** Program is running. *** Disconnecting from target... *** Terminating debug session... *** LOAD & RUN DONE.
Data type "double" is not supported for SIL or PIL execution with the current target configuration. This is because the host size (8 bytes) and target size (4 bytes) do not match. To avoid this error, do not use this data type at the component interface.
Component:Simulink | Category:Model error
3 件のコメント
ashwinee jadhao
2019 年 2 月 22 日
I have same error:
Data type "double" is not supported for SIL or PIL execution with the current target configuration. This is because the host size (8 bytes) and target size (4 bytes) do not match. To avoid this error, do not use this data type at the component interface.
Please suggest any solution.
Thanks
ashwinee jadhao
2019 年 2 月 22 日
Hello I got solution meanwhile.
Thank you
S Saha
2020 年 5 月 14 日
Recently I am facing the same error mentioned above , Can you please help to come out of this problem with your solution
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Processor-in-the-Loop Simulation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!