MATLAB script replaced by generated MATLAB code
Mostrar comentarios más antiguos
Hi all,
Recently I have been working on a MATLAB/Simiulink project and twice now have had my entire script wiped out and replaced by some generated MATLAB code that only contains a small fraction of the work I've done (and what is kept is formatted like it is in my workspace). This happens while I have Simulink open but am working in MATLAB. I am very confused and really don't want this to keep happening. I have pasted below what the generated script looks like. Please let me know if you have any advice! Thanks :)
% -------------------------------------------------------------------
% Generated by MATLAB on 12-Oct-2022 22:06:24
% MATLAB version: 9.11.0.1769968 (R2021b)
% -------------------------------------------------------------------
Ixx = 0.00022500000000000005;
Iyy = 0.00022500000000000005;
Izz = 2.5000000000000011E-5;
J = ...
[0.00022500000000000005 0 0;
0 0.00022500000000000005 0;
0 0 2.5000000000000011E-5];
RAAN = 10;
TA = 0;
ecc = 0.001;
h = 55759;
inc = 42;
l = 0.3;
m = 3;
w = 22;
wbE = [0.1; 0.1; 0.1];
1 comentario
Shree Charan
el 7 de Sept. de 2023
Hi John,
It may be useful to share more details on the generated files. It may also be usefule to share the formats (.m .mt etc) and the specific tools within MATLAB and Simulink you were using.
Respuestas (0)
Categorías
Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!