Matlab report generator, problem with gui
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hey together,
I have created a report with the report generator. Now i have a script where i run this report. everything works fine.
When i open this script via a button in my GUI, matlab wont find the variables.
i had saved the results in a .mat file and load the variables in the workspace in the script where the report is called.
I have tried to get the variables in the report from .mat file direct, instead of "from workspace" but nothing changed.
I dont know how i can fix it, and why the error comes?? can anybody help me? I hope you understand what i mean, thanks for helping!
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 20 de Ag. de 2012
%to get the variables don't use
load File
% instead use
data=load('File')
% if your FileName mat file contains for example the variables x y and z then you can get them from a structure variable File:
x=data.x
y=data.y
z=data.z
0 comentarios
Más respuestas (2)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!