Question: Assuming that 

```
outputTemp =

  2×1 cell array

    {122×1 string}
    {220×1 string}

```

`finalOutput` is a string array (`342x1 string`).

is there any way to do the following

```
outputTemp = arrayfun(@(x)someFunc(x), someInput, 'UniformOutput', false)';
finalOutput= [outputTemp{1}; outputTemp{2}];

```

in one line?

for the minimal example, `someFunc` can be a function that provides the names of the files in folders provided in `someInput`.

Answer: 
Consider if you had written your app in Django 2.x a few months ago and just had `Django` as dependency listed in your `requirements.txt`. Now that Django 3 is out, installing it now would cause a major version jump from Django 2 to 3 and *potentially* break half your app. And that’s just *one* of your dependencies. 

No, versions are fixed on purpose. Upgrading versions should be a conscious effort involving testing to confirm compatibility. You want to be running software in a **known good state**, not in a random unpredictable state. Version incompatibilities are not to be underestimated. pip can give you a [list of all outdated dependencies easily](https://pip.pypa.io/en/stable/user_guide/#listing-packages), and upgrading them is just another command. 

Anecdote time: [openpyxl](http://openpyxl.readthedocs.io) contained a [bug in version 3.0.1](https://bitbucket.org/openpyxl/openpyxl/issues/1367/getting-rows-with-values-only-in-read-only) recently which broke an important feature in our app. Do you know why we *weren't* affected by it? Because our `requirements.txt` uses fixed versions, and I found the issue by running our unit tests while upgrading dependencies manually, and choosing to *not* upgrade openpyxl because of it. Without fixed versions, our app would have been broken for a few weeks while openpyxl 3.0.1 was the most current version.
Use `sed` to remove version info from your `requirements.txt` file.
e.g.

```
sed 's/==.*$//' requirements.txt

```

will give output

```
asgiref
beautifulsoup4
certifi
chardet
Click
Django
idna
pytz
requests
six
soupsieve
sqlparse
urllib3

```

and this can be piped into `pip` to do the install

```
sed 's/==.*$//' requirements.txt | xargs pip install

```