ヘルプ センターヘルプ センター
MATLAB 変数の string 表現の作成
R2018b 以降
convValue = mlreportgen.utils.toString(varName)
例
convValue = mlreportgen.utils.toString(varName) は、MATLAB® 変数の値を string に変換します。
convValue
varName
すべて折りたたむ
num = 10; convValue = mlreportgen.utils.toString(num)
convValue = "10"
matrix = [1,7,10;3,1,6]; convValue = mlreportgen.utils.toString(matrix)
convValue = "[1 7 10 ; 3 1 6 ]"
値を string に変換する MATLAB 変数。
変換された MATLAB 変数の値。string スカラーとして返されます。
R2018b で導入
mlreportgen.utils.makeSingleLineText | mlreportgen.utils.normalizeString | mlreportgen.utils.capitalizeFirstChar
mlreportgen.utils.makeSingleLineText
mlreportgen.utils.normalizeString
mlreportgen.utils.capitalizeFirstChar
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office