フィルターのクリア

How to load .mat file into base workspace using app designer

7 ビュー (過去 30 日間)
eblee
eblee 2024 年 6 月 7 日
回答済み: Angelo Yeo 2024 年 6 月 7 日
I want to run my model in app desinger.
Therefore, all parameters from the .mat file are required to run the model.
How to load all parameters from mat file into base workspace?

回答 (1 件)

Angelo Yeo
Angelo Yeo 2024 年 6 月 7 日
According to your description, I believe you are working with a Simulation App with a Simulink model. Usually, it's not a good idea to import variables into base workspace when you are working with apps. It's better to load the mat file as an app parameter and hand over to Simulink model. Here, Simuink.SimulationInput can help you set your parameters for the simulation. For details, please refer to the following documentation.

カテゴリ

Help Center および File ExchangeDependency Analysis についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by