当前位置:网站首页>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 :

边栏推荐
- Pymongo saves data in dataframe format (insert_one, insert_many, multi-threaded saving)
- RestTemplate通过泛型实现POST、PUT、DELETE、GET、集合请求以及文件上传(可批量文件、可带参数)的统一封装(可打印日志)
- Mysql database common commands
- Mongodb cluster and sharding
- Hcip first day experiment
- Go defer and recover simple notes
- PHP解决并发问题的几种实现
- Postman get started quickly
- Is there any inconspicuous but profitable sideline?
- SDLC software development life cycle and model
猜你喜欢

排序还需要了解的信息以及链表

为什么数字化未来取决于3D实时渲染

Redis source code and design analysis -- 16. AOF persistence mechanism

我也是醉了,Eureka 延迟注册还有这个坑!

什么是 IP SSL 证书,如何申请?

Highlights

精彩记录

PageHelper还能结合Lambda表达式实现简洁的分页封装
P2P 之 UDP穿透NAT的原理与实现

Redistemplate solves the problem of oversold inventory in the seckill system with high speed - redis transaction + optimistic lock mechanism
随机推荐
WPF 实现用户头像选择器
RestTemplate通过泛型实现POST、PUT、DELETE、GET、集合请求以及文件上传(可批量文件、可带参数)的统一封装(可打印日志)
H5 test point (mind map)
WPF implements user avatar selector
简述Synchronized以及锁升级
Mock服务moco系列(一)- 简介、第一个Demo、Get请求、Post请求
Redis source code and design analysis -- 16. AOF persistence mechanism
Redis源码与设计剖析 -- 15.RDB持久化机制
Hcip first day experiment
OSPF comprehensive experiment
自动化测试 PO设计模型
Idea integrates common functions of SVN code management
Idea 必备插件
11、照相机与透镜
[solution] the Microsoft edge browser has the problem of "unable to access this page"
2022/7/23
Installation steps and usage of NVM under windows10 system
Creation of unity Bezier curve
Drawing PDF tables (I) drawing excel table styles in PDF and downloading them through iText (supporting Chinese fonts)
Mysql database common commands