Unable to resolve the name to workspace and to file?

8 vues (au cours des 30 derniers jours)
SimTec
SimTec le 1 Fév 2021
Commenté : SimTec le 1 Fév 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 commentaires
Andreas Kalampoukas
Andreas Kalampoukas le 1 Fév 2021
Modifié(e) : Andreas Kalampoukas le 1 Fév 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 le 1 Fév 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

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by