統計
MATLAB Answers
1 質問
0 回答
ランク
of 171,639
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
How do I make an output variable from a sub-routine function a variable in the main function/script? I have a function that reads data from a .txt file (data for output variable) and I want that data in my main file. Is there something I'm missing?
function [ Output ] = readData(inputvariable= opened .txt file) data = fscanf( opened.txt, '%f', 4); return end
10年以上 前 | 1 件の回答 | 0