use python in matlab (about how to write "with as" syntax)

I want to use tensorflow in Matlab, but I dont known to write "with XXX as XXX:" in Matlab. Source Python code and Matlab code are shown below:
PYTHON:
MATLAB:

回答 (0 件)

この質問は閉じられています。

製品

質問済み:

2019 年 7 月 16 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by