Set breakpoint is not working in Method function file.
Hi
I would like set break point at reduce function in PDEtoobox. How can I achieve that.
Below is minimum viable code.
How can I add break point reduce function?
Thanks for help!
clc
clear all
open reduce
modelT = createpde("structural","transient-solid");
gm = multicuboid(0.05,0.003,0.003);
modelT.Geometry = gm;
figure
pdegplot(modelT,"FaceLabels","on","FaceAlpha",0.5)
view([71 4])
structuralProperties(modelT,"YoungsModulus",210E9, …
"PoissonsRatio",0.3, …
"MassDensity",7800);
structuralBC(modelT,"Edge",[2 8 11 12],"Constraint","fixed");
loadedVertex = addVertex(gm,"Coordinates",[0.025 0.0 0.0015]);
generateMesh(modelT);
structuralBoundaryLoad(modelT,"Vertex",loadedVertex, …
"Force",[0;0;10],"Frequency",6000);
structuralIC(modelT,"Velocity",[0 0 0],"Displacement",[0 0 0]);
structuralSEInterface(modelT,"Edge",[2 8 11 12]);
structuralSEInterface(modelT,"Vertex",loadedVertex);
rom = reduce(modelT,"FrequencyRange",[-0.1,5e5]);Hi
I would like set break point at reduce function in PDEtoobox. How can I achieve that.
Below is minimum viable code.
How can I add break point reduce function?
Thanks for help!
clc
clear all
open reduce
modelT = createpde("structural","transient-solid");
gm = multicuboid(0.05,0.003,0.003);
modelT.Geometry = gm;
figure
pdegplot(modelT,"FaceLabels","on","FaceAlpha",0.5)
view([71 4])
structuralProperties(modelT,"YoungsModulus",210E9, …
"PoissonsRatio",0.3, …
"MassDensity",7800);
structuralBC(modelT,"Edge",[2 8 11 12],"Constraint","fixed");
loadedVertex = addVertex(gm,"Coordinates",[0.025 0.0 0.0015]);
generateMesh(modelT);
structuralBoundaryLoad(modelT,"Vertex",loadedVertex, …
"Force",[0;0;10],"Frequency",6000);
structuralIC(modelT,"Velocity",[0 0 0],"Displacement",[0 0 0]);
structuralSEInterface(modelT,"Edge",[2 8 11 12]);
structuralSEInterface(modelT,"Vertex",loadedVertex);
rom = reduce(modelT,"FrequencyRange",[-0.1,5e5]); Hi
I would like set break point at reduce function in PDEtoobox. How can I achieve that.
Below is minimum viable code.
How can I add break point reduce function?
Thanks for help!
clc
clear all
open reduce
modelT = createpde("structural","transient-solid");
gm = multicuboid(0.05,0.003,0.003);
modelT.Geometry = gm;
figure
pdegplot(modelT,"FaceLabels","on","FaceAlpha",0.5)
view([71 4])
structuralProperties(modelT,"YoungsModulus",210E9, …
"PoissonsRatio",0.3, …
"MassDensity",7800);
structuralBC(modelT,"Edge",[2 8 11 12],"Constraint","fixed");
loadedVertex = addVertex(gm,"Coordinates",[0.025 0.0 0.0015]);
generateMesh(modelT);
structuralBoundaryLoad(modelT,"Vertex",loadedVertex, …
"Force",[0;0;10],"Frequency",6000);
structuralIC(modelT,"Velocity",[0 0 0],"Displacement",[0 0 0]);
structuralSEInterface(modelT,"Edge",[2 8 11 12]);
structuralSEInterface(modelT,"Vertex",loadedVertex);
rom = reduce(modelT,"FrequencyRange",[-0.1,5e5]); pdetoolbox, method MATLAB Answers — New Questions