Unable to resolve the name to workspace and to file?

8 ビュー (過去 30 日間)
SimTec
SimTec 2021 年 2 月 1 日
コメント済み: SimTec 2021 年 2 月 1 日
I just wanted to run this example from MAtlab and read the data and plot them . but it is alawys shows me the error on matlab command Tha I cannot read it
  2 件のコメント
Andreas Kalampoukas
Andreas Kalampoukas 2021 年 2 月 1 日
編集済み: Andreas Kalampoukas 2021 年 2 月 1 日
Hello TarikTech,
i used this command openExample('simulink/OutputSimulationDataWithBlocksExample') through MATLAB command prompt to run the example. My search path is set automatically to ~\MATLAB\Examples\R2020b\simulink\OutputSimulationDataWithBlocksExample
Both MATLAB and Simulink plot the results.
So do a verification with the search path, maybe you need to set it manually.
SimTec
SimTec 2021 年 2 月 1 日
Hello Andreas, it worked when I brought the path to the simulink folder. However if I start a new simulink model and I include a new To Workspace, I never see the mat file and I cannot plot on matlab

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeNaming Conventions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by