cellfunfun

cellfunfun is identical to cellfun but takes care for uniformOutput parameter

이 제출물을 팔로우합니다

cellfunfun is identical to cellfun with one improvement: you don't need to add that annoying (...,'uniformOutput','false') in the end, if it is necessary. In case it is not necessary, the function operates as if 'uniformOutput','true'. You can also explicitly set 'uniformOutput' to the value you wish.

example:
>> a = {'abc','def'};
>> cellfun(@(x)findstr('a',x),a)
Error using cellfun
Non-scalar in Uniform output, at index 2, output 1.
Set 'UniformOutput' to false.
>> cellfunfun(@(x)findstr('a',x),a)

ans =

[1] []

인용 양식

Hanan Shteingart (2026). cellfunfun (https://kr.mathworks.com/matlabcentral/fileexchange/42180-cellfunfun), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Data Type Identification에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0