Using the analog input value from DSP in MATLAB Gui

1 回表示 (過去 30 日間)
Hatice OKUMUS
Hatice OKUMUS 2021 年 4 月 25 日
編集済み: Hatice OKUMUS 2021 年 4 月 25 日
Hello,
I have used set_param(model,'SimulationCommand','start') to run the simulink model from my gui (my model is in external mode).When I run this simulink model dsp starts working and then the analog input value is saved in workspace.I want use the value in the workspace (which I read from dsp analog input) in MATLAB Gui but ı have an error saying unefined value. The set_param(model,'SimulationCommand','start') works because it does the building in dsp but does not get the workspace values.Can I read the values synchronously? Do you have any suggestion?
Thank you in advance.

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with DSP System Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by