フィルターのクリア

How do I fix my MATLAB? It won't save my m file now for some reason.

3 ビュー (過去 30 日間)
JoshT_student
JoshT_student 2018 年 6 月 9 日
コメント済み: JoshT_student 2018 年 6 月 9 日
I am trying to save some code on my laptop. But when I try to save it, every time I put in the folder I want it doesn't save anything. So it never renames the m file. It leaves it as 'Untitled*'
My code is below:
%This is project 3.2 from "Numerical and ANalytical Methods with Matlab" %Date: 6-9-18 %Done by Joshua Tashbar
clear; clc;
%This makes a A matrix of zeroes 18 by 18 matrix;
A=zeros(18);
%This creates a zeroes column vector 18 rows by 1 column;
P=zeros(18,1);
%Note: all forces are in kN
%This is the reaction at F, where the truss is leaning against the wall.
Fx=((5*6)+(5*12)+(5*18)+(15*8)+(15*16))/12;
%This is the reaction at the pin support at point A in the x-direction
Ax=15-Fx;
%This is the reaction at the pin support at point A in the y-direction
Ay=30;
%This defines the angle theta in degrees
Please any help will be greatly appreciated. Thanks
  4 件のコメント
Image Analyst
Image Analyst 2018 年 6 月 9 日
Are you sure you didn't say "save copy as" instead of "save as"?
JoshT_student
JoshT_student 2018 年 6 月 9 日
Yeah. I'm sure; I think it wans't saving because I was naming the m file the same name as the folder it was supposed to go in. But now its saving which is good. Thanks for your help.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by