How to re-generate script from already built workspace

I am having some difficulty in finding my script for several differential equations solution. Please someone help me in how to regenerate MATLAB script from workspace because i have variable workspace. when i first loaded the script it was saved in workspace format and i can not retrieve the script again because of lack of experience

 채택된 답변

Matt J
Matt J 2024년 5월 30일
편집: Matt J 2024년 5월 30일
The script, if you saved it is a file somewhere on your computer. We have no way fo knowing where you put it. However, if you remember the name of the script you can execute,
which -all thefilename.m
from the command line and, as long as the file is on your Matlab path the output of the above will tell you its location.

댓글 수: 4

i couldn't save the scripts first but now i need thise scripts. i am a beginner so i thought maybe it can be retrieved again
No, if they weren't saved, there's nowhere to retrieve them from.
Thank you so much fro your response. now i will keep this in mind for other calculations
You're welcome, but please Accept-click the answer if the question is now answered.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

제품

릴리스

R2022a

질문:

2024년 5월 30일

댓글:

2024년 5월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by