Unable to resolve the name to workspace and to file?

조회 수: 10 (최근 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 CenterFile Exchange에서 Naming Conventions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by