Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
saving variables as grid

Subject: saving variables as grid

From: Twilighter

Date: 12 Jun, 2011 08:56:04

Message: 1 of 2

i need to do something as follow

i have a matlab file that calculates the value of two variables according to different conditions

i need to stor those values as grid

like

condition value1 value2

Z1 X11 X21

Z2 X12 X22

Z3 X13 X23


so i can print them later

also another question

if i'm having 2 M-files which run separately but share some values .... like i need to use some output values from the first file in some equations in the second file

there is no function call, every file can run separately .... but i want to clear all variables at the beginning of the second file just keep ( store ) the ones i need. how to do that?

thank you

Subject: saving variables as grid

From: Twilighter

Date: 12 Jun, 2011 10:08:04

Message: 2 of 2

in my first question about the grid values

i say to print them or plot them just i need the whole values


thanx

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us