bug in lang\makeValidName.m ?
조회 수: 4 (최근 30일)
이전 댓글 표시
S = {'Item_#','Price/Unit','1st order','Contact'}; N = matlab.lang.makeValidName(S)
Then error looks like: Reference to non-existent field 'TextType'.
Error in matlab.lang.makeValidName>parseInputs (line 186) TextType = parser.Results.TextType;
Error in matlab.lang.makeValidName (line 72) [names, replacementStyle, prefix, TextType] = parseInputs(names, varargin{:});
댓글 수: 0
채택된 답변
Fangjun Jiang
2017년 12월 5일
편집: Fangjun Jiang
2017년 12월 5일
In MATLAB R2016b, no problem with your code
>> S = {'Item_#','Price/Unit','1st order','Contact'}; N = matlab.lang.makeValidName(S)
N =
1×4 cell array
'Item__' 'Price_Unit' 'x1stOrder' 'Contact'
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Clocks and Timers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!