Increase code efficiency for non-existent city

Hi
I need help!
The code can be found in:
However, this code does not work for non-existent city. How can I improve this code?
Sincerely
Ana

2 Comments

You change the error() to set appropriate values and return()
Thanks Walter!
Now, it works.
Sincerely
Ana

Sign in to comment.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 1 May 2019

Commented:

on 1 May 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!