当前位置:网站首页>Wu Enda's machine learning programming operation cannot be suspended pause problem solved
Wu Enda's machine learning programming operation cannot be suspended pause problem solved
2022-07-25 17:53:00 【totobey】
Wu Enda's programming operation of machine learning needs to be suspended , Although the original code has pause , But I found that in fact octave(5.1.0) Runtime , Code cannot pause .
Programming job code :
fprintf('Program paused. Press enter to continue.\n');
pause;After searching , Some comrades proposed a solution
For specific links, see :https://www.zhihu.com/question/345595943/answer/825541870
specific working means :
Create a new file , Save as .m Format , Write the next code to :
function pause
while true
str = input('','s');
switch str
case '' % (return key)
break;
otherwise
end
end
endThen save the file to your homework directory :

边栏推荐
- Step by step introduction of sqlsugar based development framework (13) -- package the upload component based on elementplus, which is convenient for the project
- Brief introduction of bubble sort and quick sort
- WPF 实现用户头像选择器
- go语言context控制函数执行超时返回
- Methods of de duplication and connection query in MySQL database
- Memory and packet buffer management of LwIP
- Excel表格 / WPS表格中怎么在下拉滚动时让第一行标题固定住?
- 简述冒泡排序与快速排序
- Go defer and recover simple notes
- RedisTemplate解决高并发下秒杀系统库存超卖方案 — Redis事务+乐观锁机制
猜你喜欢

绘制pdf表格 (一) 通过itext实现在pdf中绘制excel表格样式并且实现下载(支持中文字体)

What is an IP SSL certificate and how to apply for it?

Highlights

SLA 、SLO & SLI
Principle and implementation of UDP penetration NAT in P2P

Interviewer: talk about log The difference between fatal and panic

11、照相机与透镜

Automated test Po design model
![[solution] the Microsoft edge browser has the problem of](/img/47/7e20a4f1e04577153e7cf0a6c61f26.png)
[solution] the Microsoft edge browser has the problem of "unable to access this page"

Memory and packet buffer management of LwIP
随机推荐
An article about ultrasonic humidifier
Take you to a preliminary understanding of multiparty secure computing (MPC)
What is an IP SSL certificate and how to apply for it?
Redis源码与设计剖析 -- 16.AOF持久化机制
绘制pdf表格 (二) 通过itext实现在pdf中绘制excel表格样式设置中文字体、水印、logo、页眉、页码
Tme2022 campus recruitment background development / operation development / business operation and maintenance / application development written examination (I) a little self analysis of programming q
TME2022校园招聘后台开发/运营开发/业务运维/应用开发笔试(I)编程题的一点自我分析
Briefly describe synchronized and lock upgrade
Creation of unity Bezier curve
go接口变量的类型断言
How many points did NPDP pass? How to pass with high scores?
Several implementations of PHP to solve concurrency problems
OSPF---开放式最短优先路径协议
走马卒
RedisTemplate解决高并发下秒杀系统库存超卖方案 — Redis事务+乐观锁机制
Itextpdf realizes the merging of multiple PDF files into one PDF document
网上开期货账户安全吗?手续费怎么申请才低?
关于flickr的数据集笔记
WPF implements user avatar selector
什么是 IP SSL 证书,如何申请?