plotly_matlab icon indicating copy to clipboard operation
plotly_matlab copied to clipboard

Use try catch instead of isempty() to check if variable exists

Open sameehj opened this issue 4 years ago • 1 comments

If DisplayName doesn't exist for some reason we might get the following error [0].

Simply use try catch to store the name.

[0] - Unrecongnized field name "DisplayName".

Signed-off-by: Sameeh Jubran [email protected]

sameehj avatar Aug 08 '21 10:08 sameehj

Hi @sameehj! This PR fix the issue #280?

I fixed that issue 2 days ago.

Can you please clarify us what issue is fixed with this PR? Thanks!

gilbertogalvis avatar Aug 09 '21 00:08 gilbertogalvis