Feeds
질문
Splitting into function files
clear clc fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%...
12년 초과 전 | 답변 수: 4 | 0
4
답변질문
display+string
clear clc fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%s'); da...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
strings, while loop help
clear; clc; fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%s'); data =...
12년 초과 전 | 답변 수: 2 | 0
2
답변질문
String and display help
clear all clc fid = fopen('hangman.txt', 'r'); if fid < 0, error('Cannot open file.'); end CC = textscan(fid, '%s'); C ...
12년 초과 전 | 답변 수: 2 | 1
2
답변질문
String help!?
fid = fopen('hangman.txt', 'r'); if fid < 0, error('Cannot open file.'); end CC = textscan(fid, '%s'); C = CC{1}; fclose(...
12년 초과 전 | 답변 수: 2 | 0
2
답변질문
String function
Trying to get the program to display if the letter is in the word. And word = any word fid = fopen('hangman.txt', 'r'); ...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
display help
I'm trying to create a program that plays a hangman game. So, how would I go about replacing the letters in the word with asteri...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
Hangman game help
Quick briefing. I'm trying to create a program that will simulate a hangman game. My professor already gave me a list of words ...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
Random function from a text file?
Basically, I have a text file with a bunch of words on it. I'm not sure how I can use MATLAB to randomly select one word.
12년 초과 전 | 답변 수: 2 | 0
2
답변질문
Index exceeds matrix dimensions
clear clc count_eight=0; clear clc count_eight=0; RandStream.setDefaultStream = (RandStream('mt19937ar...
12년 초과 전 | 답변 수: 3 | 0