错误使用 sprintf 无法将 'matlab.ui.Figure' 值转换为 'int64'

3 Comments

你好,请问这个问题你解决了吗
你好能教教我吗,很急
你把图当作数值输出怎么可能成功

Sign in to comment.

Answers (1)

埃博拉酱
埃博拉酱 on 24 Apr 2022

0 votes

gcf是当前图窗Figure对象,又不是一个数值,怎么可能用sprintf当作数值输出呢?你要输出图像编号的话就得手动指定一个数值编号

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Asked:

on 6 Oct 2019

Answered:

on 24 Apr 2022

Community Treasure Hunt

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

Start Hunting!