Where is the problem 2
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
where is the problem
UserData.matrix(1,2)=num2cell(sym(char(strcat(get(handles.edit7,'string'),',',get(handles.edit6,'String')))))
???
채택된 답변
John Petersen
2013년 3월 11일
One too many parentheses ). Take one off.
댓글 수: 10
John Petersen
2013년 3월 28일
Please break up the code like this
a1 = get(handles.edit6,'String');
a2 = si_co_str{si_co_val};
a3 = get(handles.edit5,'string');
a4 = strcat(a3,'_',char(a2),'_',char(a1));
a5 = sym(char(a4));
UserData.matrix(1,1)=num2cell(a5);
Then perhaps we can see what's going on.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!