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:
to workspace block: doesn't save data

Subject: to workspace block: doesn't save data

From: pietro

Date: 5 Dec, 2013 13:10:25

Message: 1 of 5

Hi all,

I have a simulink model and I use a to workspace blocks to save data to the workspace. Unfortunately for some reason data aren't stored to the workspace. It works fine for any other model, but not for a specific one. What should I check in order to understand the issue?

Thanks

Regards

Pietro

Subject: to workspace block: doesn't save data

From: pietro

Date: 10 Dec, 2013 13:04:10

Message: 2 of 5

"pietro " <bracardi82@email.it> wrote in message <l7pu01$4p2$1@newscl01ah.mathworks.com>...
> Hi all,
>
> I have a simulink model and I use a to workspace blocks to save data to the workspace. Unfortunately for some reason data aren't stored to the workspace. It works fine for any other model, but not for a specific one. What should I check in order to understand the issue?
>
> Thanks
>
> Regards
>
> Pietro

Up!

The simulink model is simulated inside a function, but before the simulation, I typed:

 options = simset('SrcWorkspace','current');

I use this command line because the model is parametrized with some variables inside the calling function workspace.

Any help is appreciated.

Cheers

Pietro

Subject: to workspace block: doesn't save data

From: pietro

Date: 17 Dec, 2013 08:43:18

Message: 3 of 5

"pietro " <bracardi82@email.it> wrote in message <l873ga$o2m$1@newscl01ah.mathworks.com>...
> "pietro " <bracardi82@email.it> wrote in message <l7pu01$4p2$1@newscl01ah.mathworks.com>...
> > Hi all,
> >
> > I have a simulink model and I use a to workspace blocks to save data to the workspace. Unfortunately for some reason data aren't stored to the workspace. It works fine for any other model, but not for a specific one. What should I check in order to understand the issue?
> >
> > Thanks
> >
> > Regards
> >
> > Pietro
>
> Up!
>
> The simulink model is simulated inside a function, but before the simulation, I typed:
>
> options = simset('SrcWorkspace','current');
>
> I use this command line because the model is parametrized with some variables inside the calling function workspace.
>
> Any help is appreciated.
>
> Cheers
>
> Pietro

up!

Subject: to workspace block: doesn't save data

From: Steven Lord

Date: 17 Dec, 2013 16:59:37

Message: 4 of 5


"pietro " <bracardi82@email.it> wrote in message
news:l8p2r6$joi$1@newscl01ah.mathworks.com...
> "pietro " <bracardi82@email.it> wrote in message
> <l873ga$o2m$1@newscl01ah.mathworks.com>...
>> "pietro " <bracardi82@email.it> wrote in message
>> <l7pu01$4p2$1@newscl01ah.mathworks.com>...
>> > Hi all, I have a simulink model and I use a to workspace blocks to save
>> > data to the workspace. Unfortunately for some reason data aren't stored
>> > to the workspace. It works fine for any other model, but not for a
>> > specific one. What should I check in order to understand the issue?
>> > Thanks
>> >
>> > Regards
>> >
>> > Pietro
>>
>> Up! The simulink model is simulated inside a function, but before the
>> simulation, I typed: options = simset('SrcWorkspace','current');
>>
>> I use this command line because the model is parametrized with some
>> variables inside the calling function workspace.
>>
>> Any help is appreciated.
>>
>> Cheers
>>
>> Pietro
>
> up!

I don't know if it would be possible to answer this question without more
information, and debugging why this happens for your specific model is
probably going to be difficult (at best) on the newsgroup. You should send
this question to Technical Support.

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: to workspace block: doesn't save data

From: pietro

Date: 22 Dec, 2013 17:28:18

Message: 5 of 5

"Steven Lord" <Steven_Lord@mathworks.com> wrote in message <l8pvtq$l2m$1@newscl01ah.mathworks.com>...
>
> "pietro " <bracardi82@email.it> wrote in message
> news:l8p2r6$joi$1@newscl01ah.mathworks.com...
> > "pietro " <bracardi82@email.it> wrote in message
> > <l873ga$o2m$1@newscl01ah.mathworks.com>...
> >> "pietro " <bracardi82@email.it> wrote in message
> >> <l7pu01$4p2$1@newscl01ah.mathworks.com>...
> >> > Hi all, I have a simulink model and I use a to workspace blocks to save
> >> > data to the workspace. Unfortunately for some reason data aren't stored
> >> > to the workspace. It works fine for any other model, but not for a
> >> > specific one. What should I check in order to understand the issue?
> >> > Thanks
> >> >
> >> > Regards
> >> >
> >> > Pietro
> >>
> >> Up! The simulink model is simulated inside a function, but before the
> >> simulation, I typed: options = simset('SrcWorkspace','current');
> >>
> >> I use this command line because the model is parametrized with some
> >> variables inside the calling function workspace.
> >>
> >> Any help is appreciated.
> >>
> >> Cheers
> >>
> >> Pietro
> >
> > up!
>
> I don't know if it would be possible to answer this question without more
> information, and debugging why this happens for your specific model is
> probably going to be difficult (at best) on the newsgroup. You should send
> this question to Technical Support.
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Thanks Steve,

I'll do it!

cheers

Pietro

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