How to delete a project?

27 ビュー (過去 30 日間)
Antonio Carlo Bertolino
Antonio Carlo Bertolino 2016 年 11 月 6 日
コメント済み: Vivith 2021 年 10 月 13 日
I created a project file from a model. Now i want to delete it. In particular if i want to create another project from another Simulink model i can't: The only option is to add that model to the first project i created. How can i delete this project and restore the option in the File tab of the Simulink Model "Create a new project from this model" ?
Thanks

回答 (3 件)

Tim Hosey
Tim Hosey 2017 年 5 月 23 日
編集済み: madhan ravi 2020 年 6 月 26 日
The Simulink Project creates a hidden folder called .SimulinkProject at the root of your project. This folder contains all of the project's definition files. Deleting this folder will remove all traces of the Simulink Project from disk.
You can run the following MATLAB commands to delete this folder:
>> cd ([path to project root folder])
>> rmdir('.SimulinkProject', 's')
  2 件のコメント
Poojitha Ariyathilaka
Poojitha Ariyathilaka 2020 年 6 月 26 日
Example: If you want to Change Directory to 'C:\Users\Poojitha\Documents\MATLAB' and then delete .SimulinkProject folder;
%no any parentheses or brackets needed - R2018a
cd 'C:\Users\Poojitha\Documents' %#1
rmdir('.SimulinkProject','s') %#2
%#1 and #2 are 2 seperate commands on MATLAB command window
Steve Moon
Steve Moon 2021 年 6 月 30 日
It says the corresponding path is not a directory. .SimulinkProject is unfindable

サインインしてコメントする。


Larry Fostano
Larry Fostano 2021 年 2 月 6 日
I have no clue or idea what the devil simulink is, all I reall want to do is delete a project.Why is so hard to understand, shouldn't it be just as simple as file / delete project?

Jan
Jan 2016 年 11 月 6 日
My first idea is to ask the an internet search engine. Then I find e.g.
There is a context menu, which offers a "delete" command. Does it, what you need?
  1 件のコメント
Jan
Jan 2018 年 3 月 5 日
編集済み: Jan 2018 年 3 月 5 日
Come on, TS. Then I have misunderstood the sentence
In Simulink® Project, in the Files view, use the context menus to
perform actions on the files that you are viewing. Right-click a
file (or selected multiple files) to perform project options such
as:
Add and remove files from the project.
It is possible that I misunderstand a question or a part of the documentation. But it is off-track, if you call it "rude" that I have mentioned, that I asked an internet search engine. Too many users forget to do this by their own. This is definitely not a "RTFM!". Be so kind to remove your flag.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeProject Management についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by