NI產品與技術 討論區

取消
顯示結果 
搜尋替代 
您的意思是: 

matlab script 輸出矩陣問題

已解決!
前往解決方案

計算後,無法得到完整的矩陣數值

sad01.JPG

0 積分
1 條訊息(共 5 條)
6,778 檢視

忘了附上

LabVIEW 8.5

matlab  6.5

0 積分
2 條訊息(共 5 條)
6,775 檢視

您好,根據您的問題,若將Matlab Script改成Mathscript架構的話,相同的程式碼是可以執行的,可以麻煩您將斷線的說明附上提供參考嗎?

附上使用mathscipt執行後的結果給您,謝謝

0 積分
3 條訊息(共 5 條)
6,769 檢視

執行後的結果

 

You have connected a scalar (non-array) data type to an array of the same data type. This type conflict may be resolved by building the scalar type into an array. Check for a tunnel on a loop that has indexing incorrectly disabled.
The type of the source is double [64-bit real (~15 digit precision)].
The type of the sink is 1-D array of
double [64-bit real (~15 digit precision)].

0 積分
4 條訊息(共 5 條)
6,765 檢視
解決方案
由主題作者所接受 ps22331

我自己找到解決的方法現在我把我的方法放上來

改變輸出的狀態

未命名.JPG

0 積分
5 條訊息(共 5 條)
6,751 檢視