Unable to resolve the name to workspace and to file?

10 views (last 30 days)
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 Comments
Andreas Kalampoukas
Andreas Kalampoukas on 1 Feb 2021
Edited: Andreas Kalampoukas on 1 Feb 2021
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 on 1 Feb 2021
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

Sign in to comment.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!