I find a parse error in this following MATLAB code.

1 回表示 (過去 30 日間)
Md Shahidul Islam
Md Shahidul Islam 2021 年 7 月 18 日
コメント済み: Md Shahidul Islam 2021 年 7 月 18 日
calibration = ('rms': result(0), 'camera_matrix': result(1).tolist(),
'dist_coefs': result(2).tolist(),
for t = enumerate(result(3))
disp('rotational_vectors':("image" + str(t.c)): t.x.tolist());
end
for t = enumerate(result(4))
disp('translational_vectors': ("image" + str(t.c)): t.x.tolist())
end
for t = enumerate(imageFileNames)
disp('image_files_names': t.c, t.x)
end
); %%%(here I find parse error)
  1 件のコメント
Md Shahidul Islam
Md Shahidul Islam 2021 年 7 月 18 日
Please anyone help me.

サインインしてコメントする。

採用された回答

KSSV
KSSV 2021 年 7 月 18 日
calibration = struct ;
calibration.rms = result(0) ;
calibration.camera_matrix = result(1).tolist();
calibration.dist_coefs = result(2).tolist() ;
for t = enumerate(result(3))
disp('rotational_vectors':("image" + str(t.c)): t.x.tolist());
end
for t = enumerate(result(4))
disp('translational_vectors': ("image" + str(t.c)): t.x.tolist())
end
for t = enumerate(imageFileNames)
disp('image_files_names': t.c, t.x)
end
  1 件のコメント
Md Shahidul Islam
Md Shahidul Islam 2021 年 7 月 18 日
Thank you so much brother

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTroubleshooting in MATLAB Compiler SDK についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by