- Error #03166: Path:
The Stateflow chart's action language is not C, but MATLAB.
Solution:StateFlow頁(yè)面右鍵--->Properties...--->General--->Action Language選擇C - Error #03001: Path:
Saturation Dynamic block is not supported by TargetLink.
Soulution:對(duì)模塊自行封裝
備注和二,其他TargetLink不支持的模塊總結(jié):
-
Rounding block is not supported by TargetLink. The block is a built-in Simulink block.
3.Simulink模型轉(zhuǎn)化成TargetLink模型的時(shí)候,Data type convert不能自動(dòng)轉(zhuǎn)換,這樣會(huì)引起數(shù)據(jù)類型不一致的錯(cuò)誤笋妥。另外顶瞒,在將Simulink模型轉(zhuǎn)化成TargetLink模型后籽御,Display數(shù)據(jù)類型后枚尼,此時(shí)在線上顯示的數(shù)據(jù)類型為Simulink的數(shù)據(jù)類型而不是TargetLink的數(shù)據(jù)類型留搔。
4.TargetLink的項(xiàng)目路徑中不能包含中文8帧!否則隔显,Generater Code之后進(jìn)行Build SIL將報(bào)錯(cuò)却妨。