Unable to resolve the name to workspace and to file?

7 Ansichten (letzte 30 Tage)
SimTec
SimTec am 1 Feb. 2021
Kommentiert: SimTec am 1 Feb. 2021
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 Kommentare
Andreas Kalampoukas
Andreas Kalampoukas am 1 Feb. 2021
Bearbeitet: Andreas Kalampoukas am 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 am 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by