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: 
change your requirements.txt to this (without specifying the versions, so that pip will install latest versions)

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

```
You can also look at this [question](https://stackoverflow.com/questions/24764549/upgrade-python-packages-from-requirements-txt-using-pip-command). From this question I took one of the answers which I think can solve your problem. It will not remove the package version but whenever you will install the requiremwnts.txt it will upgrade your packages to the latest versions.

`pip install pip-upgrader`

Activate your virtualenv (important, because it will also install the new versions of upgraded packages in current virtualenv).

cd into your project directory, then run:

`pip-upgrade`

If the requirements are placed in a non-standard location, send them as arguments:

`pip-upgrade path/to/requirements.txt`

If you already know what package you want to upgrade, simply send them as arguments:

`pip-upgrade -p django -p celery -p dateutil`