コンテンツへスキップ
MathWorks

自己学習形式のオンラインコース

  • Self-Paced Content
  • MathWorks
  • MATLAB ヘルプ センター
  • コミュニティ
  • 学習
  • MATLAB を入手する MATLAB
  • サインイン
    • マイ アカウント
    • コミュニティのプロファイル
    • ライセンスを関連付ける

    • サインアウト
  • MathWorks サポートまでお問い合わせください。
  • Visit mathworks.com
  • e ラーニング コース
MathWorks MathWorks

Web サイトの選択

Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:

  • (English)
  • (Deutsch)
  • (Français)
  • (简体中文)
  • (English)

また、以下のリストから Web サイトを選択することもできます。

最適なサイトパフォーマンスの取得方法

中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。

南北アメリカ

  • América Latina (Español)
  • Canada (English)
  • United States (English)

ヨーロッパ

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

アジア太平洋地域

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文
    • English
  • 日本 (日本語)
  • 한국 (한국어)

最寄りの営業オフィスへのお問い合わせ

image for course 関数の汎用化

関数の汎用化

明確なインターフェイス、入力の検証、分かりやすいドキュメンテーションを含む関数を設計し、使いやすさと全体的なユーザー エクスペリエンスを向上させます。

コース モジュール

Introduction

Get an overview of the course.

レッスン:
  • Course Overview

Store Function Inputs in the Form You Want

Use the arguments block to ensure function inputs are stored in the correct size and type.

レッスン:
  • Allow Flexibility Without Allowing Errors
  • Specify the Size and Type of Function Inputs
  • Summary

Validate Function Inputs

Use validation functions to ensure function inputs have the correct attributes.

レッスン:
  • Why Validate Inputs?
  • Add Input Validation
  • The Interaction Between Size, Type, and Validation Functions
  • Summary

Create Functions with Flexible Interfaces

Write functions that allow optional inputs and can behave differently according to the calling syntax used.

レッスン:
  • Optional Inputs and Default Values
  • Different Behaviors for Different Calling Syntaxes
  • Lists of Multiple Named Options
  • Summary

Conclusion and Next Steps

Learn next steps and give feedback on the course.

レッスン:
  • Additional Resources
  • Survey

形式: 自己学習形式

言語:日本語

言語

  • フィードバックを自動的に受けられる実践的な演習環境
  • Web ブラウザーから MATLAB にアクセス可能
  • 共有可能な進捗レポートとコース修了証

関数を記述する方法と理由

カスタム関数を記述してコードの柔軟性を高めます。

  • トラストセンター
  • 商標
  • プライバシー ポリシー
  • 違法コピー防止
  • アプリケーション ステータス
  • お問い合わせ

© 1994-2025 The MathWorks, Inc.