SImulink won't save the Pd.mat file for me.

5 views (last 30 days)
DJ V
DJ V on 11 Oct 2024
Answered: Jaimin on 23 Dec 2024 at 8:50
Simulink won't save the Pd.mat file for me. I need to know how to get Pd.mat to save the data indicated in the attached file.

Answers (1)

Jaimin
Jaimin on 23 Dec 2024 at 8:50
When Simulink is not saving the Pd.mat file as expected, there could be several reasons for this issue. Here are some potential causes and solutions:
File Permissions:
  • Ensure that the client has the necessary write permissions for the directory where the “Pd.mat file is supposed to be saved. You can test this by trying to manually create a file in that directory.
Path Issues:
  • Check that the path specified for saving the “Pd.mat file is correct and accessible. Absolute paths are generally more reliable than relative paths.
Simulink Model Configuration:
  • Verify that the Simulink model is correctly configured to save the data to “Pd.mat. This includes checking the To File block settings or any MATLAB script that saves the data.
For more information kindly refer following MathWorks documentation.
I hope this will be helpful.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!