Savig a workspace file..
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
FG
el 3 de Mzo. de 2020
Comentada: FG
el 3 de Mzo. de 2020
Hi all.. I have a multiple input scope data containing voltages, currents and powers saved in the workspace.
When I try to plot or save it ((Error using plot Not enough input arguments.)) and
((Error using save Must be a string scalar or character vector.)) warnings are shown.
How can I save the data and plot in as a figure ? Thanks..
4 comentarios
M
el 3 de Mzo. de 2020
I don't have any code..
What causes these error messages ?
How do you try to plot and save your data ?
Respuesta aceptada
Jesus Sanchez
el 3 de Mzo. de 2020
Without the code, we cannot do much. However, for the save I think that you are not wrting the variable name as a string. See Save, load and delete variables from workspace. As an example, if I want to save the variable result in a workspace named storedResult, the following code gives an error:
result = 1;
save('storedResult.mat',result); % ERROR!
The correct form is to write result in save as a string variable:
result = 1;
save('storedResult.mat','result'); % This works
Regarding your plot problem, I would check how to plot variables in matlab plot, or include a piece of your code so we can see what is failing
4 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Data Logging en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!