Feeds
質問
Splitting into function files
clear clc fid = fopen('hangman.txt','r'); if fid < 0, error('Cannot open file'); end data = textscan(fid,'%...
13年以上 前 | 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...
13年以上 前 | 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 =...
13年以上 前 | 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 ...
13年以上 前 | 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(...
13年以上 前 | 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'); ...
13年以上 前 | 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...
13年以上 前 | 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 ...
13年以上 前 | 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.
13年以上 前 | 2 件の回答 | 0
2
回答質問
Index exceeds matrix dimensions
clear clc count_eight=0; clear clc count_eight=0; RandStream.setDefaultStream = (RandStream('mt19937ar...
13年以上 前 | 3 件の回答 | 0