Matlab report generator, problem with gui
10 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Azzi Abdelmalek
il 20 Ago 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 Commenti
Più risposte (2)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!