ヘルプ センターヘルプ センター
MATLAB® から C/C++ コードを生成する際、以下のデータ型を使用することができます。
型
説明
char
文字配列
complex
複素数データ。キャスト関数は実数部と虚数部を受け取ります。
double
倍精度浮動小数点
int8, int16, int32, int64
int8
int16
int32
int64
符号付き整数
logical
Boolean の true または false
true
false
single
単精度浮動小数点
struct
構造体
uint8, uint16, uint32, uint64
uint8
uint16
uint32
uint64
符号なしの整数
次の 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